Software Management call for RFEs
misc at zarb.org
Fri May 24 07:26:00 UTC 2013
Le vendredi 24 mai 2013 à 07:08 +0200, Ralf Corsepius a écrit :
> On 05/23/2013 06:05 PM, Simone Caronni wrote:
> > On 23 May 2013 17:38, James Antill <james at fedoraproject.org
> > <mailto:james at fedoraproject.org>> wrote:
> > On Thu, 2013-05-23 at 13:52 +0200, Simone Caronni wrote:
> > > mv /etc/nagios/nagios.cfg /etc/nagios/nagios.cfg.mine
> > > yum reinstall nagios --onlyfile /etc/nagios/nagios.cfg
> > How is this functionally different from "yum reinstall nagios" ?
> > Yes, yum/rpm will currently replace files with identical copies but
> > functionally the extra copies are "just wasting reinstall time".
> > By doing "yum reinstall nagios" I don't have the the default config
> > files (i.e. nagios.cfg.rpmnew is not created). This happens only on
> > upgrades.
> yum remove <pkg>
> yum install <pkg>
> should do what you want (backups of modified config files).
But that's unfortunately not always convenient if you need to remove
dependent packages for "yum remove" ?
I guess yum-shell may help in that case ?
More information about the devel