Issues with package uninstall
Bug #1551194 reported by
Michal Dziczkowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have follwing issues with uninstalling packages:
When I try to uninstall package, by some of them I get following output:
`dpkg: warning: while removing the package [package name], the directory "[directory]" was not empty so not removed`
where:
[package name] is the name of the removed package and [directory] - the folder name with contained some from the package's files.
In the result, the uninstaller has left behind the files from the uninstalled package and they don't got removed. Even if the package is considered after it as uninstalled, the files and folders still exist on disk and take away it's space.
I still use a Ubuntu 14.10
To post a comment you must log in.
If the files aren't shipped with the package or removed by the package's maintainer scripts, dpkg won't go removing "unknown" files.
In some cases, the latter might be resolved by purging packages instead of removing ('dpkg -P <package>' on 'apt-get purge <package>'), but in the case where a package intentionally or accidentally leaves files behind, it would be dangerous for dpkg to randomly remove them, as we can't tell if they were created by you or the software.