apt update scheitert an busybox

Sep 9, 2021
43
1
13
54
Hallo,

ich kann keine Updates mehr installieren

root@hostname:~# apt update Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://ftp.debian.org/debian bullseye InRelease Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 38 packages can be upgraded. Run 'apt list --upgradable' to see them. root@fzimue-lsrv6:~# apt upgrade 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: busybox : Depends: libc6 (>= 2.34) but 2.31-13+deb11u5 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Wenn ich nun das vorgeschlagene apt --fix-broken install probiere:
root@hostname:~# 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: busybox-static The following packages will be REMOVED: busybox proxmox-ve pve-kernel-5.13 pve-kernel-5.13.19-2-pve pve-kernel-5.13.19-6-pve pve-kernel-5.15 pve-kernel-5.15.74-1-pve pve-kernel-5.15.83-1-pve The following NEW packages will be installed: busybox-static 0 upgraded, 1 newly installed, 8 to remove and 37 not upgraded. 2 not fully installed or removed. Need to get 920 kB of archives. After this operation, 1,530 MB disk space will be freed. Do you want to continue? [Y/n]
Will er mit proxmox deinstallieren - das ist dann doch ein bisserl viel des Guten :)

Eine Idee, wie ich das Problem lösen und den Server updaten kann?

Danke!
 
Last edited:
Hallo,

versuch mal apt full-upgrade. Vielleicht loesst sich damit schon das Problem.
 
Hallo,

leider nein :(

apt full-upgrade 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: busybox : Depends: libc6 (>= 2.34) but 2.31-13+deb11u5 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
Kannst du vielleicht den output von apt show busybox zeigen?

Ich glaube apt will eine etwas zu neue Version von busybox installieren.
 
Hallo Markus,

bittesehr:
apt show busybox -a Package: busybox Version: 1:1.35.0-4+b1 Status: install ok unpacked Priority: optional Section: utils Source: busybox (1:1.35.0-4) Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Config-Version: 1:1.30.1-6+b3 Installed-Size: 837 kB Depends: libc6 (>= 2.34) Conflicts: busybox-static Replaces: busybox-static Homepage: http://www.busybox.net Download-Size: unknown APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status Description: Tiny utilities for small and embedded systems BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for the most common utilities you would usually find on your desktop system (i.e., ls, cp, mv, mount, tar, etc.). The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. . This package installs the BusyBox binary but does not install symlinks for any of the supported utilities. Some of the utilities can be used in the system by installing the busybox-syslogd, busybox-udhcpc or busybox-udhcpd packages. Package: busybox Version: 1:1.30.1-6+b3 Priority: optional Section: utils Source: busybox (1:1.30.1-6) Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Installed-Size: 796 kB Depends: libc6 (>= 2.28) Conflicts: busybox-static Breaks: initramfs-tools (<< 0.99) Replaces: busybox-static Homepage: http://www.busybox.net Tag: admin::filesystem, admin::recovery, interface::commandline, interface::shell, role::program, scope::utility, works-with::archive, works-with::file, works-with::text Download-Size: 435 kB APT-Sources: http://ftp.debian.org/debian bullseye/main amd64 Packages Description: Tiny utilities for small and embedded systems BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for the most common utilities you would usually find on your desktop system (i.e., ls, cp, mv, mount, tar, etc.). The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. . This package installs the BusyBox binary but does not install symlinks for any of the supported utilities. Some of the utilities can be used in the system by installing the busybox-syslogd, busybox-udhcpc or busybox-udhcpd packages.
 
Und in Zukunft bitte kein apt upgrade mehr benutzen. Das prüft keine Abhängigkeiten und dann läufst du in genau solche Probleme wie jetzt. Man sollte mit PVE immer nur apt dist-upgrade oder apt full-upgrade nutzen.
 
APT-Manual-Installed: yes APT-Sources: /var/lib/dpkg/status
Die Version 1:1.35.0-4+b1 wurde anscheinend manuell installiert.

Du kannst mit apt-cache rdepends busybox checken welche Programme busybox brauchen und schauen welche Programme diese Version brauchen.
 
Die Version 1:1.35.0-4+b1 wurde anscheinend manuell installiert.
Mir wurde da eine Sicherheitslücke gemeldet, deshalb hatte ich mal probiert. Die Installation schlug aber fehl.
Das hat jetzt wohl einige Zeit später das Problem verursacht? :/

Wie kann ich das reparieren?

apt-cache rdepends busybox busybox Reverse Depends: initramfs-tools-core pve-kernel-5.4.73-1-pve busybox-static pve-kernel-5.4.124-1-pve busybox-static pve-kernel-5.4.119-1-pve busybox-static pve-kernel-5.4.114-1-pve busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static zfs-initramfs busybox-static pve-kernel-6.1.6-1-pve busybox-static pve-kernel-6.1.2-1-pve busybox-static pve-kernel-6.1.10-1-pve busybox-static pve-kernel-6.1.0-1-pve busybox-static pve-kernel-5.19.7-2-pve busybox-static pve-kernel-5.19.7-1-pve busybox-static pve-kernel-5.19.17-2-pve busybox-static pve-kernel-5.19.17-1-pve busybox-static pve-kernel-5.15.85-1-pve busybox-static pve-kernel-5.15.83-1-pve busybox-static pve-kernel-5.15.74-1-pve busybox-static pve-kernel-5.15.7-1-pve busybox-static pve-kernel-5.15.64-1-pve busybox-static pve-kernel-5.15.60-2-pve busybox-static pve-kernel-5.15.60-1-pve busybox-static pve-kernel-5.15.53-1-pve busybox-static pve-kernel-5.15.5-1-pve busybox-static pve-kernel-5.15.39-4-pve busybox-static pve-kernel-5.15.39-3-pve busybox-static pve-kernel-5.15.39-2-pve busybox-static pve-kernel-5.15.39-1-pve busybox-static pve-kernel-5.15.35-3-pve busybox-static pve-kernel-5.15.35-2-pve busybox-static pve-kernel-5.15.35-2-pve busybox-static pve-kernel-5.15.35-1-pve busybox-static pve-kernel-5.15.35-1-pve busybox-static pve-kernel-5.15.35-1-pve busybox-static pve-kernel-5.15.30-2-pve busybox-static pve-kernel-5.15.30-1-pve busybox-static pve-kernel-5.15.27-1-pve busybox-static pve-kernel-5.15.19-2-pve busybox-static pve-kernel-5.15.19-2-pve busybox-static pve-kernel-5.15.19-1-pve busybox-static pve-kernel-5.15.17-1-pve busybox-static pve-kernel-5.15.12-1-pve busybox-static pve-kernel-5.15.12-1-pve busybox-static pve-kernel-5.13.19-6-pve busybox-static pve-kernel-5.13.19-6-pve busybox-static pve-kernel-5.13.19-5-pve busybox-static pve-kernel-5.13.19-5-pve busybox-static pve-kernel-5.13.19-5-pve busybox-static pve-kernel-5.13.19-5-pve busybox-static pve-kernel-5.13.19-4-pve busybox-static pve-kernel-5.13.19-4-pve busybox-static pve-kernel-5.13.19-3-pve busybox-static pve-kernel-5.13.19-3-pve busybox-static pve-kernel-5.13.19-2-pve busybox-static pve-kernel-5.13.19-1-pve busybox-static pve-kernel-5.13.19-1-pve busybox-static pve-kernel-5.13.19-1-pve busybox-static pve-kernel-5.13.18-1-pve busybox-static pve-kernel-5.13.14-1-pve busybox-static pve-kernel-5.11.7-1-pve busybox-static pve-kernel-5.11.22-7-pve busybox-static pve-kernel-5.11.22-6-pve busybox-static pve-kernel-5.11.22-5-pve busybox-static pve-kernel-5.11.22-4-pve busybox-static pve-kernel-5.11.22-4-pve busybox-static pve-kernel-5.11.22-3-pve busybox-static pve-kernel-5.11.22-3-pve busybox-static pve-kernel-5.11.22-3-pve busybox-static pve-kernel-5.11.22-2-pve busybox-static pve-kernel-5.11.22-2-pve busybox-static pve-kernel-5.11.22-1-pve busybox-static pve-kernel-5.11.22-1-pve busybox-static pve-kernel-5.11.21-1-pve busybox-static pve-kernel-5.11.17-1-pve busybox-static pve-kernel-5.11.12-1-pve busybox-static pve-kernel-5.11.0-1-pve busybox-static pve-kernel-5.10.6-1-pve busybox-static zfs-initramfs busybox-static |open-infrastructure-system-boot busybox-static |ltsp busybox-static |live-boot-initramfs-tools busybox-static |kdump-tools busybox-static |initramfs-tools-core libc6 |fakemachine busybox-static |busybox-syslogd |dropbear-initramfs busybox-static |debos busybox-static |cryptsetup-initramfs busybox-static |udhcpd |udhcpc auto-apt-proxy busybox-static busybox-static busybox-static busybox-static |bootcd busybox-static
 
Dann versuch mal das Programm zu entfernen apt-get remove busybox=1:1.35.0-4+b1
und dann apt dist-upgrade
 
Leider klappt auch das nicht :(

apt-get remove busybox=1:1.35.0-4+b1 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: pve-kernel-5.13.19-2-pve : Depends: busybox pve-kernel-5.13.19-6-pve : Depends: busybox pve-kernel-5.15.74-1-pve : Depends: busybox pve-kernel-5.15.83-1-pve : Depends: busybox pve-kernel-5.4.124-1-pve : Depends: busybox pve-kernel-5.4.73-1-pve : Depends: busybox zfs-initramfs : Depends: busybox-initramfs but it is not installable or busybox-static but it is not going to be installed or busybox E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
Achso, vielleicht klappt ja downgraden apt install busybox=1:1.30.1-6+b3
 
  • Like
Reactions: Troubadix

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!