reassign 555824 dpkg thanks Hi Guillem,
Firstly, this has nothing to do with cupt, I did the command manually. Where did you see 'cupt' in the report? Guillem Jover wrote: > reassign 555824 cupt > retitle 555824 cupt: Wrong use of --force-depends --force-conflicts > thanks > > On Wed, 2009-11-11 at 23:46:13 +0200, Eugene V. Lyubimkin wrote: >> Package: dpkg >> Version: 1.15.4 >> Severity: grave >> Justification: causes non-serious data loss > >> 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 ... >> dpkg: warning: ignoring dependency problem with removal of perl-modules: >> perl depends on perl-modules (>= 5.10.1-7) >> perl-modules is to be removed. > > [ ... More warnings on dependency problems. ... ] > >> 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) ... >> 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- >> >> The result: the package 'perl-modules' is not installed (e.g. removed), >> despite >> the direct query to install new version, ignoring any dependency conflicts. > > Well, you asked for it, don't do that. As indicated by --force-help, > usage of those specific options you used there “can seriously damage > your installation” which is what happened. Dpkg ignored the request to install new perl-modules. Silently. Why? I didn't read 'seriously damage your installation' as 'ignore some command-line requests'. > To try to get out of the situation dpkg tries to remove a package, > because you added --force-depends then it ignored any problem and > considered it an ok solution. The --force-conflicts gets considered > later on. > Check what apt is doing. Cupt should not use force options on > --unpack, --install, --configure or --triggers-only. Ideally no > front-end would need to use force options, but using --force-depends > on --purge and --remove seems kind of reasonable for now I guess. Again, this has nothing to do with any high-level package manager. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com C++/Perl developer, Debian Developer
signature.asc
Description: OpenPGP digital signature