better package management

Jude DaShiell jdashiel at shellworld.net
Wed May 7 09:51:38 UTC 2014


Hi, I ran into this situation on archlinux.  The pacman command almost 
has this covered except that it doesn't appear to clear post-install 
files created by packages unless I'm reading something and it's not 
quite connecting.

On Thu, 1 May 2014, Luke Yelavich wrote:

> On Thu, May 01, 2014 at 02:42:06AM EST, Kyle wrote:
> > I believe these are files that are created during/after installation
> > that are not actually part of the package. So far as I know, there is no
> > package manager that can track files that are created after a package
> > has been installed on the system, and this is generally undesirable.
> > Removing such files using the package manager would be similar to
> > removing /var/www after Apache is removed. You would lose all your
> > website documents even if migrating to nginx for example. Hope this
> > helps explain the situation.
> 
> Apt/dpkg is flexible enough to allow the removal of any extra created files at package removal time if the package maintainer wishes it. Apt has a purge command that will remove the package and all its config files. The package maintainer can then write a post removal script that checks to see if the purge command was given, and if so, remove whatever other files that the package created.
> 
> Luke
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
> 
> 

jude <jdashiel at shellworld.net>




More information about the Blinux-list mailing list