On Sat, 2007-10-27 at 00:53 +0200, Carlos E. R. wrote:

> The Saturday 2007-10-27 at 00:19 +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.
> 
> - -- 
> Cheers,
>         Carlos E. R.

Configuration files that have been determined by RPM database to have
been modified are saved with a .rpmsave extension.

To get a list of configuration files associated with an installed
package, run the command 'rpm -qc package_name'.

As additional aside, when you are updating a package (i.e., rpm -U
package_name), modified configuration files are given the .rpmorig
or .rpmsave extension.  You will then need to copy any important parts
of those configuration files into the newly installed configuration
file.

One more thing:  the -U (upgrade) and -F (freshen) are both upgrade
options, except that Freshen will validate that the package does indeed
exist already on the system.  If the package doesn't exist, it will stop
the installation process.   -U will install as new if the package didn't
already exist on the system.

-- 
---Bryen---

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to