[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531556: etch->lenny: conflicting libarchive-tar-perl was not automatically removed



Package: upgrade-reports
Severity: critical
Justification: breaks the whole system


Hi,

when I upgraded one of my Etch machines to Lenny, the new Perl 5.10 could not
be installed because it conflicted with libarchive-tar-perl (version
1.38-3~etch1) which I had installed. As a consequence, all sorts of package
managing scripts (debsums etc.pp.) broke, and nothing moved. I was able to
manuall delete the offending package using dpkg, and get things going again,
but I don't know if that's within reach of the end user because, at that point,
the system was mostly non-functional because about half of all my packages were
not correctly installed.

I pretty much adhered to the release notes about upgrading from Etch to
Lenny, and used Lenny's aptitude to do most of the job. I also recorded
the upgrade process using 'script'. Here's an excerpt from that
recording:

Unpacking replacement perl ...
dpkg: error processing /srv/apt/archives/perl_5.10.0-19_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/ptardiff', which is also in package libarchive-tar-perl
dpkg-deb: subprocess paste killed by signal (Broken pipe)

After I figured out that simply overwriting the file using --force
didn't seem to do the trick, I removed the package manually:

# dpkg --purge --force-depends libarchive-tar-perl
dpkg: libarchive-tar-perl: dependency problems, but removing anyway as you request:
 spamassassin depends on libarchive-tar-perl; however:
  Package libarchive-tar-perl is to be removed.
  Package perl-modules which provides libarchive-tar-perl is not configured yet.
(Reading database ... 238308 files and directories currently installed.)
Removing libarchive-tar-perl ...

After that, things were back in working order, as far as Perl was concerned.


Kind regards,
--Toni++


-- System Information:
Debian Release: 5.0.1
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: