Bug#153920: Bug upgrading from 2.2r6 to 3.0 with data-dumper installed
On Mon, 22 Jul 2002, John T. Larkin wrote:
> Package: dpkg
> Version: 1.6.15
>
> I'm upgrading from Debian 2.2r6 to 3.0. I have the following packages
> installed: perl-5.005-base, version 5.005.03-7.1; and perl-5.005,
> version 5.005.03-7.1.
>
> When I try to upgrade to the latest version of perl included with 3.0,
> the following error message is printed by dpkg:
> --------------
> dpkg: considering removing perl-5.005-base in favour of perl-base ...
> dpkg: yes, will remove perl-5.005-base in favour of perl-base.
> dpkg: regarding .../perl-base_5.6.1-7_i386.deb containing perl-base:
> perl-base conflicts with data-dumper
> perl-5.005 provides data-dumper and is installed.
> dpkg: error processing debian/pool/main/p/perl/perl-base_5.6.1-7_i386.deb (--install):
> conflicting packages - not installing perl-base
> Errors were encountered while processing:
> debian/pool/main/p/perl/perl-base_5.6.1-7_i386.deb
> DPKG ERROR
> --------------
>
> dpkg then gets in an infinite loop (at least several hours anyway...)
> repeating the same message over and over again.
>
> I would think dpkg would either be able to detect the problem and quit
> (at worst), detect the problem and then continue (OK), or figure out
> that perl-5.005 also needs to be uninstalled and will be replaced
> later in the install process (at best).
>
> I have not yet been able to find a way around the problem. I think
> forcing the removal of perl-5.005 will solve the problem in the short
> term.
>
> Please contact me for any questions not answered here.
You are using an old version of dpkg. There is no way to fix this older
version. So, try with a newer dpkg version.
Also, it is the fault of the packages in question if dpkg can't upgrade them.
The infinite loop is a dpkg bug, that might be fixed in more recent versions.
Reply to: