[ovirt-users] Dependence problem about Hosted Engine 3.5

Sandro Bonazzola sbonazzo at redhat.com
Tue Oct 21 06:32:00 UTC 2014


Il 20/10/2014 16:45, Xie, Chao ha scritto:
> Hello
> 
>          I deploy the 3.5 and meet the depency package problem.
> 
>          When I execute “yum install ovirt-hosted-engine-setup”, then The Error Message is below:
> 
> ==========
> 
> Error: Package: libvirt-lock-sanlock-0.10.2-29.el6_5.7.x86_64 (rhel-6-server-rhev-mgmt-agent-beta-rpms)


I may be wrong but it seems you're trying to install oVirt on a system with RHEV beta channel enabled.
Both RHEV and oVirt have ovirt-hosted-engine-setup and you may end in some weird dependency resolution having both RHEV and oVirt repo enabled.
I suggest you to either use the RHEV channel or the oVirt repositories in order to solve your dependency resolution issue.



> 
>            Requires: libvirt = 0.10.2-29.el6_5.7
> 
>            Available: libvirt-0.8.1-27.el6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.1-27.el6
> 
>            Available: libvirt-0.8.1-27.el6_0.3.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.1-27.el6_0.3
> 
>            Available: libvirt-0.8.1-27.el6_0.5.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.1-27.el6_0.5
> 
>            Available: libvirt-0.8.1-27.el6_0.6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.1-27.el6_0.6
> 
>            Available: libvirt-0.8.7-18.el6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.7-18.el6
> 
>            Available: libvirt-0.8.7-18.el6_1.1.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.7-18.el6_1.1
> 
>            Available: libvirt-0.8.7-18.el6_1.4.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.8.7-18.el6_1.4
> 
>            Available: libvirt-0.9.4-23.el6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6
> 
>            Available: libvirt-0.9.4-23.el6_2.1.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6_2.1
> 
>            Available: libvirt-0.9.4-23.el6_2.4.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6_2.4
> 
>            Available: libvirt-0.9.4-23.el6_2.6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6_2.6
> 
>            Available: libvirt-0.9.4-23.el6_2.7.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6_2.7
> 
>            Available: libvirt-0.9.4-23.el6_2.8.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6_2.8
> 
>            Available: libvirt-0.9.4-23.el6_2.9.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.4-23.el6_2.9
> 
>            Available: libvirt-0.9.10-21.el6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6
> 
>            Available: libvirt-0.9.10-21.el6_3.1.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.1
> 
>            Available: libvirt-0.9.10-21.el6_3.3.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.3
> 
>            Available: libvirt-0.9.10-21.el6_3.4.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.4
> 
>            Available: libvirt-0.9.10-21.el6_3.5.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.5
> 
>            Available: libvirt-0.9.10-21.el6_3.6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.6
> 
>            Available: libvirt-0.9.10-21.el6_3.7.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.7
> 
>            Available: libvirt-0.9.10-21.el6_3.8.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.9.10-21.el6_3.8
> 
>            Available: libvirt-0.10.2-18.el6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6
> 
>            Available: libvirt-0.10.2-18.el6_4.2.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.2
> 
>            Available: libvirt-0.10.2-18.el6_4.3.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.3
> 
>            Available: libvirt-0.10.2-18.el6_4.4.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.4
> 
>            Available: libvirt-0.10.2-18.el6_4.5.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.5
> 
>            Available: libvirt-0.10.2-18.el6_4.8.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.8
> 
>            Available: libvirt-0.10.2-18.el6_4.9.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.9
> 
>            Available: libvirt-0.10.2-18.el6_4.14.x86_64 (rhel-6-server-rhev-mgmt-agent-beta-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.14
> 
>            Available: libvirt-0.10.2-18.el6_4.15.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-18.el6_4.15
> 
>            Available: libvirt-0.10.2-29.el6.x86_64 (rhel-6-server-rhev-mgmt-agent-beta-rpms)
> 
>                libvirt = 0.10.2-29.el6
> 
>            Available: libvirt-0.10.2-29.el6.1.x86_64 (rhel-6-server-rhev-mgmt-agent-beta-rpms)
> 
>                libvirt = 0.10.2-29.el6.1
> 
>            Available: libvirt-0.10.2-29.el6_5.2.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.2
> 
>            Available: libvirt-0.10.2-29.el6_5.3.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.3
> 
>            Available: libvirt-0.10.2-29.el6_5.4.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.4
> 
>            Available: libvirt-0.10.2-29.el6_5.5.x86_64 (rhel-6-server-rhev-mgmt-agent-beta-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.5
> 
>            Available: libvirt-0.10.2-29.el6_5.7.x86_64 (rhel-6-server-rhev-mgmt-agent-beta-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.7
> 
>            Available: libvirt-0.10.2-29.el6_5.8.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.8
> 
>            Available: libvirt-0.10.2-29.el6_5.9.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.9
> 
>            Available: libvirt-0.10.2-29.el6_5.10.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.10
> 
>            Available: libvirt-0.10.2-29.el6_5.11.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.11
> 
>            Available: libvirt-0.10.2-29.el6_5.12.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-29.el6_5.12
> 
>            Installing: libvirt-0.10.2-46.el6.x86_64 (rhel-6-server-rpms)
> 
>                libvirt = 0.10.2-46.el6
> 
> ==========
> 
>  
> 
> *According to the log above, “0.10.2-29.el6_5.7”is available but the yum just choose the newest version. *
> 
> *So I try the “yum install  ovirt-hosted-engine-setup   libvirt-0.10.2-29.el6_5.7” but there is new dependency problem and  failed as below.*
> 
>  
> 
> ============
> 
> --> Processing Dependency: otopi >= 1.2.2 for package: ovirt-hosted-engine-setup-1.2.0-0.3.beta.el6ev.noarch
> 
> --> Processing Dependency: virt-viewer for package: ovirt-hosted-engine-setup-1.2.0-0.3.beta.el6ev.noarch
> 
> --> Running transaction check
> 
> ---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6 will be installed
> 
> ---> Package dnsmasq.x86_64 0:2.48-14.el6 will be installed
> 
> ---> Package ebtables.x86_64 0:2.0.9-6.el6 will be installed
> 
> ---> Package gnutls-utils.x86_64 0:2.8.5-14.el6_5 will be installed
> 
> ---> Package iscsi-initiator-utils.x86_64 0:6.2.0.873-13.el6 will be installed
> 
> ---> Package libvirt-client.i686 0:0.10.2-29.el6_5.7 will be installed                     ß--------------I think this is the root cause . yum choose
> a **i686**rpm!!!
> 
>  
> 
> ……omit some message
> 
>  
> 
> --> Finished Dependency Resolution
> 
> Error:  Multilib version problems found. This often means that the root
> 
>        cause is something else and multilib version checking is just
> 
>        pointing out that there is a problem. Eg.:
> 
>       
> 
>          1. You have an upgrade for libvirt-client which is missing some
> 
>             dependency that another package requires. Yum is trying to
> 
>             solve this by installing an older version of libvirt-client of the
> 
>             different architecture. If you exclude the bad architecture
> 
>             yum will tell you what the root cause is (which package
> 
>             requires what). You can try redoing the upgrade with
> 
>             --exclude libvirt-client.otherarch ... this should give you an error
> 
>             message showing the root cause of the problem.
> 
>       
> 
>          2. You have multiple architectures of libvirt-client installed, but
> 
>             yum can only see an upgrade for one of those arcitectures.
> 
>             If you don't want/need both architectures anymore then you
> 
>             can remove the one with the missing update and everything
> 
>             will work.
> 
>       
> 
>          3. You have duplicate versions of libvirt-client installed already.
> 
>             You can use "yum check" to get yum show these errors.
> 
>       
> 
>        ...you can also use --setopt=protected_multilib=false to remove
> 
>        this checking, however this is almost never the correct thing to
> 
>        do as something else is very likely to go wrong (often causing
> 
>        much more problems).
> 
>       
> 
>        Protected multilib versions: libvirt-client-0.10.2-29.el6_5.7.i686 != libvirt-client-0.10.2-46.el6.x86_64
> 
> Error: Protected multilib versions: augeas-libs-1.0.0-5.el6_5.1.i686 != augeas-libs-1.0.0-7.el6.x86_64
> 
> ============
> 
>  
> 
> *Then I test libvirt-client alone ,it works fine as below.*
> 
>  
> 
> ==========
> 
> [root at rhev-pq-host ~]# yum install libvirt-client-0.10.2-29.el6_5.7
> 
> Loaded plugins: product-id, security, subscription-manager
> 
> This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
> 
> Setting up Install Process
> 
> Resolving Dependencies
> 
> --> Running transaction check
> 
> ---> Package libvirt-client.x86_64 0:0.10.2-29.el6_5.7 will be installed
> 
> --> Processing Dependency: nc for package: libvirt-client-0.10.2-29.el6_5.7.x86_64
> 
> --> Processing Dependency: gnutls-utils for package: libvirt-client-0.10.2-29.el6_5.7.x86_64
> 
> --> Processing Dependency: cyrus-sasl-md5 for package: libvirt-client-0.10.2-29.el6_5.7.x86_64
> 
> --> Processing Dependency: libyajl.so.1()(64bit) for package: libvirt-client-0.10.2-29.el6_5.7.x86_64
> 
> --> Running transaction check
> 
> ---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6 will be installed
> 
> ---> Package gnutls-utils.x86_64 0:2.8.5-14.el6_5 will be installed
> 
> ---> Package nc.x86_64 0:1.84-22.el6 will be installed
> 
> ---> Package yajl.x86_64 0:1.0.7-3.el6 will be installed
> 
> --> Finished Dependency Resolution
> 
>  
> 
> Dependencies Resolved
> 
>  
> 
> ============================================================================================================
> 
> Package             Arch        Version                 Repository                                    Size
> 
> ============================================================================================================
> 
> Installing:
> 
> libvirt-client      x86_64      0.10.2-29.el6_5.7       rhel-6-server-rhev-mgmt-agent-beta-rpms      4.0 M
> 
> Installing for dependencies:
> 
> cyrus-sasl-md5      x86_64      2.1.23-15.el6           rhel-6-server-rpms                            47 k
> 
> gnutls-utils        x86_64      2.8.5-14.el6_5          rhel-6-server-rpms                           100 k
> 
> nc                  x86_64      1.84-22.el6             rhel-6-server-rpms                            57 k
> 
> yajl                x86_64      1.0.7-3.el6             rhel-6-server-rpms                            27 k
> 
>  
> 
> Transaction Summary
> 
> ============================================================================================================
> 
> Install       5 Package(s)
> 
>  
> 
> Total download size: 4.2 M
> 
> Installed size: 15 M
> 
> Is this ok [y/N]:
> 
> ==========
> 
>  
> 
>  
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



More information about the Users mailing list