Package: base-files
Version: 13.3
Severity: important

while upgrading the system after a rather long time, this happened:

# apt dist-upgrade
...
Unpacking base-files (13.3) over (13) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-fU8xAF/12-base-files_13.3_amd64.deb (--unpack):
 trying to overwrite '/lib64', which is also in package libc6:amd64 2.37-12
Errors were encountered while processing:
 /tmp/apt-dpkg-install-fU8xAF/12-base-files_13.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

notably, it didn't try to unpack libc6 first. when i tried that
manually, i got this:

# dpkg -i base-files_13.3_amd64.deb libc6_2.39-4_*
(Reading database ... 362942 files and directories currently installed.)
Preparing to unpack base-files_13.3_amd64.deb ...
Unpacking base-files (13.3) over (13) ...
dpkg: error processing archive base-files_13.3_amd64.deb (--install):
 trying to overwrite '/lib64', which is also in package libc6:amd64 2.37-12
dpkg: regarding libc6_2.39-4_amd64.deb containing libc6:amd64:
 libc6:amd64 breaks base-files (<< 13.3~)
  base-files (version 13) is present and installed.

dpkg: error processing archive libc6_2.39-4_amd64.deb (--install):
 installing libc6:amd64 would break base-files, and
 deconfiguration is not permitted (--auto-deconfigure might help)
dpkg: regarding libc6_2.39-4_i386.deb containing libc6:i386:
 libc6:i386 breaks base-files (<< 13.3~)
  base-files (version 13) is present and installed.

with the suggested switch, a few more packages, and a temporarily
inoperable system (due to missing /lib64), i got out of it, but
this obviously isn't the way to go.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Reply via email to