Your message dated Wed, 27 Jan 2010 21:32:57 +0000 with message-id <E1NaFVR-0002Wk-RC@ries.debian.org> and subject line Bug#534920: fixed in apt 0.7.25.2 has caused the Debian Bug report #534920, regarding apt: apt-mark markauto does not do anything when the package isn't in the extended_states file 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 owner@bugs.debian.org immediately.) -- 534920: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534920 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: bts <submit@bugs.debian.org>
- Subject: apt: apt-mark markauto does not do anything when the package isn't in the extended_states file
- From: Paul Wise <pabs@debian.org>
- Date: Sun, 28 Jun 2009 17:33:50 +0800
- Message-id: <1246181630.18201.685.camel@chianamo>
Package: apt Version: 0.7.20.2 X-Debbugs-CC: kibi@debian.org Severity: normal KiBi noted that apt-mark and aptitude disagree about auto-installed status. After some testing I conclude that apt-mark doesn't work when the package is not yet in the extended_states file. This is an issue for both lenny and squeeze. IMO this should be fixed in lenny too. pabs@chianamo:~$ aptitude show nsis | grep Auto Automatically installed: no pabs@chianamo:~$ sudo apt-mark markauto nsis pabs@chianamo:~$ aptitude show nsis | grep Auto Automatically installed: no pabs@chianamo:~$ grep nsis /var/lib/apt/extended_states pabs@chianamo:~$ sudo apt-mark -v markauto nsis pabs@chianamo:~$ grep nsis /var/lib/apt/extended_states pabs@chianamo:~$ sudo sh -c '/bin/echo -e "Package: nsis\nAuto-Installed: 1\n\n" >> /var/lib/apt/extended_states' pabs@chianamo:~$ grep -A1 nsis /var/lib/apt/extended_states Package: nsis Auto-Installed: 1 pabs@chianamo:~$ aptitude show nsis | grep Auto Automatically installed: yes pabs@chianamo:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: nsis The following packages will be REMOVED: nsis 0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded. After this operation, 6156kB disk space will be freed. Do you want to continue [Y/n]? ^C pabs@chianamo:~$ sudo sed -i -e '/Package: nsis/{N;d;d}' /var/lib/apt/extended_states pabs@chianamo:~$ tail /var/lib/apt/extended_states Auto-Installed: 1 Package: libxpm-dev Auto-Installed: 1 Package: libplib1 Auto-Installed: 1 pabs@chianamo:~$ aptitude show nsis | grep Auto Automatically installed: no pabs@chianamo:~$ sudo sh -c '/bin/echo -e "Package: nsis\nAuto-Installed: 0\n\n" >> /var/lib/apt/extended_states' pabs@chianamo:~$ aptitude show nsis | grep Auto Automatically installed: no pabs@chianamo:~$ grep -A1 nsis /var/lib/apt/extended_states Package: nsis Auto-Installed: 0 pabs@chianamo:~$ sudo apt-mark -v markauto nsis changing nsis to 1 pabs@chianamo:~$ aptitude show nsis | grep Auto Automatically installed: yes pabs@chianamo:~$ grep -A1 nsis /var/lib/apt/extended_states Package: nsis Auto-Installed: 1 -- bye, pabs http://wiki.debian.org/PaulWiseAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
- To: 534920-close@bugs.debian.org
- Subject: Bug#534920: fixed in apt 0.7.25.2
- From: Michael Vogt <mvo@debian.org>
- Date: Wed, 27 Jan 2010 21:32:57 +0000
- Message-id: <E1NaFVR-0002Wk-RC@ries.debian.org>
Source: apt Source-Version: 0.7.25.2 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.7.25.2_all.deb to main/a/apt/apt-doc_0.7.25.2_all.deb apt-transport-https_0.7.25.2_i386.deb to main/a/apt/apt-transport-https_0.7.25.2_i386.deb apt-utils_0.7.25.2_i386.deb to main/a/apt/apt-utils_0.7.25.2_i386.deb apt_0.7.25.2.dsc to main/a/apt/apt_0.7.25.2.dsc apt_0.7.25.2.tar.gz to main/a/apt/apt_0.7.25.2.tar.gz apt_0.7.25.2_i386.deb to main/a/apt/apt_0.7.25.2_i386.deb libapt-pkg-dev_0.7.25.2_i386.deb to main/a/apt/libapt-pkg-dev_0.7.25.2_i386.deb libapt-pkg-doc_0.7.25.2_all.deb to main/a/apt/libapt-pkg-doc_0.7.25.2_all.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 534920@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Vogt <mvo@debian.org> (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 ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Wed, 27 Jan 2010 16:16:10 +0100 Source: apt Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https Architecture: source all i386 Version: 0.7.25.2 Distribution: unstable Urgency: low Maintainer: APT Development Team <deity@lists.debian.org> Changed-By: Michael Vogt <mvo@debian.org> Description: apt - Advanced front-end for dpkg apt-doc - Documentation for APT apt-transport-https - APT https transport apt-utils - APT utility programs libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst libapt-pkg-doc - Documentation for APT development Closes: 475770 534920 548884 549312 558348 561636 565213 566664 Changes: apt (0.7.25.2) unstable; urgency=low . [ Michael Vogt ] * apt-pkg/contrib/cdromutl.cc: - fix UnmountCdrom() fails, give it a bit more time and try the umount again * apt-pkg/cdrom.cc: - fix crash in pkgUdevCdromDevices * methods/cdrom.cc: - fixes in multi cdrom setup code (closes: #549312) - add new "Acquire::cdrom::AutoDetect" config that enables/disables the dlopen of libudev for automatic cdrom detection. Off by default currently, feedback/testing welcome * cmdline/apt-cdrom.cc: - add new --auto-detect option that uses libudev to figure out the cdrom/mount-point * cmdline/apt-mark: - merge fix from Gene Cash that supports markauto for packages that are not in the extended_states file yet (closes: #534920) * ftparchive/writer.{cc,h}: - merge crash fix for apt-ftparchive on hurd, thanks to Samuel Thibault for the patch (closes: #566664) . [ David Kalnischkies ] * apt-pkg/contrib/fileutl.cc: - Fix the newly introduced method GetListOfFilesInDir to not accept every file if no extension is enforced (= restore old behaviour). (Closes: #565213) * apt-pkg/policy.cc: - accept also partfiles with "pref" file extension as valid * apt-pkg/contrib/configuration.cc: - accept also partfiles with "conf" file extension as valid * doc/apt.conf.5.xml: - reorder description and split out syntax - add partfile name convention (Closes: #558348) * doc/apt_preferences.conf.5.xml: - describe partfile name convention also here * apt-pkg/deb/dpkgpm.cc: - don't segfault if term.log file can't be opened. Thanks Sam Brightman for the patch! (Closes: #475770) * doc/*: - replace the per language addendum with a global addendum - add a explanation why translations include (maybe) english parts to the new global addendum (Closes: #561636) * apt-pkg/contrib/strutl.cc: - fix malloc asseration fail with ja_JP.eucJP locale in apt-cache search. Thanks Kusanagi Kouichi! (Closes: #548884) . [ Christian Perrier ] * French translation update Checksums-Sha1: ac8305749e6789a9a561cd9c4d63ea422944308f 1212 apt_0.7.25.2.dsc fa713204e67a625b8e49a400d3469e8daa9896a0 2646304 apt_0.7.25.2.tar.gz db9709015dc7d2b6f9ad184d58e1a749f4f20f0b 138688 apt-doc_0.7.25.2_all.deb db2869f81e2a06dd19eb634b06d737911019c77d 133138 libapt-pkg-doc_0.7.25.2_all.deb b4d1feefb88a0a08abf4c5a04c3f87968d139f6d 1749128 apt_0.7.25.2_i386.deb 963550225280eb30c45a6f4736675db53b459037 121454 libapt-pkg-dev_0.7.25.2_i386.deb c687ff00e73f52557257e5041d94ccde83ae793f 223736 apt-utils_0.7.25.2_i386.deb bd524432662e1625d774e723f9ba6db9950ff0d3 69524 apt-transport-https_0.7.25.2_i386.deb Checksums-Sha256: 44004edba97d9654afcc93d8646d726e1ae82c78c03c4fe411527dd62fc29e29 1212 apt_0.7.25.2.dsc f3af72df41fafebe47793c9d17b220124c781b8b47fa5ced4d2b431bc9518982 2646304 apt_0.7.25.2.tar.gz 878c3e51e3e4060dc65fb73bdc049eec0224bc0c528d57c5120c287ac1b7937e 138688 apt-doc_0.7.25.2_all.deb 2e057e32f8ab3b98cfa375cbe7c5cadc8bc3880f9f817ff278e18bac3d4ca405 133138 libapt-pkg-doc_0.7.25.2_all.deb 57c421ee407bca76a4795c97b67f2f45d3568e11bbc96db321d619aef4a892e5 1749128 apt_0.7.25.2_i386.deb db8c1ce6850ebc399e712877800559e8ec7dbb7c6d016733cc43bc50931d3468 121454 libapt-pkg-dev_0.7.25.2_i386.deb 59a865beea3135631a0f32070f68c61174d994431d1df0a2e874073bee2c9cbb 223736 apt-utils_0.7.25.2_i386.deb 35e8d4f9641b77c8610524db5f300954f729975d52752ee718eb684ec35fe314 69524 apt-transport-https_0.7.25.2_i386.deb Files: aa6cb570c3de9459ed6a3af70c238402 1212 admin important apt_0.7.25.2.dsc 1e240fd7d4503153a8d8db3f06773450 2646304 admin important apt_0.7.25.2.tar.gz 605a43301f186f34ce84edf871770af1 138688 doc optional apt-doc_0.7.25.2_all.deb c9af37ba5f8c36a64647caf3ba17e633 133138 doc optional libapt-pkg-doc_0.7.25.2_all.deb 87c4d91f33925da75712cb30cb473e92 1749128 admin important apt_0.7.25.2_i386.deb 3465b3582136a2f203327f75bb9b0e8d 121454 libdevel optional libapt-pkg-dev_0.7.25.2_i386.deb 4f17df3fa19c7af740f5e3b5913a16bf 223736 admin important apt-utils_0.7.25.2_i386.deb 0ad50ab47182e4194566943d8c151c9a 69524 admin optional apt-transport-https_0.7.25.2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktgqasACgkQliSD4VZixzRGSQCbBU3kP/cCg6bfrLwsqp2V9Jf6 S/oAni9fA85eTJevy8o/JU5t9OcLHP08 =VcjT -----END PGP SIGNATURE-----
--- End Message ---