Bug#468180: /usr/bin/apt-get: apt-get download only changed package state
Package: apt
Version: 0.7.11
Severity: normal
File: /usr/bin/apt-get
I ran the command
apt-get -d install openssh-client
to download the .deb file for openssh-client
The output from the command was
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
openssh-client set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
This tells me that the state of openssh-client was set to manually
installed which should NOT happen when I'm only downloading.
I confirmed with aptitude that the state had been changed.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
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::sourceparts "sources.list.d";
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";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Acquire "";
Acquire::PDiffs "false";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
#
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 kde-CD Binary-1 20080128-11:04]/ lenny main
deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 kde-CD Binary-1 20080128-11:04]/ lenny main
deb http://www.mirrorservice.org/sites/ftp.debian.org/debian/ lenny main
deb-src http://www.mirrorservice.org/sites/ftp.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i486)
Kernel: Linux 2.6.22-bnsr
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libgcc1 1:4.3-20080202-1 GCC support library
ii libstdc++6 4.3-20080202-1 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: