Wie ich den Ubuntu APT-Upgrade-Fehler behoben habe: The base-files package cannot be installed because /lib32 is a dangling symbolic link.
Problem
Auf einer meiner Ubuntu-VMs, beim Upgrade von Ubuntu 24.04 auf 26.04, trat während des Upgrades der folgende Fehler auf:
apt-upgrade-error.txt
******************************************************************************
*
* The base-files package cannot be installed because
* /lib32 is a dangling symbolic link.
*
* This is an unexpected situation. Cannot proceed with the upgrade.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************Das Upgrade verlief danach nicht ordnungsgemäß weiter
Lösung
Dies war einfach zu beheben mit
remove-lib32-symlink.sh
sudo rm /lib32was den /lib32-Symlink entfernt. Fahren Sie dann mit dem Upgrade fort:
apt-dist-upgrade.sh
sudo apt dist-upgrade -yCheck out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow