24
« Last post by brom on 2024/09/16, 20:35:37 »
Hi people,
I'm a long (and till today quiet) siduction user and everything worked like a charm till today - but now I've got a situation I'm not able to solve:
Trying a apt dist-upgrade fails with the following message:
root@tightan-siduction:/# apt dist-upgrade
...
Summary:
Upgrading: 902, Installing: 104, Removing: 2, Not Upgrading: 0
Download size: 0 B / 1.693 MB
Space needed: 1.421 MB / 34,4 GB available
Continue? [J/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
(Lese Datenbank ... 296598 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../base-files_13.5_amd64.deb ...
******************************************************************************
*
* The base-files package cannot be installed because
* /bin is a symbolic link and not pointing at usr/bin exactly.
*
* This is an unexpected situation. Cannot proceed with the upgrade.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/base-files_13.5_amd64.deb (--unpack):
»neues pre-installation-Skript des Paketes base-files«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/base-files_13.5_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
But after reading the linked wiki and looking at the filesystem, see:
root@tightan-siduction:/# ls -lah /
insgesamt 76K
drwxr-xr-x 19 root root 4,0K 9. Sep 21:43 .
drwxr-xr-x 19 root root 4,0K 9. Sep 21:43 ..
-rw-r--r-- 1 root root 0 5. Jun 2021 .autorelabel
lrwxrwxrwx 1 root root 8 5. Jun 2021 bin -> /usr/bin
drwxr-xr-x 4 root root 4,0K 14. Aug 06:51 boot
drwxr-xr-x 19 root root 4,4K 16. Sep 17:53 dev
drwxr-xr-x 10 root root 4,0K 5. Jun 2021 disks
drwxr-xr-x 168 root root 12K 16. Sep 17:53 etc
drwxr-xr-x 4 root root 4,0K 17. Aug 2021 home
lrwxrwxrwx 1 root root 40 14. Aug 06:51 initrd.img -> boot/initrd.img-6.10.4-1-siduction-amd64
lrwxrwxrwx 1 root root 40 14. Aug 06:51 initrd.img.old -> boot/initrd.img-6.10.2-1-siduction-amd64
lrwxrwxrwx 1 root root 8 5. Jun 2021 lib -> /usr/lib
lrwxrwxrwx 1 root root 10 5. Jun 2021 lib64 -> /usr/lib64
drwx------ 2 root root 16K 5. Jun 2021 lost+found
drwxr-xr-x 15 root root 4,0K 9. Sep 20:59 media
drwxr-xr-x 2 root root 4,0K 14. Feb 2021 mnt
drwxr-xr-x 4 root root 4,0K 27. Feb 2023 opt
dr-xr-xr-x 505 root root 0 16. Sep 19:53 proc
drwx------ 10 root root 4,0K 16. Sep 19:54 root
drwxr-xr-x 37 root root 1,1K 16. Sep 19:55 run
lrwxrwxrwx 1 root root 9 5. Jun 2021 sbin -> /usr/sbin
drwxr-xr-x 2 root root 4,0K 14. Feb 2021 srv
dr-xr-xr-x 12 root root 0 16. Sep 20:13 sys
drwxrwxrwt 19 root root 480 16. Sep 20:26 tmp
drwxr-xr-x 12 root root 4,0K 3. Sep 2023 usr
drwxr-xr-x 11 root root 4,0K 28. Nov 2023 var
lrwxrwxrwx 1 root root 37 14. Aug 06:51 vmlinuz -> boot/vmlinuz-6.10.4-1-siduction-amd64
lrwxrwxrwx 1 root root 37 14. Aug 06:51 vmlinuz.old -> boot/vmlinuz-6.10.2-1-siduction-amd64
I don't really understand what apt is trying to tell me - any help is highly appreciated! I can happily provide further details if requested and can also answer in German, if that's preferred...
Thanks in advance
Brom