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-releaseerror: Failed 
dependencies:centos-release >= 7-5.1804.el7.centos.2 is needed by (installed) 
centos-release-storage-common-0:2-2.el8.noarchcentos-release >= 8-0.1905.el8 is 
needed by (installed) 
centos-release-ceph-pacific-1.0-2.el8.noarchcentos-release >= 8.1 is needed by 
(installed) centos-release-gluster10-1.0-1.el8s.noarchcentos-release is needed 
by (installed) centos-release-virt-common-0:1-2.el8.noarchcentos-release is 
needed by (installed) centos-release-opstools-1-12.el8.noarchcentos-release is 
needed by (installed) centos-release-nfv-common-1-3.el8.noarchcentos-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 <[email protected]> 
wrote:


> 

> 

> Il giorno gio 12 mag 2022 alle ore 12:34 David White via Users 
> <[email protected]> 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-rpms884 
> > subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms885 
> > subscription-manager repos --enable 
> > codeready-builder-for-rhel-8-x86_64-rpms886 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 - Extras890 
> > mirrorlist=http://mirrorlist.centos.org/?release=8-stream&arch=$basearch&repo=extras&infra=$infra891
> >  
> > #baseurl=http://mirror.centos.org/$contentdir/8-stream/extras/$basearch/os/892
> >  gpgcheck=1893 enabled=1894 
> > gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official895 EOF896 
> > cat >/etc/yum.repos.d/CentOS-Stream-Extras-common.repo <<'EOF'897 
> > [cs8-extras-common]898 name=CentOS Stream $releasever - Extras common 
> > packages899 
> > mirrorlist=http://mirrorlist.centos.org/?release=8-stream&arch=$basearch&repo=extras-extras-common900
> >  
> > #baseurl=http://mirror.centos.org/$contentdir/8-stream/extras/$basearch/extras-common/901
> >  gpgcheck=1902 enabled=1903 
> > gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Extras904 EOF905 
> > echo "8-stream" > /etc/yum/vars/stream906 dnf distro-sync --nobest907 
> > reboot908 dnf install centos-release-ovirt45909 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-releaseRed Hat Enterprise Linux 
> > release 8.5 (Ootpa)[root@phys1 dwhite]# yum updateUpdating 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-releasednf update redhat-release -yrpm -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 -- [email protected]
> > To unsubscribe send an email to [email protected]
> > 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/[email protected]/message/CBR4TRTKNVFIZKRRQOXU3TQSNVWV4D2B/
> 

> 

> 

> --
> 

> Sandro Bonazzola
> 

> MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
> 

> Red Hat EMEA
> 

> [email protected]
> 

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

> 

Attachment: publickey - [email protected] - 0x320CD582.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/IWRBKONWWZ7FSSPM5PIEAKIFABFHKZUB/

Reply via email to