You are not logged in.
I was just wondering: If you update a package, and the new version of the package uses new files, but doesn't need other older files, will pacman automatically delete those files?
I would think that it does, but i'd just like to verify.
Thanks!
joe@trusktr.io - joe at true skater dot io.
Offline
what files are you talking about?
configuration files or executable files?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
pacman removes the old version of the package, and then installs the new version. When it's done all files that belonged to the old version are gone, and all files that belong to the new version are where they should be.
There are exceptions, notably config files, that are handled by the pacnew process.
Offline
I think he means that it works like delta repos, but as tomk explains it doesn't ![]()
Offline
Actually.. if you uninstall pacman, /var/cache/pacman/pkg doesn't get deleted... And also a lot of others directories in /usr belongings to other packages remain in place.
Not to mention all the files created by programs at runtime.
Offline
Ok, cool, thanks for the input. So I guess as tomk said, old version is completely wiped out, then new version installed (except for customized configuration files of course).
joe@trusktr.io - joe at true skater dot io.
Offline