Il giorno gio 12 mag 2022 alle ore 12:34 David White via Users < users@ovirt.org> ha scritto:
> Hello, > I followed some instructions I found in > https://www.ovirt.org/documentation/upgrade_guide/ and > https://www.ovirt.org/download/install_on_rhel.html by doing the > following: > > 883 subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms > 884 subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms > 885 subscription-manager repos --enable > codeready-builder-for-rhel-8-x86_64-rpms > 886 rpm -i --justdb --nodeps --force " > http://mirror.centos.org/centos/8-stream/BaseOS/$(rpm --eval > '%_arch')/os/Packages/centos-stream-release-8.6-1.el8.noarch.rpm" > 887 cat >/etc/yum.repos.d/CentOS-Stream-Extras.repo <<'EOF' > 888 [cs8-extras] > 889 name=CentOS Stream $releasever - Extras > 890 mirrorlist= > http://mirrorlist.centos.org/?release=8-stream&arch=$basearch&repo=extras&infra=$infra > 891 #baseurl= > http://mirror.centos.org/$contentdir/8-stream/extras/$basearch/os/ > 892 gpgcheck=1 > 893 enabled=1 > 894 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official > 895 EOF > 896 cat >/etc/yum.repos.d/CentOS-Stream-Extras-common.repo <<'EOF' > 897 [cs8-extras-common] > 898 name=CentOS Stream $releasever - Extras common packages > 899 mirrorlist= > http://mirrorlist.centos.org/?release=8-stream&arch=$basearch&repo=extras-extras-common > 900 #baseurl= > http://mirror.centos.org/$contentdir/8-stream/extras/$basearch/extras-common/ > 901 gpgcheck=1 > 902 enabled=1 > 903 gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Extras > 904 EOF > 905 echo "8-stream" > /etc/yum/vars/stream > 906 dnf distro-sync --nobest > 907 reboot > 908 dnf install centos-release-ovirt45 > 909 dnf install centos-release-ovirt45 --enablerepo=extras > > *But now, yum update isn't working because its trying to install > centos-stream-release 8.6.1 over redhat-release-8.6.* > > Surely I shouldn't install CentOS stream release over RHEL release, should > I? > See below: > > [root@phys1 dwhite]# cat /etc/redhat-release > Red Hat Enterprise Linux release 8.5 (Ootpa) > [root@phys1 dwhite]# yum update > Updating Subscription Management repositories. > Last metadata expiration check: 0:02:01 ago on Thu 12 May 2022 05:59:38 AM > EDT. > Error: > Problem: installed package centos-stream-release-8.6-1.el8.noarch > obsoletes redhat-release < 9 provided by redhat-release-8.6-0.1.el8.x86_64 > - cannot install the best update candidate for package > redhat-release-8.5-0.8.el8.x86_64 > - problem with installed package centos-stream-release-8.6-1.el8.noarch > (try to add '--skip-broken' to skip uninstallable packages or '--nobest' > to use not only best candidate packages) > you can: rpm -e --justdb centos-stream-release dnf update redhat-release -y rpm -i --justdb --nodeps --force " http://mirror.centos.org/centos/8-stream/BaseOS/$(rpm --eval '%_arch')/os/Packages/centos-stream-release-8.6-1.el8.noarch.rpm" Alma, Rocky and others are providing centos-release in their own release rpm so this step is not needed there. > > > Sent with ProtonMail <https://protonmail.com/> secure email. > _______________________________________________ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/privacy-policy.html > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/CBR4TRTKNVFIZKRRQOXU3TQSNVWV4D2B/ > -- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbona...@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.*
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/JF3MJL3ABVIBKJV4FHY23WERURJF76NG/