Bug#224338: /usr/bin/apt-get: 'to be installed' language incorrect
Package: apt
Version: 0.5.14
Severity: minor
File: /usr/bin/apt-get
"is to be installed" is not the best thing to say, when the item is
indeed already installed. Say something better.
Otherwise it sounds like you are talking about the Candidate.
# apt-get -o Dir::Cache::Archives=. install libasound2
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libasound2: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-8 is to be installed
mplayer-k7: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-8 is to be installed
Depends: libfaad2-0 (>= 2.0-rc3-0.0) but 1.1-0.0 is to be installed
Depends: libogg0 (>= 1.1.0) but 1.0.0-1 is to be installed
Depends: libstdc++5 (>= 1:3.3.2-1) but 1:3.3.2-0pre5 is to be installed
Depends: zlib1g (>= 1:1.2.1) but 1:1.1.4-16 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
# apt-cache policy libc6
libc6:
Installed: 2.3.2-8
Candidate: 2.3.2.ds1-10
Odd, I can also make it say "is installed" by doing other
tricks... anyway, perhaps just examine the cases where you say 'to be
installed' when it is already installed.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::List-Cleanup "false";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
-- (no /etc/apt/preferences present) --
Reply to: