On 2009-11-11 22:46 +0100, Eugene V. Lyubimkin wrote: > Package: dpkg > Version: 1.15.4 > Severity: grave > Justification: causes non-serious data loss > > Hello. > > I had next packages installed on my system: perl-base, perl, > perl-modules, perl-doc (all from current unstable, 5.10.1-7). > > -8<- > sudo dpkg -i --force-depends --force-conflicts perl_5.10.1-8_amd64.deb > perl-doc_5.10.1-8_all.deb perl-modules_5.10.1-8_all.deb > perl-base_5.10.1-8_amd64.deb > [sudo] password for jackyf: > dpkg: considering removing perl-modules in favour of perl ...
This is because your perl 5.10.1-8 package both Replaces and Conflicts with the installed version of perl-modules. In such a case, dpkg removes the offending package, assuming that the to-be-installed conflicting one supersedes it (because of the Replaces). Note that dpkg processes packages in the order given on the command line, so the old version of perl-modules will be removed before unpacking perl. However, the new version should be installed later... > dpkg: yes, will remove perl-modules in favour of perl. > (Reading database ... 140092 files and directories currently installed.) > Preparing to replace perl 5.10.1-7 (using perl_5.10.1-8_amd64.deb) ... > Unpacking replacement perl ... > Preparing to replace perl-doc 5.10.1-7 (using perl-doc_5.10.1-8_all.deb) ... > Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc' > Unpacking replacement perl-doc ... > Unpacking perl-modules (from perl-modules_5.10.1-8_all.deb) ... ... and here it gets unpacked. > Preparing to replace perl-base 5.10.1-7 (using perl-base_5.10.1-8_amd64.deb) > ... > Unpacking replacement perl-base ... > Setting up perl-base (5.10.1-8) ... > Processing triggers for man-db ... > Setting up perl (5.10.1-8) ... > Setting up perl-doc (5.10.1-8) ... > ->8- Is that all? I would expect that perl-modules should also get configured. > The result: the package 'perl-modules' is not installed (e.g. removed), > despite > the direct query to install new version, ignoring any dependency conflicts. Are you sure that it is not installed? What does "dpkg -l perl-modules" print? Sven -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

