Cleaner for config files in /var/lib/dpkg/info

Bug #432991 reported by Roman Horník
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Invalid
Undecided
Unassigned

Bug Description

If you remove DEB packages without "--purge" option, these packages remain configuration files in /var/lib/dpkg/info
These configuration files can be removed using the command:

# aptitude purge -y $(aptitude search '~c' | awk '{ print $2 }')

Tags: new-cleaner
tags: added: new-cleaner
Changed in bleachbit:
assignee: nobody → Andrew Ziem (ahziem1)
Andrew Ziem (ahziem1)
Changed in bleachbit:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Removed but not purged DEB packages can be removed using:

aptitude -y purge '~c'

Revision history for this message
Andrew Ziem (ahziem1) wrote :

example output of " sudo aptitude -y -v -q -s purge '~c'"

Revision history for this message
Andrew Ziem (ahziem1) wrote :

1. Can anyone confirm that "sudo aptitude -y -v -q -s purge '~c'" frees more than 0 bytes of space after running "apt-get autoremove" (which BleachBit already supports)?

2. What is the difference between "purge '~c'" and "purge --purge-unused"?

Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote : Re: [Bug 432991] Re: Cleaner for config files in /var/lib/dpkg/info

When a Debian package is removed, its configuration files are
preserved. The 'purge' action removes configuration files, too, and
"aptitude purge '~c'" purges those packages which are removed but
whose configuration files were not.

Changed in bleachbit:
status: Triaged → Incomplete
Changed in bleachbit:
assignee: Andrew Ziem (ahziem1) → nobody
Andrew Ziem (ahziem1)
Changed in bleachbit:
status: Incomplete → Triaged
importance: Medium → Wishlist
milestone: none → 2.0
Revision history for this message
Andrew Ziem (ahziem1) wrote :

If this need still exists, please file an issue in the new home for enhancement requests: https://github.com/bleachbit/wishlist

Changed in bleachbit:
importance: Wishlist → Undecided
milestone: 2.2 → none
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.