Servus , ich hab nen Rasp 3B+ mit aktuellem Homebridge Image.
Ich wollt nun den VNC Server installieren und bekomme einige Fehlermeldungen.
Ich muss dazu sagen, um meine laufenden Server nicht zu zerstören. Hab ich nen neuen USB Stick genommen und das Homebridge Image installiert. Der Fehler ist auf beiden der selbe.
Vielleicht habt ihr ja ne Idee zur Lösung des Problems.
sudo hb-config
Unit vncserver-x11-serviced.service could not be found.
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 https://repo.homebridge.io stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
109 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.31-13+rpt2+rpi1+deb11u5) but 2.31-13+rpt2+rpi1+deb11u2 is to be installed
libc6-dev : Depends: libc6 (= 2.31-13+rpt2+rpi1+deb11u5) but 2.31-13+rpt2+rpi1+deb11u2 is to be installed
raspberrypi-ui-mods : Depends: dconf-gsettings-backend but it is not going to be installed or
gsettings-backend
Depends: lxpanel but it is not going to be installed
Depends: pcmanfm but it is not going to be installed
Depends: openbox but it is not going to be installed
Depends: xserver-xorg but it is not going to be installed
Depends: x11-xserver-utils but it is not going to be installed
Depends: lightdm but it is not going to be installed
Depends: zenity but it is not going to be installed
Depends: desktop-file-utils but it is not going to be installed
Depends: lxsession but it is not going to be installed
Depends: mutter but it is not going to be installed
Depends: xdg-user-dirs but it is not going to be installed
Recommends: xserver-xorg-video-fbturbo but it is not going to be installed
Recommends: fonts-piboto (>= 1.1) but it is not going to be installed
Recommends: pipanel but it is not going to be installed
Recommends: lxinput but it is not going to be installed
Recommends: pi-greeter but it is not going to be installed
Recommends: rpd-plym-splash but it is not going to be installed
Recommends: rpd-wallpaper but it is not going to be installed
Recommends: pishutdown but it is not going to be installed
Recommends: scrot but it is not going to be installed
Recommends: gtk2-engines-pixbuf but it is not going to be installed
Recommends: gtk2-engines-clearlookspix but it is not going to be installed
Recommends: gnome-icon-theme but it is not going to be installed
Recommends: pixflat-icons but it is not going to be installed
Recommends: lxplug-volumepulse but it is not going to be installed
Recommends: lxplug-network but it is not going to be installed
Recommends: lxplug-bluetooth but it is not going to be installed
Recommends: lxplug-ejecter but it is not going to be installed
Recommends: lxplug-ptbatt but it is not going to be installed
Recommends: rc-gui (>= 1.18) but it is not going to be installed
Recommends: gtk2-engines-pixflat but it is not going to be installed
Recommends: lxplug-cputemp but it is not going to be installed
Recommends: lxplug-magnifier but it is not going to be installed
Recommends: rp-bookshelf but it is not going to be installed
Recommends: agnostics but it is not going to be installed
Recommends: gui-pkinst but it is not going to be installed
Recommends: cups but it is not going to be installed
Recommends: system-config-printer but it is not going to be installed
Recommends: pi-printer-support but it is not going to be installed
Recommends: lxplug-updater but it is not going to be installed
Recommends: lxplug-netman but it is not going to be installed
Recommends: lxplug-menu but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 https://repo.homebridge.io stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
109 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc6-dbg : Depends: libc6 (= 2.31-13+rpt2+rpi1+deb11u5) but 2.31-13+rpt2+rpi1+deb11u2 is to be installed
libc6-dev : Depends: libc6 (= 2.31-13+rpt2+rpi1+deb11u5) but 2.31-13+rpt2+rpi1+deb11u2 is to be installed
realvnc-vnc-server : Depends: libice6 (>= 1:1.0.0) but it is not going to be installed
Depends: libsm6 but it is not going to be installed
Depends: libxtst6 but it is not going to be installed
Recommends: cups but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Downloading hb-config update...
https://raw.githubusercontent.…/hb-config-new?2022-10-26
############################################################################################################################################################################ 100.0%
pi@homebridge:/var/lib/homebridge $
apt --fix-broken install bringt folgendes
pi@homebridge:~ $ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libc6
Suggested packages:
glibc-doc
Recommended packages:
libnss-nis libnss-nisplus
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
5 not fully installed or removed.
Need to get 0 B/2,297 kB of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 71779 files and directories currently installed.)
Preparing to unpack .../libc6_2.31-13+rpt2+rpi1+deb11u5_armhf.deb ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/libc6_2.31-13+rpt2+rpi1+deb11u5_armhf.deb (--unpack):
new libc6:armhf package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.31-13+rpt2+rpi1+deb11u5_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@homebridge:~ $