How do package managers track the installed files?
+1
−0
Suppose for example I install a .deb package that has no dependencies, and the corresponding program includes some self-update feature (or the documentation asks users to do something like sudo foo-prog self update periodically). Later I want to uninstall the package.
How does the system know what files to remove?
What happens if the program's files have been modified or removed, or if new files have been added to those directories, since installation?
Is this different for different distributions (and thus package managers)?

0 comment threads