Bug#58226: locales 2.1.3-2 conflict with libc6
Package: locales
Version 2.1.3-2
Severity: important
System: Debian 2.2 frozen
Kernel version: 2.2.13
Had a number of unrelated problems doing a frozen (previously unstable)
upgrade. Resorted to `apt-get update; apt-get -f dist-upgrade' to try
to handle them. But with locales (first thing to install) I got:
-------------------------------------------------------------------------
Preparing to replace locales 2.1.2-8 (using .../locales_2.1.3-2_i386.deb)
...
Unpacking replacement locales ...
dpkg: error processing /var/cache/apt/archives/locales_2.1.3-2_i386.deb
(--unpack):
trying to overwrite `/usr/share/man/man1/localedef.1.gz', which is also
in package libc6
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: regarding .../libc6_2.1.3-2_i386.deb containing libc6:
libc6 conflicts with locales (<< 2.1.2-12)
locales (version 2.1.2-8) is installed.
dpkg: error processing /var/cache/apt/archives/libc6_2.1.3-2_i386.deb
(--unpack):
conflicting packages - not installing libc6
Errors were encountered while processing:
/var/cache/apt/archives/locales_2.1.3-2_i386.deb
/var/cache/apt/archives/libc6_2.1.3-2_i386.deb
E: Sub-process returned an error code (1)
-------------------------------------------------------------------------
so no locales and no libc6. I had to do this by hand:
# dpkg -i --force-overwrite /var/cache/apt/archives/locales_2.1.3-2_i386.deb
to solve the problem and get locales and libc6 installed (whew!).
(How can the apt-get installation process be told to automatically deal
with such a problem so the upgrade doesn't die?)
Clemmitt Sigler
Reply to: