Your message dated Tue, 19 Jun 2012 15:17:13 +0000
with message-id <[email protected]>
and subject line Bug#677175: fixed in apt 0.9.7
has caused the Debian Bug report #677175,
regarding libapt-pkg4.12: _error->StackCount not always reset after
MakeStatusCache
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
677175: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677175
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapt-pkg4.12
Version: 0.9.5.1
Tags: patch
Noticed this while using PendingError in aptitude and getting some
strange behaviour. PendingError returned false yet DumpErrors
immediately after would output errors. Some quick debugging showed
that _error->StackCount had been increased somewhere.
In pkgcachegen.cc the function MakeStatusCache has a call to
PushToStack, followed by conditional calls to either Revert. or
Merge.. However, these are not enough to ensure that the stack count
is always left as it started. If there is no error and Debug is false
then StackCount will remain incremented, hiding older errors from
subsequent calls to PendingError.
A quick check using 'grep -e Stack -R apt-pkg/ apt-inst/ cmdline/
methods/' reveals no similar problems.
Patch.
Applying this patch could affect the exit status of some apt-get
commands in some situations. I can only see that it would be more
accurate in the presence of errors.
Regards
errorstack.patch
Description: Binary data
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.7
We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:
apt-doc_0.9.7_all.deb
to main/a/apt/apt-doc_0.9.7_all.deb
apt-transport-https_0.9.7_amd64.deb
to main/a/apt/apt-transport-https_0.9.7_amd64.deb
apt-utils_0.9.7_amd64.deb
to main/a/apt/apt-utils_0.9.7_amd64.deb
apt_0.9.7.dsc
to main/a/apt/apt_0.9.7.dsc
apt_0.9.7.tar.gz
to main/a/apt/apt_0.9.7.tar.gz
apt_0.9.7_amd64.deb
to main/a/apt/apt_0.9.7_amd64.deb
libapt-inst1.5_0.9.7_amd64.deb
to main/a/apt/libapt-inst1.5_0.9.7_amd64.deb
libapt-pkg-dev_0.9.7_amd64.deb
to main/a/apt/libapt-pkg-dev_0.9.7_amd64.deb
libapt-pkg-doc_0.9.7_all.deb
to main/a/apt/libapt-pkg-doc_0.9.7_all.deb
libapt-pkg4.12_0.9.7_amd64.deb
to main/a/apt/libapt-pkg4.12_0.9.7_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <[email protected]> (supplier of updated apt package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 19 Jun 2012 16:42:43 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc
apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.7
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <[email protected]>
Changed-By: Michael Vogt <[email protected]>
Description:
apt - commandline package manager
apt-doc - documentation for APT
apt-transport-https - https download transport for APT
apt-utils - package managment related utility programs
libapt-inst1.5 - deb package format runtime library
libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - documentation for APT development
libapt-pkg4.12 - package managment runtime library
Closes: 672603 677175 677312 677454 677887
Changes:
apt (0.9.7) unstable; urgency=low
.
[ Julian Andres Klode ]
* apt-pkg/contrib/mmap.cc:
- Fix the Fallback option to work correctly, by not calling
realloc() on a map mapped by mmap(), and by using malloc
and friends instead of new[].
- Zero out the new memory allocated with realloc().
.
[ Daniel Hartwig ]
* apt-pkg/pkgcachegen.cc:
- always reset _error->StackCount in MakeStatusCache (Closes: #677175)
.
[ David Kalnischkies ]
* apt-pkg/deb/deblistparser.cc:
- ensure that mixed positive/negative architecture wildcards
are handled in the same way as dpkg handles them
- use PackageArchitectureMatchesSpecification filter
* apt-pkg/cachefilter.cc:
- add PackageArchitectureMatchesSpecification (Closes: #672603)
* apt-pkg/cacheset.cc:
- add PackageContainerInterface::FromGroup to support
architecture specifications with wildcards on the commandline
* apt-pkg/pkgcache.cc:
- do a string comparision for architecture checking in IsMultiArchImplicit
as 'unique' strings in the pkgcache aren't unique (Closes: #677454)
* buildlib/configure.mak:
- print a message detailing how to get config.guess and config.sub
in case they are not in /usr/share/misc (Closes: #677312)
* cmdline/apt-get.cc:
- print a friendly message in 'download' if a package can't be
downloaded (Closes: #677887)
Checksums-Sha1:
916bd6791e0d00867af9874c42e7ed8a978aa169 1683 apt_0.9.7.dsc
3d3cfcb38c99a64067839ac00418a414454ec84f 3404407 apt_0.9.7.tar.gz
259944c07be9d11571f6484240cbabd610f686b8 258280 apt-doc_0.9.7_all.deb
b727331576130d841bc31ab7a95dde85cc7553e2 947720 libapt-pkg-doc_0.9.7_all.deb
8d0ac652e835f624fa0e79c721faaf5ad56b4ca2 873890 libapt-pkg4.12_0.9.7_amd64.deb
7922aa6e2870788c352625c2cc9fc1f23fe38869 161916 libapt-inst1.5_0.9.7_amd64.deb
4cbbec1406b0124de07154ea0b6906f9b8d1fcb1 1035564 apt_0.9.7_amd64.deb
70583f891172bfe5f0303393a942727de1758563 182990 libapt-pkg-dev_0.9.7_amd64.deb
d598ac56ba26f66510eb4e5262f3a3154ac1b9ed 370066 apt-utils_0.9.7_amd64.deb
ad39265065840b8098f7887f2a955061c28d95d1 104610
apt-transport-https_0.9.7_amd64.deb
Checksums-Sha256:
1947034bd5cd44e278420f2db95bd522d641636ece8ab44fdad16de33630ef1d 1683
apt_0.9.7.dsc
0288c80f097ecf48ce18cd898cbea78f20577fa5a379de4bd81e7b00b4f6c59a 3404407
apt_0.9.7.tar.gz
3a9383adc1f4955bbfce6702ea47be98cd73083b47d40394b9a0eb2523cf37a1 258280
apt-doc_0.9.7_all.deb
13c727e44aaf536da89b410e18fa1a99d65955cf3f853f55fc273a8b7793a8e1 947720
libapt-pkg-doc_0.9.7_all.deb
38070ae9d26a165e553348e57aef57ce1d19db736a33b75fadd1691a1aa305ae 873890
libapt-pkg4.12_0.9.7_amd64.deb
73dd2f47015ecbea70ac809029a6f5362665dc0c0a590b61f167d5aed431f8b3 161916
libapt-inst1.5_0.9.7_amd64.deb
b91388c14eb2a4cc4fa5be3fca3f114bf4c3fc0949fc761663ca9018d807c9d2 1035564
apt_0.9.7_amd64.deb
7c44989709863c8708446fb3595dd3b36176c33112b258e63380752052456f23 182990
libapt-pkg-dev_0.9.7_amd64.deb
4c35db01cd72b8532270e264975e0ab290ff186d71575bda354216e480e64c7c 370066
apt-utils_0.9.7_amd64.deb
7bddc86a4d46d2f41eec6e469139c4d6931f477796b2e3ba3eb15802ccf5a6d9 104610
apt-transport-https_0.9.7_amd64.deb
Files:
76bb2e21d13514aef4bc9b41447a9876 1683 admin important apt_0.9.7.dsc
9c5a7cfdd8dddc490448c94d4717081f 3404407 admin important apt_0.9.7.tar.gz
cf0efbaa7875b3bd278e6aa312475583 258280 doc optional apt-doc_0.9.7_all.deb
25d27cc8291b4db604b245afbff11f69 947720 doc optional
libapt-pkg-doc_0.9.7_all.deb
dc7de3bbf80c68b286352fc1337854eb 873890 admin important
libapt-pkg4.12_0.9.7_amd64.deb
2ef8eccff2eeeb7e4f30337734dc61c0 161916 admin important
libapt-inst1.5_0.9.7_amd64.deb
51b7a5e6390f093d7ff1cdfb114ddc91 1035564 admin important apt_0.9.7_amd64.deb
3a20c1c1728eb6e9269ad3d85355c510 182990 libdevel optional
libapt-pkg-dev_0.9.7_amd64.deb
11314af268a6260cc101905f446e1338 370066 admin important
apt-utils_0.9.7_amd64.deb
fb85c21bfebccf2d729928651d5a6578 104610 admin optional
apt-transport-https_0.9.7_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk/gknoACgkQliSD4VZixzQhOwCgjhWVaEN82ZoSiBovWIRRW812
yIQAn2Ld6t+bN3p4LCn42oVTu8Z3pqJ9
=aeh4
-----END PGP SIGNATURE-----
--- End Message ---