[CentOS-devel] Yum branding

Fri Oct 13 13:56:57 UTC 2017
aleksander.baranowski <aleksander.baranowski at yahoo.pl>

Howdy,

I found out that there is new Red Hat branding in yum.

1. Get newest yum.
2. Move all repos to different location (probably enable=0 also would
work - not tested), and disable any other repo (if there is repo enabled
from another sources/plugin).
3. Try to update the system.

One-liner: "sudo yum update yum -y && mkdir repos && sudo mv
/etc/yum.repos.d/* repos/. && sudo yum update"

Vagrant (libvirt) oneliner:

" vagrant init centos/7 && vagrant up --provider=libvirt && vagrant ssh
-c 'sudo yum update yum -y && mkdir repos && sudo mv /etc/yum.repos.d/*
repos/. && sudo yum update'"

yum update returns:
"""
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 To enable Red Hat Subscription Management repositories:
     subscription-manager repos --enable <repo>
 To enable custom repositories:
     yum-config-manager --enable <repo>
"""

Patch responsible for change: BZ-1175309-enable-repos-instruction.patch

This patch has number 230 in spec file.

Bests,
Alex


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 750 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20171013/212af467/attachment-0007.sig>