Hello centos community, I have a personal repository with self-made RPMs, and i need to include this repository to yum.conf. But i've noticed that yum configuration is overwritten when yum is updated. I can't update yum.conf manually on my servers each time yum is updated ... Is anyone have an idea ? Thank you. -- Martin
Martin Hamant wrote:> Hello centos community, > > I have a personal repository with self-made RPMs, and i need to include > this repository to yum.conf. But i've noticed that yum configuration is > overwritten when yum is updated.No, it shouldn't: [root at www2 conf]# rpm -qc yum|grep conf /etc/yum.conf And in the spec file: %config(noreplace) %{_sysconfdir}/yum.conf> I can't update yum.conf manually on > my servers each time yum is updated ...But centos-yumconf did (until Sep 14, 2004) just link /etc/centos-yum.conf to /etc/yum.conf. Is that, what you're seeing?> Is anyone have an idea ?I have my own yumconf package with a preposterously high Epoch - 10. So yum won't install centos-yumconf over my package :) Ralph -- Ralph Angenendt......ra at br-online.de | .."Text processing has made it possible Bayerischer Rundfunk...HA-Multimedia | ....to right-justify any idea, even one Rundfunkplatz 1........80300 M?nchen | .which cannot be justified on any other Tl:089.5900.16023..Fx:089.5900.16240 | ..........grounds." -- J. Finnegan, USC -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20041014/183ec799/attachment-0004.sig>
On Thu, 14 Oct 2004 12:02:37 +0200 Ralph Angenendt <ra+centos at br-online.de> disait:> Martin Hamant wrote: > > Hello centos community, > > > > I have a personal repository with self-made RPMs, and i need to > > include this repository to yum.conf. But i've noticed that yum > > configuration is overwritten when yum is updated. > > No, it shouldn't: > > [root at www2 conf]# rpm -qc yum|grep conf > /etc/yum.conf > > And in the spec file: > > %config(noreplace) %{_sysconfdir}/yum.conf > > > I can't update yum.conf manually on > > my servers each time yum is updated ... > > But centos-yumconf did (until Sep 14, 2004) just link > /etc/centos-yum.conf to /etc/yum.conf. > > Is that, what you're seeing?ho ok, maybe it's corrected since this incident (Subject:[Centos] yum configuration files lost while/after updating ? 21 Sep 2004) ... i see that there are no symbolic links on a fresh centos 3.3 about yum configuration. centos-yum.conf and yum.conf are two different files. centos-yumconf SRPMS confirm that /etc/centos-yum.conf is overwrited: %attr(0644,root,root) /etc/centos-yum.conf so i'm happy.> > > Is anyone have an idea ? > > I have my own yumconf package with a preposterously high Epoch - 10. > So yum won't install centos-yumconf over my package :) >centos-yumconf overwrite centos-yum.conf if i believe the SRPM. Ho do you make the centos-yumconf package to not overwrite you own package? do you changed the name or release version ? Do you simply replace /etc/yum.conf ? Thanks ! -- Martin
Hi Martin, I have the same problem. I was frightened when I first saw this behaviour. For me this is catastrophic. It's why I disallowed yum to be updated itself, it's the best thing to do I think, until they have solved the problem. If some others have had the same problem, please report also.. Thanks. Kind regards, Daniel>>>Hello centos community, I have a personal repository with self-made RPMs, and i need to include this repository to yum.conf. But i've noticed that yum configuration is overwritten when yum is updated. I can't update yum.conf manually on my servers each time yum is updated ... Is anyone have an idea ? Thank you. -- Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20041014/cff24fde/attachment-0004.html>
On Thu, 2004-10-14 at 10:47, dan1 wrote:> Hi Martin, > > I have the same problem. I was frightened when I first saw this > behaviour. > For me this is catastrophic. It's why I disallowed yum to be updated > itself, it's the best thing to do I think, until they have solved the > problem. > > If some others have had the same problem, please report also.. > Thanks. >Easy solution. rpm -e centos-yumconf and make your yum.conf however you'd like. -sv
On Thu, 14 Oct 2004 16:47:03 +0200 "dan1" <dan1 at edenpics.com> disait:> Hi Martin, > > I have the same problem. I was frightened when I first saw this > behaviour. For me this is catastrophic. It's why I disallowed yum to > be updated itself, it's the best thing to do I think, until they have > solved the problem. > > If some others have had the same problem, please report also.. > Thanks. >This problem is apparently solved since 3.3, see my conversation with Ralph in this thread :) -- Martin