[Spacewalk-list] Problem after update of yum

Olivier FONT contact at olivierfont.fr
Sun Nov 26 16:39:57 UTC 2017


Alright.

Thanks for the advise.
I will try this.

2017-11-24 15:13 GMT+01:00 Andreas Dijkman <andreas.dijkman at cygnis.nl>:

> Why would you delete that folder? Just set all the repos to enabled=0 to
> disable the repositories that are created by packages and leave all the
> RHN-stuff in tact.
>
> I usually run the following command in that folder: sed -i
> 's/enabled=1/enabled=0/' *.repo
>
> If any RPM is updating the repo-files they usually don’t get overridden by
> the updated RPM, but the new file is put along side the modified repo-files
> with the extension .rpmnew added to it. That way yum won’t pick up the new
> files and all file-based repositories are disabled by the sed-command.
>
> Kind regards,
> Andreas Dijkman
>
>
> On 24 Nov 2017, at 14:55, Olivier FONT <contact at olivierfont.fr> wrote:
>
> Hi folks,
>
> I face an issue when I update yum or upgrade CentOS.
> The /etc/yum.repos.d folder is recreated and client cannot update or
> install any software anymore.
>
> Does anybody faced this kind of problem already?
> Do you have any advice to provide to avoid this problem?
>
> Thank you.
>
> Regards,
> Olivier FONT
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
Cordialement,
Olivier FONT
---------------------------------
http://www.olivierfont.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20171126/ad072437/attachment.htm>


More information about the Spacewalk-list mailing list