Re: apt-get dummy installation
* "Jason" == Jason Gunthorpe <firstname.lastname@example.org> wrote:
Jason> On 21 Sep 1999, Martin Bialasinski wrote:
>> $ apt-get -f -s -c apt.conf.alpha install task-sgml
>> Sorry, but the following packages have unmet dependencies:
>> task-sgml: Depends: xemacs20
>> E: Sorry, broken packages
>> $ apt-cache -c apt.conf.alpha dumpavail | grep xemacs20 | grep Provides
>> Provides: emacsen, info-browser, mail-reader, news-reader,www-browser, xemacs20
Jason> Yes, but it may be that xemacs20 depends on something that
Jason> cannot be installed. Try 'install task-sgml xemacs20' and try
Jason> -o debug::pkgproblemresolver=true
Very good tips, leading to the solution.
Jason> When there is a problem installing a set of packages APT can
Jason> sometimes choose very odd places to give up so the errors are
Jason> not so great.
$ apt-get install -s -c apt.conf.i386 task-sgml
Reading Package Lists... Done
Building Dependency Tree... Done
Package emacs19 has broken dep on liblockfile0
Note, a broken or group was found in psgml.
Note, a broken or group was found in task-sgml.
Indeed, emacs19 should depend on liblockfile1 (a bug is pending on
task-sgml depends on psgml (>= 1.1.6-3) | xemacs20
Installing "task-sgml xemacs20" won't show an error, so the dependancy
on the or group can be fulfilled. Is there an option to make apt
continue on such an error with one of the working alternatives?
Also, look on the errormessage:
Sorry, but the following packages have unmet dependencies:
task-sgml: Depends: xemacs20
It shows the working alternative, not the broken one. This makes
finding the problem not very obvious.