Bug#243732: apt-get claims no new package installed, even after new was installed
Package: apt
Version: 0.5.24
Severity: normal
NOTE. The apt sources list contains a source that is unreachable
outside of university of waterloo.
Here is the message I get:
apt-get install systemimager-doc
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
systemimager-server
The following NEW packages will be installed:
systemimager-doc
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 421kB of archives.
After unpacking 864kB of additional disk space will be used.
Get:1 ftp://debian30.math sarge/main systemimager-doc 3.0.1-11 [421kB]
Fetched 421kB in 0s (1609kB/s)
Selecting previously deselected package systemimager-doc.
(Reading database ... 47417 files and directories currently installed.)
Unpacking systemimager-doc (from .../systemimager-doc_3.0.1-11_all.deb) ...
Setting up systemimager-doc (3.0.1-11) ...
Reading Package Lists... Done
Building Dependency Tree... Done
systemimager-doc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Note, I am running apt-get as a cover script and it's possible that
the following maybe causing a problem?
trap 'echo Can not interrupt while doing xhier stuff....' INT QUIT
it should be noted that I'm pretty convinced that I have a trap ""
before I run the real apt-get binary so I'm mystified....
So I guess a question I have is what kind of signal handling does
apt have. I have confirmed that if I run the apt-get binary
directly rather than my cover I don't get the message about no new
packages installed after a new package is installed. Any
clarification would be greatly appreciated.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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/sbin/dpkg-preconfigure --apt || true";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
# deb http://security.debian.org/ sarge/updates main contrib
deb ftp://debian30.math/debian/ sarge main contrib non-free
deb ftp://debian30.math.uwaterloo.ca/debian-non-US sarge/non-US main contrib non-free
deb-src ftp://debian30.math/debian/ sarge main contrib non-free
deb-src ftp://debian30.math/debian-non-US sarge/non-US main contrib non-free
#
#deb ftp://ftp.de.debian.org/debian/ sarge main contrib non-free
#deb ftp://ftp.de.debian.org/debian-non-US/ sarge/non-US main contrib non-free
#deb-src ftp://ftp.de.debian.org/debian/ sarge main contrib non-free
#deb-src ftp://ftp.de.debian.org/debian-non-US sarge/non-US main contrib non-free
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.3-6 GCC support library
ii libstdc++5 1:3.3.3-6 The GNU Standard C++ Library v3
-- no debconf information
Reply to: