Il giorno ven 13 mag 2022 alle ore 02:18 David White <dmwhite823@protonmail.com> ha scritto:
That first command produces the following error, some of which look pretty important to the functioning of oVirt. 


[root@phys1 dwhite]# rpm -e --justdb centos-stream-release

sorry, forgot --nodeps :-/
 
error: Failed dependencies:
centos-release >= 7-5.1804.el7.centos.2 is needed by (installed) centos-release-storage-common-0:2-2.el8.noarch
centos-release >= 8-0.1905.el8 is needed by (installed) centos-release-ceph-pacific-1.0-2.el8.noarch
centos-release >= 8.1 is needed by (installed) centos-release-gluster10-1.0-1.el8s.noarch
centos-release is needed by (installed) centos-release-virt-common-0:1-2.el8.noarch
centos-release is needed by (installed) centos-release-opstools-1-12.el8.noarch
centos-release is needed by (installed) centos-release-nfv-common-1-3.el8.noarch
centos-release is needed by (installed) centos-release-ovirt45-8.6-5.el8s.noarch


Sent with ProtonMail secure email.

------- Original Message -------
On Thursday, May 12th, 2022 at 7:08 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:



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
892 gpgcheck=1
893 enabled=1
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
901 gpgcheck=1
902 enabled=1
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 secure email.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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

sbonazzo@redhat.com

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.





--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com   

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.