Bug#624742: apt-get purge does not remove config-files

2011-05-01 Thread Thierry BECHE
Package: apt
Version: 0.8.14.1
Severity: important

If a package is removed keeping the config-files (using apt-get autoremove),
it is further impossible to completely purge the package (using apt-get
purge).
Using dpkg -P does the job.

Example:

root@isis:~# dpkg -s guile-1.8
Package: guile-1.8
Status: deinstall ok config-files
Priority: optional
Section: lisp
Installed-Size: 44
Maintainer: Rob Browning r...@defaultvalue.org
Architecture: amd64
Version: 1.8.8+1-2
Config-Version: 1.8.8+1-2
Provides: guile
Depends: guile-1.8-libs (= 1.8.8+1-2), libc6 (= 2.2.5), libgmp10, libltdl7 (=
2.4)
Suggests: guile-1.8-doc
Conflicts: guile1.4, libguile-dev (= 1:1.4-24)
Description: GNU extension language and Scheme interpreter
 Guile is a Scheme implementation designed for real world programming,
 providing a rich Unix interface, a module system, an interpreter, and
 many extension languages.  Guile can be used as a standard #! style
 interpreter, via #!/usr/bin/guile, or as an extension language for
 other applications via libguile.
Homepage: http://www.gnu.org/software/guile/

root@isis:~# apt-get purge guile-1.8
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  guile-1.8*
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

root@isis:~# dpkg -P guile-1.8
(Lecture de la base de données... 169147 fichiers et répertoires déjà
installés.)
Suppression de guile-1.8 ...
Purge des fichiers de configuration de guile-1.8 ...
Traitement des actions différées (« triggers ») pour « menu »...



-- 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::Acquire ;
APT::Acquire::Translation environment;
APT::Authentication ;
APT::Authentication::TrustCDROM true;
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::Periodic ;
APT::Periodic::Update-Package-Lists 1;
APT::Periodic::Download-Upgradeable-Packages 0;
APT::Periodic::AutocleanInterval 0;
APT::Update ;
APT::Update::Post-Invoke ;
APT::Update::Post-Invoke:: touch /var/lib/apt/periodic/update-success-stamp 
2/dev/null || true;
APT::Update::Post-Invoke-Success ;
APT::Update::Post-Invoke-Success:: [ ! -f /var/run/dbus/system_bus_socket ] || 
/usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt 
org.debian.apt.CacheChanged || true;
APT::Archives ;
APT::Archives::MaxAge 30;
APT::Archives::MinAge 2;
APT::Archives::MaxSize 500;
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::dpkg /usr/bin/dpkg;
Dir::Media ;
Dir::Media::MountPath /media/cdrom;
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]+$;
Acquire ;
Acquire::cdrom ;
Acquire::cdrom::mount /media/cdrom;
DPkg ;
DPkg::Pre-Invoke ;
DPkg::Pre-Invoke:: if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; 
fi;
DPkg::Post-Invoke ;
DPkg::Post-Invoke:: if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; 
fi;
DPkg::Post-Invoke:: if [ -d /var/lib/update-notifier ]; then touch 
/var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e 
/var/lib/update-notifier/updates-available ]; then echo  
/var/lib/update-notifier/updates-available; fi ;
DPkg::Pre-Install-Pkgs ;

Bug#624742: apt-get purge does not remove config-files

2011-05-01 Thread Julian Andres Klode
forcemerge 150831 624742
tags 150831 + pending
thanks

On Sun, 2011-05-01 at 08:56 +0200, Thierry BECHE wrote:
 Package: apt
 Version: 0.8.14.1
 Severity: important
 
 If a package is removed keeping the config-files (using apt-get autoremove),
 it is further impossible to completely purge the package (using apt-get
 purge).
 Using dpkg -P does the job.
Yes we know that and it's fixed for quite some time in the repository
already.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org