[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717616: marked as done (apt-auto-removal includes debug symbol packages in kernel list)



Your message dated Thu, 25 Jul 2013 16:18:06 +0000
with message-id <E1V2OEw-0003gz-74@franck.debian.org>
and subject line Bug#717616: fixed in apt 0.9.9.3
has caused the Debian Bug report #717616,
regarding apt-auto-removal includes debug symbol packages in kernel list
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.)


-- 
717616: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717616
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.9.2
Severity: normal
Tags: patch

$ dpkg -l 'linux-image-*' | grep ^ii
ii  linux-image-3.10-1-amd64              3.10.1-1                          amd64        Linux 3.10 for 64-bit PCs
ii  linux-image-3.10-1-amd64-dbg          3.10.1-1                          amd64        Debugging symbols for Linux 3.10-1-amd64
ii  linux-image-3.2.0-4-amd64             3.2.46-1                          amd64        Linux 3.2 for 64-bit PCs
ii  linux-image-3.9-1-amd64               3.9.8-1                           amd64        Linux 3.9 for 64-bit PCs
$ cat /etc/apt/apt.conf.d/01autoremove-kernels
// File autogenerated by /etc/kernel/postinst.d/apt-auto-removal, do not edit
APT
{
  NeverAutoRemove
  {
    "^linux-image-3.10-1-amd64$";
    "^linux-image-extra-3.10-1-amd64$";
    "^linux-signed-image-3.10-1-amd64$";
    "^linux-backports-modules-.*-3.10-1-amd64$";
    "^linux-headers-3.10-1-amd64$";
    "^linux-image-3.10-1-amd64-dbg$";
    "^linux-image-extra-3.10-1-amd64-dbg$";
    "^linux-signed-image-3.10-1-amd64-dbg$";
    "^linux-backports-modules-.*-3.10-1-amd64-dbg$";
    "^linux-headers-3.10-1-amd64-dbg$";
  };
};

These aren't two different kernel versions, these are one version with
its debugging symbols.

This should fix it for Debian:

--- a/apt-auto-removal
+++ b/apt-auto-removal
@@ -42,7 +42,7 @@
 	return "$?"
 }
 
-list=$(${DPKG} -l 'linux-image-[0-9]*'|awk '/^ii/ { print $2 }' | sed -e's/linux-image-//')
+list=$(${DPKG} -l 'linux-image-[0-9]*'|awk '/^ii/ && $2 !~ /-dbg$/ { print $2 }' | sed -e's/linux-image-//')
 
 latest_version=""
 previous_version=""
--- END ---

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (no /etc/apt/sources.list present) --


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.12-7
ii  libapt-pkg4.12          0.9.9.2
ii  libc6                   2.17-7
ii  libgcc1                 1:4.8.1-6
ii  libstdc++6              4.8.1-6

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.8.2-1
ii  dpkg-dev    1.16.10
ii  python-apt  0.8.9.1
ii  synaptic    0.80.2
ii  xz-utils    5.1.1alpha+20120614-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.9.3

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.

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 717616@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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 25 Jul 2013 17:14:58 +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.9.3
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
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: 647590 717254 717615 717616
Changes: 
 apt (0.9.9.3) unstable; urgency=low
 .
   [ Ben Hutchings ]
   * debian/apt.auto-removal.sh:
     - do not include debug symbol packages for the kernel in the
       blacklist (closes: #717616)
 .
   [ Michael Vogt ]
   * debian/apt.postinst:
     - run /etc/kernel/postinst.d/apt-auto-removal once on upgrade
       to ensure that the correct auto-removal list is generated
       (closes: #717615)
 .
   [ David Kalnischkies ]
   * skip all Description fields in apt-cache, not just first (Closes: 717254)
   * fix 'apt-cache search' crash with missing description (Closes: 647590)
Checksums-Sha1: 
 a834fac2d0c739dc7f7afca9147a66d66ea749b1 1688 apt_0.9.9.3.dsc
 f514d762a57a037a903a4d3c722c60b8af0ffe5c 3381860 apt_0.9.9.3.tar.gz
 46cdfab987c42f584b029863f3e5286ffd7526d6 291948 apt-doc_0.9.9.3_all.deb
 e0225485482a6ea70069c350b9a96fcfe4c831bb 992472 libapt-pkg-doc_0.9.9.3_all.deb
 7244ea717b2fcc636136e58c68f41aa0b0379c5d 927694 libapt-pkg4.12_0.9.9.3_amd64.deb
 2c3e5f8b1f077d73c3fd42620b35db5ca2a9575b 169854 libapt-inst1.5_0.9.9.3_amd64.deb
 44e5a34badd9104feb1f745c396d1805a0f14e6d 1327404 apt_0.9.9.3_amd64.deb
 45ecd7ca449f055538298ef81a9ebd62c8437292 191680 libapt-pkg-dev_0.9.9.3_amd64.deb
 0d9119ebbb0bd09873039d86ac0ecf48a7efbd21 392742 apt-utils_0.9.9.3_amd64.deb
 32e4d1cdbb6cc4aad59bda36c4daf8cab483f161 112768 apt-transport-https_0.9.9.3_amd64.deb
Checksums-Sha256: 
 60e0ab0ce30adc05dad5424f64acb8849359c62b7657885ffdccd7ad85a20c58 1688 apt_0.9.9.3.dsc
 b3a7e7af24dc8a28bd46eb77c5775bc61748c69afbd46cad28bb47cfa1e0194a 3381860 apt_0.9.9.3.tar.gz
 eb737bfc45cc26b13438e0e287067f2db880c717d33d15191edf5c5a0743b293 291948 apt-doc_0.9.9.3_all.deb
 08be064a1e59d17bde966e6b05c16b4d8021555fa516aa242bb5064d44f52e9d 992472 libapt-pkg-doc_0.9.9.3_all.deb
 f5beea9c89c76927ed695e8972aa76637caf45cc8e587ad9f6e0e701649d837b 927694 libapt-pkg4.12_0.9.9.3_amd64.deb
 4d859551867bc632743d2450e2e8def03d04ab80022a33d41a0cb4a96c361764 169854 libapt-inst1.5_0.9.9.3_amd64.deb
 d6a21a27c6dee525d205f99266924ec1991d74e8076a085d63eeb45cafe04ebd 1327404 apt_0.9.9.3_amd64.deb
 14d79bf5326b055cf643cf34f5a302ea3efcc09e508e43bc8c4675669fb0d760 191680 libapt-pkg-dev_0.9.9.3_amd64.deb
 7e0b6d4680e13950263d7d21e02a84a5d9e73935387ee2ecce77a510d28da610 392742 apt-utils_0.9.9.3_amd64.deb
 734713fd496e27578e9fa3dd04757a8f2048a490681add6d3854eb8cfe6b60ec 112768 apt-transport-https_0.9.9.3_amd64.deb
Files: 
 0bf2e5ccac23bfb8a1cbfb55770ed2a8 1688 admin important apt_0.9.9.3.dsc
 48c7653eec497379b282c8b9d8a969a6 3381860 admin important apt_0.9.9.3.tar.gz
 9b195b358a55bae3b29f9f8ea8959c79 291948 doc optional apt-doc_0.9.9.3_all.deb
 8c9277b6c742564c1183a5a0e869be6c 992472 doc optional libapt-pkg-doc_0.9.9.3_all.deb
 ac8fbb8591fb21c2686fd7d37e0e8a46 927694 libs important libapt-pkg4.12_0.9.9.3_amd64.deb
 0557e6beb64e0a943cda4922450cea6e 169854 libs important libapt-inst1.5_0.9.9.3_amd64.deb
 a0d31d90c32feeeaac7fc6b9f17a74ad 1327404 admin important apt_0.9.9.3_amd64.deb
 ac78a031d8375d083c6a402af1a4b95b 191680 libdevel optional libapt-pkg-dev_0.9.9.3_amd64.deb
 d96d484c9d1b8631c2c27d8bf25c95d0 392742 admin important apt-utils_0.9.9.3_amd64.deb
 5045b2a7c16d57ec61f67bf2f3608c69 112768 admin optional apt-transport-https_0.9.9.3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlHxS50ACgkQliSD4VZixzSoDACfVUwpv5IJny/4LsPffYDY0JoP
H8sAoIUFnDKS+lsognpRzrYlM7XfDtXn
=LgYh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: