Your message dated Wed, 12 Aug 2015 18:01:31 +0200 with message-id <20150812160131.GA13387@crossbow> and subject line Re: apt: packages not marked auto-installed / autoremove broken has caused the Debian Bug report #776057, regarding apt: packages not marked auto-installed / autoremove 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.) -- 776057: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776057 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: packages not marked auto-installed / autoremove broken
- From: Manuel Traut <manut@linutronix.de>
- Date: Fri, 23 Jan 2015 13:00:24 +0000
- Message-id: <20150123130024.30205.45959.reportbug@elbe-daemon>
Package: apt Version: 0.9.7.9+deb7u7 Severity: important Dear Maintainer, i'm afraid marking several packages as auto_installed is currently broken in wheezy. I found out an easy way to reproduce may situation: % debootstrap wheezy wheezy http://ftp.de.debian.org/debian % chroot wheezy % apt-get install libtiff4 # installs libjbig0 libjpeg8 as extra packages % apt-get remove libtiff4 % apt-get autoremove libtiff4 # doesn't remove libjpeg8 and libjbig0 % aptitude why libjbig0 i vim-common Recommends vim | vim-gnome | vim-gtk | vim-athena | vim-nox | vim-tiny p vim-gtk Depends libgdk-pixbuf2.0-0 (>= 2.22.0) p libgdk-pixbuf2.0-0 Depends libtiff4 (>= 3.9.5-2) p libtiff4 Depends libjbig0 % aptitude why libjpeg8 i vim-common Recommends vim | vim-gnome | vim-gtk | vim-athena | vim-nox | vim-tiny p vim-gtk Depends libgdk-pixbuf2.0-0 (>= 2.22.0) p libgdk-pixbuf2.0-0 Depends libjpeg8 (>= 8c) I believe the problem is, that the packages are not tagged as 'Automatically installed': % aptitude show libjbig0 Package: libjbig0 State: installed Automatically installed: no Multi-Arch: same Version: 2.0-2+deb7u1 Priority: extra Section: libs Maintainer: Michael van der Kolff <mvanderkolff@gmail.com> Architecture: amd64 Uncompressed Size: 98.3 k Depends: libc6 (>= 2.2.5) PreDepends: multiarch-support Description: JBIGkit libraries Homepage: http://www.cl.cam.ac.uk/~mgk25/jbigkit/ however i can remove both packages by % apt-get remove libjbig0 libjpeg8 and no further dependencies are removed. I expect that apt-get autoremove removes those both libraries. If I do the same, with another package, eg. vim-nox auto-removal of the installed dependencies works. -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux.*"; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^linux-image.*"; APT::NeverAutoRemove:: "^kfreebsd-image.*"; APT::NeverAutoRemove:: "^linux-restricted-modules.*"; APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*"; APT::NeverAutoRemove:: "^gnumach$"; APT::NeverAutoRemove:: "^gnumach-image.*"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "restricted/metapackages"; APT::Never-MarkAuto-Sections:: "universe/metapackages"; APT::Never-MarkAuto-Sections:: "multiverse/metapackages"; APT::Never-MarkAuto-Sections:: "oldlibs"; APT::Never-MarkAuto-Sections:: "restricted/oldlibs"; APT::Never-MarkAuto-Sections:: "universe/oldlibs"; APT::Never-MarkAuto-Sections:: "multiverse/oldlibs"; APT::Architectures ""; APT::Architectures:: "amd64"; APT::Compressor ""; APT::Compressor::. ""; APT::Compressor::.::Name "."; APT::Compressor::.::Extension ""; APT::Compressor::.::Binary ""; APT::Compressor::.::Cost "1"; APT::Compressor::gzip ""; APT::Compressor::gzip::Name "gzip"; APT::Compressor::gzip::Extension ".gz"; APT::Compressor::gzip::Binary "gzip"; APT::Compressor::gzip::Cost "2"; APT::Compressor::gzip::CompressArg ""; APT::Compressor::gzip::CompressArg:: "-9n"; APT::Compressor::gzip::UncompressArg ""; APT::Compressor::gzip::UncompressArg:: "-d"; APT::Compressor::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "false"; APT::Compressor::bzip2::Cost "3"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "4"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::UncompressArg:: "-d"; APT::Compressor::lzma ""; APT::Compressor::lzma::Name "lzma"; APT::Compressor::lzma::Extension ".lzma"; APT::Compressor::lzma::Binary "xz"; APT::Compressor::lzma::Cost "5"; APT::Compressor::lzma::CompressArg ""; APT::Compressor::lzma::CompressArg:: "--format=lzma"; APT::Compressor::lzma::CompressArg:: "-9"; APT::Compressor::lzma::UncompressArg ""; APT::Compressor::lzma::UncompressArg:: "--format=lzma"; APT::Compressor::lzma::UncompressArg:: "-d"; APT::Compressor::::Name ""; APT::Compressor::::Extension "."; APT::Compressor::::Binary ""; APT::Compressor::::Cost "100"; APT::Compressor::::CompressArg ""; APT::Compressor::::CompressArg:: "-9"; APT::Compressor::::UncompressArg ""; APT::Compressor::::UncompressArg:: "-d"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::mirrors "mirrors/"; Dir::State::extended_states "extended_states"; 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::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "trusted.gpg"; Dir::Etc::trustedparts "trusted.gpg.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::solvers ""; Dir::Bin::solvers:: "/usr/lib/apt/solvers"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Bin::bzip2 "/bin/bzip2"; Dir::Bin::xz "/usr/bin/xz"; Dir::Media ""; Dir::Media::MountPath "/media/apt"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: "\.disabled$"; Dir::Ignore-Files-Silently:: "\.bak$"; Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.save$"; Dir::Ignore-Files-Silently:: "\.orig$"; Acquire ""; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom/"; Acquire::Languages ""; Acquire::Languages:: "en"; Acquire::Languages:: "none"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; CommandLine ""; CommandLine::AsString "apt-config dump"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- deb http://ftp.de.debian.org/debian wheezy main -- System Information: Debian Release: 7.8 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages apt depends on: ii debian-archive-keyring 2014.3~deb7u1 ii gnupg 1.4.12-7+deb7u6 ii libapt-pkg4.12 0.9.7.9+deb7u7 ii libc6 2.13-38+deb7u6 ii libgcc1 1:4.7.2-5 ii libstdc++6 4.7.2-5 apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> ii aptitude 0.6.8.2-1 pn dpkg-dev <none> ii python-apt 0.8.8.2 ii xz-utils 5.1.1alpha+20120614-2 -- debconf information excluded
--- End Message ---
--- Begin Message ---
- To: 776057-done@bugs.debian.org
- Subject: Re: apt: packages not marked auto-installed / autoremove broken
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Wed, 12 Aug 2015 18:01:31 +0200
- Message-id: <20150812160131.GA13387@crossbow>
- In-reply-to: <20150123130024.30205.45959.reportbug@elbe-daemon>
- References: <20150123130024.30205.45959.reportbug@elbe-daemon>
Hi, On Fri, Jan 23, 2015 at 01:00:24PM +0000, Manuel Traut wrote: > i'm afraid marking several packages as auto_installed is currently broken > in wheezy. I found out an easy way to reproduce may situation: > > % debootstrap wheezy wheezy http://ftp.de.debian.org/debian > % chroot wheezy > % apt-get install libtiff4 # installs libjbig0 libjpeg8 as extra packages > % apt-get remove libtiff4 > % apt-get autoremove libtiff4 # doesn't remove libjpeg8 and libjbig0 It works as designed as libtiff4 is in section oldlibs and this triggers a special behavior marking all its dependencies on install as manually installed. On the upside, this will change then the current debian/experimental git code hits the archive, see the relevant commits: https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=7c2cc4a7bc999c8e07fba607354bfaa3b09118f9 https://anonscm.debian.org/cgit/apt/apt.git/commit/?id=5f4495e342e94a75b17ceed2fa05d689f050df7b So, as this is by design (even if you and others might not like the design) in this version, this isn't a bug and hence closing. Best regards David KalnischkiesAttachment: signature.asc
Description: Digital signature
--- End Message ---