mirror of https://github.com/ansible/ansible.git
Mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3d1db80fe0
A package may be removed but not purged with APT. The only way to identify this state is by looking at the list of installed files of a package. Even if the package has no files installed, this list will be non-empty until the package is removed: # python -c "import apt; c=apt.Cache(); c.update(); c.open(); p=c['ruby1.8']; print p, p.installed, p.installed_files" <Package: name:'ruby1.8' id:1425> None [u''] # dpkg --purge ruby1.8 (Reading database ... 27904 files and directories currently installed.) Removing ruby1.8 ... Purging configuration files for ruby1.8 ... # python -c "import apt; c=apt.Cache(); c.update(); c.open(); p=c['ruby1.8']; print p, p.installed, p.installed_files" <Package: name:'ruby1.8' id:1425> None [] See http://bugs.debian.org/712749 too. If a package is not marked installed but it still 'has_files', then it should be processed if the request is to purge it. Signed-off-by: martin f. krafft <madduck@madduck.net> |
12 years ago | |
---|---|---|
cloud | 12 years ago | |
commands | 12 years ago | |
database | 12 years ago | |
files | 12 years ago | |
internal | 12 years ago | |
inventory | 12 years ago | |
messaging | 12 years ago | |
monitoring | 12 years ago | |
net_infrastructure | 12 years ago | |
network | 12 years ago | |
notification | 12 years ago | |
packaging | 12 years ago | |
source_control | 12 years ago | |
system | 12 years ago | |
utilities | 12 years ago | |
web_infrastructure | 12 years ago |