Re: Software Management call for RFEs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
> > <mailto:james@xxxxxxxxxxxxxxxxx>> 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 ?

-- 
Michael Scherer

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux