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

Bug#807413: marked as done (apt: autoremoval of build-deps is broken)



Your message dated Mon, 14 Dec 2015 16:24:19 +0000
with message-id <E1a8Vv9-0000Tc-A5@franck.debian.org>
and subject line Bug#807413: fixed in apt 1.1.5
has caused the Debian Bug report #807413,
regarding apt: autoremoval of build-deps is broken
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.)


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

Hello,

Recently my sid chroot started becoming cluttered, and afaict
autoremove is broken now. I cannot say when this started though.

(sid)root@argenau:/# dpkg -l > /tmp/0.before
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge  build-dep p11-kit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf
  dh-strip-nondeterminism libffi-dev libfile-stripnondeterminism-perl
  libtasn1-6 libtasn1-6-dev libtool pkg-config po-debconf
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3244 kB of archives.
After this operation, 7939 kB of additional disk space will be used.
[...]
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  debhelper* dh-autoreconf* dh-strip-nondeterminism* libffi-dev*
  libfile-stripnondeterminism-perl* libtasn1-6* libtasn1-6-dev* pkg-config*
  po-debconf*
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 2836 kB disk space will be freed.
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(sid)root@argenau:/# diff /tmp/0.before /tmp/1.after 
7a8,11
> ii  autoconf                      2.69-9                  all          automatic configure script builder
> ii  automake                      1:1.15-3                all          Tool for generating GNU Standards-compliant Makefiles
> ii  autopoint                     0.19.6-1                all          The autopoint program from GNU gettext
> ii  autotools-dev                 20150820.1              all          Update infrastructure for config.{guess,sub} files
152a157
> ii  libtool                       2.4.2-1.11              all          Generic library support script
(sid)root@argenau:/# for i in autoconf automake autopoint autotools-dev libtool ; do apt-mark showauto | grep $i || echo $i is manual ; done
autoconf
automake
autopoint
autotools-dev
libtool
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove automake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  automake*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1749 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 14034 files and directories currently installed.)
Removing automake (1:1.15-3) ...
Processing triggers for man-db (2.7.5-1) ...
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove autoconf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  autoconf*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1914 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 13903 files and directories currently installed.)
Removing autoconf (2.69-9) ...
Purging configuration files for autoconf (2.69-9) ...
Processing triggers for man-db (2.7.5-1) ...
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove autopoint
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  autopoint*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 459 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 13824 files and directories currently installed.)
Removing autopoint (0.19.6-1) ...
Processing triggers for man-db (2.7.5-1) ...
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge remove libtool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libtool*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 826 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 13817 files and directories currently installed.)
Removing libtool (2.4.2-1.11) ...
Processing triggers for man-db (2.7.5-1) ...
(sid)root@argenau:/# DEBIAN_FRONTEND=noninteractive eatmydata apt-get --purge autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  autotools-dev*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 155 kB disk space will be freed.
[...]

So after build-dep/autoremove five additional packages are installed, they are
marked as autoinstalled and have no rdeps, but still autoremove does not grab
them.

cu Andreas

deb http://ftp.at.debian.org/debian sid main
deb-src http://ftp.at.debian.org/debian sid main
deb http://ftp.at.debian.org/debian/ experimental main
#deb-src http://ftp.at.debian.org/debian/ experimental main
APT
{
  NeverAutoRemove
  {
	"^firmware-linux.*";
	"^linux-firmware$";
  };

  VersionedKernelPackages
  {
	# linux kernels
	"linux-image";
	"linux-headers";
	"linux-image-extra";
	"linux-signed-image";
	# kfreebsd kernels
	"kfreebsd-image";
	"kfreebsd-headers";
	# hurd kernels
	"gnumach-image";
	# (out-of-tree) modules
	".*-modules";
	".*-kernel";
	"linux-backports-modules-.*";
        # tools
        "linux-tools";
  };

  Never-MarkAuto-Sections
  {
	"metapackages";
	"contrib/metapackages";
	"non-free/metapackages";
	"restricted/metapackages";
	"universe/metapackages";
	"multiverse/metapackages";
  };

  Move-Autobit-Sections
  {
	"oldlibs";
	"contrib/oldlibs";
	"non-free/oldlibs";
	"restricted/oldlibs";
	"universe/oldlibs";
	"multiverse/oldlibs";
  };
};
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
APT::NeverAutoRemove
{
   "^linux-image-4\.3\.0-trunk-amd64$";
   "^linux-headers-4\.3\.0-trunk-amd64$";
   "^linux-image-extra-4\.3\.0-trunk-amd64$";
   "^linux-signed-image-4\.3\.0-trunk-amd64$";
   "^kfreebsd-image-4\.3\.0-trunk-amd64$";
   "^kfreebsd-headers-4\.3\.0-trunk-amd64$";
   "^gnumach-image-4\.3\.0-trunk-amd64$";
   "^.*-modules-4\.3\.0-trunk-amd64$";
   "^.*-kernel-4\.3\.0-trunk-amd64$";
   "^linux-backports-modules-.*-4\.3\.0-trunk-amd64$";
   "^linux-tools-4\.3\.0-trunk-amd64$";
};
/* Debug information:
# dpkg list:
# list of installed kernel packages:

# list of different kernel versions:

# Installing kernel:  ()
# Running kernel:  (4.3.0-trunk-amd64)
# Last kernel: 
# Previous kernel: 
# Kernel versions list to keep:

# Kernel packages (version part) to protect:
4\.3\.0-trunk-amd64
*/
DSelect::Clean "auto";
//DSelect::Clean "never";

//APT::Get::List-Cleanup "false";
APT::Install-Recommends "false";
APT::Get::Build-Dep-Automatic "true";
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

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

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 807413@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@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: SHA512

Format: 1.8
Date: Mon, 14 Dec 2015 16:56:11 +0100
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.1.5
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst2.0 - 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-pkg5.0 - package management runtime library
Closes: 806459 807012 807373 807413 807477 807523 807870
Changes:
 apt (1.1.5) unstable; urgency=medium
 .
   [ Julian Andres Klode ]
   * Do not swap required and important in pkgCache::Priority()
     Thanks to Manuel A. Fernandez Montecelo for discovering this
     (Closes: #807523)
   * Convert package names from Packages files to lower case (Closes: #807012)
   * test framework: Correctly generate new paths in noopchroot
   * debian/apt.auto-removal.sh: Adjust -dbg exclusion for multi-arch
   * pkgcache: Make hash arch-independent using fixed size integer
   * test-apt-download-progress: Run the https test multiple times
 .
   [ David Kalnischkies ]
   * update symbols files to 1.1.4 state of affairs
   * parse .diff/Index hashes in reverse order
   * redirect which stderr to /dev/null for consistency (Closes: 807373)
   * show a more descriptive error for weak Release files (Closes: 806459)
   * support regex and co in 'apt-cache policy $pkg' again (Closes: 807870)
   * non-existing directories don't need to be cleaned (Closes: 807477)
 .
   [ Seo Sanghyeon ]
   * fix incorrect Korean translation of "manually" and "automatically"
 .
   [ Andreas Metzler ]
   * mention APT::AutoRemove::{Recommends,Suggests}Important option
     (Closes: 807413)
Checksums-Sha1:
 840bfcc57b03635dc7c94c95fc4bc44d477d8003 2297 apt_1.1.5.dsc
 150002d7e47a8e2409b82e735221ac94bcaa6e24 1991336 apt_1.1.5.tar.xz
Checksums-Sha256:
 70a8fa390f2cd3004e68770f96c04ac17e2480cae1602664934696ac6b302c2d 2297 apt_1.1.5.dsc
 a5122f67dac450518fa16b9f66eac6c852d1edc696443af59f5c416008212660 1991336 apt_1.1.5.tar.xz
Files:
 26b87be5531556379aeed90d2acb08cc 2297 admin important apt_1.1.5.dsc
 814228f0e6026137e1d199dd2bcf0b7f 1991336 admin important apt_1.1.5.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWbucMAAoJENc8OeVlgLOG5agQAK8xUC/8fVflZOj8ZXJrvCVj
mBmCK4GvzlOf5cjqMQj0pKugXZ9PiY4oHKLZ3VwSr7af2M1bhmtqzbI3HSkxjHAV
4ZzSbtpxPEzaYqWptStAJ7vdfEu2z/Io9nTdQpqGeTmFdsOhgR5R6hBcTb46dPAL
OYXfqqlMW2y4elxaHd8jVQNn44fUmKwSEEHdXWZmzPGB56Vze4kk9D9elaTlfhKc
plqd21bYXH3Ym+5OOFIh64McR9+yyqckbxP1lqcwjiY8Lva4QR0CWVPw0m7vScwH
ry0Ap3QSOsW3ThqdZIflJROu4SRATXzESn3viv7R7tIzu4IoY50p5SL2xubKxBaQ
JybYqb9NbIJ0G95sdUm70NLv8qxcshTVX0+svGfPsvqQJkJWhVdtcAEMfp7Z8RUc
VpXJccSyz7L+6E9u1UTJJgDQm4KVJhE/HGQIZVk4NSO2ZmRauvqW0dVIPHLDqqRA
FOWe26LlSXc7jOscWnbYQ2LS+BGgxlUjSOYVaPT3zlwvkRdHoivsJqnVYVJuqYB2
x5luRv6K9CAmwCaN7CbjlSNFhEHb+QyhIb/CQe54/zuE9bKeDpSZ8JUsOMmBVr/c
w/qC3b9u/P5IU6+hC8DnEKdRbzuL66jvH2M1wmbdi/6PB0a2UsTD8aUADbwyAjxC
NGwOaRTsq/vITNzysBUp
=ut3O
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: