[Centos] yum configuration files lost while/after updating ?

Martin Hamant mh at accelance.fr
Tue Sep 21 15:10:13 UTC 2004


On Tue, 21 Sep 2004 11:06:04 -0400
William Warren <hescominsoon at emmanuelcomputerconsulting.com> disait:

> Yes i noticed that while installing the upgrades it installed a 
> new yum.conf.
> 

But here, there no yum.conf anymore ... this is a broken link.
anyway /etc/yum.conf-SAVE contains my modified yum configuration. By
renaming it i'm able to continue. Without doing that, yum simply don't
have configuration file.

> donavan nelson wrote:
> 
> > yum upgrades always seem to break the yum.conf file.  This is an 
> > upstream issue (as it's present in FC2 as well).
> > 
> > I've gotten so irritated by it I have a  cron that I run every 10 
> > minutes to restore "my" yum.conf and apt .list files.
> > 
> > Martin Hamant wrote:
> > 
> >> Hello centOS users,
> >>
> >> Today i've installed a fresh centos 3.1, and modified the [update]
> >> section of my/etc/yum.conf, to point on my own update repository.
> >>
> >> My update repository (3.1) contains exactly the same content that
> >the> official one. Update was successful but now /etc/yum.conf is
> >missing :(>
> >> Here it is what i've noticed during the update process:
> >>
> >> # cat /etc/redhat-release CentOS release 3.1 (final)
> >>
> >> #yum update
> >>
> >> [...]
> >> warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
> >> yum 100 % done 96/191 [...]
> >> warning: /etc/centos-base-yum.conf saved as
> >> /etc/centos-base-yum.conf.rpmsave Completing update for yum  -
> >110/191> [...]
> >> Transaction(s) Complete
> >>
> >> # cat /etc/redhat-release CentOS release 3.3 (final)
> >>
> >> => files /etc/yum.conf*
> >> /etc/yum.conf -> /etc/centos-base-yum.conf ( Broken link! read the
> >> rest)
> >> /etc/yum.conf.rpmnew
> >> /etc/yum.conf-SAVE
> >>
> >> => files /etc/centos*
> >>
> >> /etc/centos-base-yum.conf.rpmsave
> >> /etc/centos-yum.conf
> >>
> >> I don't understand what happened :-O
> >> An idea ?
> >>
> >>  
> >>
> > _______________________________________________
> > CentOS mailing list
> > CentOS at caosity.org
> > http://www.caosity.org/mailman/listinfo/centos
> > 
> 


-- 
Martin



More information about the CentOS mailing list