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

Bug#63149: apt don't calculate dependencies the right way



Package: apt
Version: 0.3.18
Severity: normal

Hi.

I'm installing a potato from scratch. I've installed the base from floppies,
and now I'm installing the packages one by one :-) as I need them.

When I've tried to install linuxconf, this came out:

------------ snip ------------

turing:~# apt-get install linuxconf
Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  linuxconf: Depends: logrotate but it is not going to be installed
E: Sorry, broken packages
turing:~# apt-get install logrotate
Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  logrotate: Depends: mailx but it is not going to be installed
E: Sorry, broken packages
turing:~# apt-get install mailx
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  liblockfile1 zmailer-ssl 
The following NEW packages will be installed:
  liblockfile1 mailx zmailer-ssl 
0 packages upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 1015kB of archives. After unpacking 2241kB will be used.
Do you want to continue? [Y/n] n
Abort.
turing:~#

------------ snip ------------

Then Jason Gunthorpe suggested that I try this option:

-o debug::pkgproblemresolver=true

I've tried this option, and the following came out:

------------ snip ------------

turing:~# apt-get -o debug::pkgproblemresolver=true install linuxconf
Reading Package Lists...
Building Dependency Tree...
Starting
Starting 2
Package mailx has broken dep on smail
Package mailx has broken dep on mail-transport-agent
  Considering zmailer-ssl 0 as a solution to mailx 8
  Holding Back mailx rather than change mail-transport-agent
Package logrotate has broken dep on mailx
  Considering mailx 8 as a solution to logrotate 5
  Holding Back logrotate rather than change mailx
Package linuxconf has broken dep on logrotate
  Considering logrotate 5 as a solution to linuxconf 9999
    Reinst Failed early because of smail
    Reinst Failed because of mail-transport-agent
    Reinst Failed because of mailx
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  linuxconf: Depends: logrotate but it is not going to be installed
E: Sorry, broken packages
turing:~#

------------ snip ------------

So apt should've picked up one of the packages that provided
mail-transport-agent, and it didn't.

Another thing, apt should've tried to pick up _exim_, not zmailer-ssl, as
aparently its trying to do.

More information can be found on this thread:

http://www.debian.org/Lists-Archives/debian-devel-0004/msg01244.html

I'll try to keep the machine like this until tomorrow, in case you need more
information, but then I must proceed. :-)

Cheers,
Pedro Guerreiro

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux turing 2.2.14 #1 Wed Mar 22 15:27:14 EST 2000 i486

Versions of packages apt depends on:
ii  libc6                         2.1.3-8    GNU C Library: Shared libraries an
ii  libstdc++2.10                 1:2.95.2-9 The GNU stdc++ library            


Reply to: