There are a few options : - You can prevent this by not syncing the centos-release RPM from the CentOS repository but managing exceptions for many repositories is a lot of work, some packages such as Chrome also insist on installing their own .repo file even - We run a job every night which simply removes all .repo files from /etc/yum.repos.d/ as I want all my managed machines to only get RPM's from Spacewalk
While the second option isn't the most elegant it does work reliable. -- Jan-Albert van Ree Jan-Albert van Ree Linux System Administrator MARIN Support Group E mailto:[email protected] T +31 317 49 35 48 MARIN 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl ________________________________________ From: [email protected] <[email protected]> on behalf of Domenico Malorni <[email protected]> Sent: Tuesday, September 01, 2015 11:28 To: [email protected] Cc: [email protected] Subject: [Spacewalk-list] Remote .repo files re-creation Hi, we found that when we update our Centos systems to a minor version release (ex: 6.6) the .repo files are recreated, so systems seek updates on remote repositories and not on spacewalk repository. It is possible to configure systems to prevent the re-creation of .repo files? We have the same problem for updates from unofficial repositories, such as Remi. Systems: Centos 5.X, 6.x Spacewalk server: Centos 6.6 / Spacewalk 2.3 thanks a lot Domenico Malorni _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
