Mailinglist Archive: zypp-devel (70 mails)
| < Previous | Next > |
[zypp-devel] Re: [opensuse] How do I delete a programs and all it's configuration files?
- From: Jan Kupec <jkupec@xxxxxxx>
- Date: Sat, 27 Oct 2007 12:30:45 +0200
- Message-id: <47231355.8090700@xxxxxxx>
Carlos E. R. wrote:
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
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
The Saturday 2007-10-27 at 11:48 +0200, Aniruddha wrote:
And how do I make sure this does happen?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.
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |