Linux | Getting error when updating package to next version
by mallikarjuna reddy from LinuxQuestions.org on (#5Q0PP)
Which is installed in the system already, so we want to update this to next version
$ rpm -qa libcurl
libcurl-7.29.0-59.el7_9.1.x86_64
$ sudo yum install -y https://yum.oracle.com/repo/OracleLi...el7.x86_64.rpm
Loaded plugins: amazon-id, ulninfo
libcurl-7.29.0-59.0.1.el7.x86_64.rpm | 224 kB 00:00:00
Examining /var/tmp/yum-root-sMueo9/libcurl-7.29.0-59.0.1.el7.x86_64.rpm: libcurl-7.29.0-59.0.1.el7.x86_64
Marking /var/tmp/yum-root-sMueo9/libcurl-7.29.0-59.0.1.el7.x86_64.rpm as an update to libcurl-7.29.0-59.el7_9.1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be updated
--> Processing Dependency: libcurl = 7.29.0-59.el7_9.1 for package: curl-7.29.0-59.el7_9.1.x86_64
---> Package libcurl.x86_64 0:7.29.0-59.0.1.el7 will be an update
--> Running transaction check
---> Package libcurl.i686 0:7.29.0-59.el7_9.1 will be installed
--> Processing Dependency: libssh2(x86-32) >= 1.8.0 for package: libcurl-7.29.0-59.el7_9.1.i686
--> Processing Dependency: libssh2.so.1 for package: libcurl-7.29.0-59.el7_9.1.i686
--> Processing Dependency: libidn.so.11(LIBIDN_1.0) for package: libcurl-7.29.0-59.el7_9.1.i686
--> Processing Dependency: libidn.so.11 for package: libcurl-7.29.0-59.el7_9.1.i686
--> Running transaction check
---> Package libidn.i686 0:1.28-4.el7 will be installed
---> Package libssh2.i686 0:1.8.0-4.el7 will be installed
--> 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 libcurl which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libcurl 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 libcurl.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libcurl installed, but
yum can only see an upgrade for one of those architectures.
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 libcurl 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: libcurl-7.29.0-59.0.1.el7.x86_64 != libcurl-7.29.0-59.el7_9.1.i686
Could any one help me please, what went wrong
$
$ rpm -qa libcurl
libcurl-7.29.0-59.el7_9.1.x86_64
$ sudo yum install -y https://yum.oracle.com/repo/OracleLi...el7.x86_64.rpm
Loaded plugins: amazon-id, ulninfo
libcurl-7.29.0-59.0.1.el7.x86_64.rpm | 224 kB 00:00:00
Examining /var/tmp/yum-root-sMueo9/libcurl-7.29.0-59.0.1.el7.x86_64.rpm: libcurl-7.29.0-59.0.1.el7.x86_64
Marking /var/tmp/yum-root-sMueo9/libcurl-7.29.0-59.0.1.el7.x86_64.rpm as an update to libcurl-7.29.0-59.el7_9.1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be updated
--> Processing Dependency: libcurl = 7.29.0-59.el7_9.1 for package: curl-7.29.0-59.el7_9.1.x86_64
---> Package libcurl.x86_64 0:7.29.0-59.0.1.el7 will be an update
--> Running transaction check
---> Package libcurl.i686 0:7.29.0-59.el7_9.1 will be installed
--> Processing Dependency: libssh2(x86-32) >= 1.8.0 for package: libcurl-7.29.0-59.el7_9.1.i686
--> Processing Dependency: libssh2.so.1 for package: libcurl-7.29.0-59.el7_9.1.i686
--> Processing Dependency: libidn.so.11(LIBIDN_1.0) for package: libcurl-7.29.0-59.el7_9.1.i686
--> Processing Dependency: libidn.so.11 for package: libcurl-7.29.0-59.el7_9.1.i686
--> Running transaction check
---> Package libidn.i686 0:1.28-4.el7 will be installed
---> Package libssh2.i686 0:1.8.0-4.el7 will be installed
--> 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 libcurl which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libcurl 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 libcurl.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libcurl installed, but
yum can only see an upgrade for one of those architectures.
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 libcurl 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: libcurl-7.29.0-59.0.1.el7.x86_64 != libcurl-7.29.0-59.el7_9.1.i686
Could any one help me please, what went wrong
$