[zypp-devel] Re: [opensuse] How do I delete a programs and all it's configuration files?
Carlos E. R. wrote:
The Saturday 2007-10-27 at 11:48 +0200, Aniruddha wrote:
What's openSUSE's policy in regards to config files? Does removing programs with yast/zipper also remove it's config files by default? And if not how do I achieve this?
AFAIK, they are not removed. At least, they are not removed if they were modified.
And how do I make sure this does happen?
What do you want to do, remove them? That has to be done manually.
For instance, if you install mysql, create some databases, then remove mysql, the databases remain. You might want to reinstall them later. In
This is somewhat different - the database files are actually user data, not config files. They should never ever be erased automatically. And also it is not possible, since you can put your user data anywhere, package management does not know about them. But as for e.g. /etc/my.cnf (most probably modified), it would be very handy if we had a possibility to remove them automatically (like aptitude purge <package> or apt-get --purge remove <package> does). Does rpm support something like this? Jano
any case, removing them automatically would be a bad idea, could cause accidents.
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Sat, Oct 27, Jan Kupec wrote:
But as for e.g. /etc/my.cnf (most probably modified), it would be very handy if we had a possibility to remove them automatically (like aptitude purge <package> or apt-get --purge remove <package> does). Does rpm support something like this?
AFAIK there is no option to prevent rpm from creating a backup copy of modified config files. Unmodified configfiles files get deleted. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Jan Kupec
-
Michael Andres