Package: aptitude
Version: 0.5.0-1

"why" should report based on the dependencies of the candidate, not
the installed version.

# aptitude full-upgrade
The following NEW packages will be installed:
  curl{a}
# aptitude why curl
i apt-file Depends wget | curl
(So the user panics: "you mean wget is not installed anymore?!")
# set wget curl
# for i do dpkg -l $i|tail -n 1; done
ii wget 1.11.4-2 retrieves files from the web
un curl <none>   (no description available)
# aptitude -v show apt-file|egrep Version\|Depends
Version: 2.2.0
Depends: perl, curl, libconfig-file-perl, libapt-pkg-perl,
Version: 2.1.6
Depends: perl, wget | curl, libconfig-file-perl, libapt-pkg-perl,
# apt-cache policy apt-file
apt-file:
  Installed: 2.1.6
  Candidate: 2.2.0

The man page says:
    By default aptitude outputs only the "most installed, strongest,
    tightest, shortest" dependency chain.

Well, "most installed" doesn't mean you should necessarily use the
dependencies of the installed version over the candidate.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to