[Yum] bug? concerning "install" needing to "upgrade" dependancies...

Neil Harkins nharkins at gmail.com
Tue Mar 13 21:15:31 UTC 2007


Hi. This appears to be a bug. I'm trying to install certain packages,
which have dependancies that are *specific versions* of packages
higher than those already installed. Because the dependancy check
fails, yum tries to "install", which fails due to conflicts.

It seems the correct behavior would be for yum to figure out that the
version
is what's wrong, not non-existence, and automatically do an "upgrade"
of those components, even though the command line was "install",
as we're operating on a depedancy tree.

Thoughts?

[root at sf-pt-global001b ~]# rpm -qa | grep yum
yum-2.4.3-1
[root at sf-pt-user002a ~]# /usr/bin/yum -e 0 -t -y install curl readline
strace sysstat lynx
Setting up Install Process
Setting up repositories
dag                       100% |=========================|  951 B    00:00
extras                    100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
centosplus                100% |=========================|  951 B    00:00
os                        100% |=========================|  951 B    00:00
sixapart                  100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package lynx.x86_64 0:2.8.5-18.2 set to be updated
---> Package strace.x86_64 0:4.5.14-0.EL4.1 set to be updated
---> Package readline.i386 0:4.3-13 set to be updated
---> Package sysstat.x86_64 0:5.0.5-11.rhel4 set to be updated
---> Package curl.i386 0:7.12.1-8.rhel4 set to be updated
--> Running transaction check
--> Processing Dependency: libcom_err.so.2 for package: curl
--> Processing Dependency: libidn.so.11 for package: curl
--> Processing Dependency: libk5crypto.so.3 for package: curl
--> Processing Dependency: libcrypto.so.4 for package: curl
--> Processing Dependency: libz.so.1 for package: curl
--> Processing Dependency: libkrb5.so.3 for package: curl
--> Processing Dependency: libgssapi_krb5.so.2 for package: curl
--> Processing Dependency: libssl.so.4 for package: curl
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libidn.i386 0:0.5.6-1 set to be updated
---> Package openssl.i686 0:0.9.7a-43.14 set to be updated
---> Package krb5-libs.i386 0:1.3.4-33 set to be updated
---> Package e2fsprogs.i386 0:1.35-12.4.EL4 set to be updated
---> Package zlib.i386 0:1.2.1.2-1.2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 curl                    i386       7.12.1-8.rhel4   os                231 k
 lynx                    x86_64     2.8.5-18.2       os                1.8 M
 readline                i386       4.3-13           os                175 k
 strace                  x86_64     4.5.14-0.EL4.1   os                101 k
 sysstat                 x86_64     5.0.5-11.rhel4   os                114 k
Installing for dependencies:
 e2fsprogs               i386       1.35-12.4.EL4    os                771 k
 krb5-libs               i386       1.3.4-33         os                480 k
 libidn                  i386       0.5.6-1          os                169 k
 openssl                 i686       0.9.7a-43.14     updates           1.1 M
 zlib                    i386       1.2.1.2-1.2      os                 44 k

Transaction Summary
=============================================================================
Install     10 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 4.9 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test

Transaction Check Error:   file /usr/share/man/man1/asn1parse.1ssl.gz from
install of openssl-0.9.7a-43.14 conflicts with file from package
openssl-0.9.7a-43.10
  file /usr/share/man/man1/nseq.1ssl.gz from install of
openssl-0.9.7a-43.14conflicts with file from package
openssl-0.9.7a-43.10
  file /usr/share/man/man1/s_client.1ssl.gz from install of
openssl-0.9.7a-43.14 conflicts with file from package openssl-0.9.7a-43.10
  file /usr/share/man/man1/s_server.1ssl.gz from install of
openssl-0.9.7a-43.14 conflicts with file from package openssl-0.9.7a-43.10
  file /usr/share/man/man1/sslpasswd.1ssl.gz from install of
openssl-0.9.7a-43.14 conflicts with file from package openssl-0.9.7a-43.10
[root at sf-pt-user002a ~]# yum upgrade openssl
Setting up Upgrade Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for openssl to pack into transaction set.
openssl-0.9.7a-43.14.x86_ 100% |=========================|  28 kB    00:00
---> Package openssl.x86_64 0:0.9.7a-43.14 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 openssl                 x86_64     0.9.7a-43.14     updates           1.2 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)
Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): openssl-0.9.7a-43. 100% |=========================| 1.2 MB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : openssl                      ######################### [1/2]
  Cleanup   : openssl                      ######################### [2/2]

Updated: openssl.x86_64 0:0.9.7a-43.14
Complete!
[root at sf-pt-user002a ~]# /usr/bin/yum -e 0 -t -y install curl readline
strace sysstat lynx
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package lynx.x86_64 0:2.8.5-18.2 set to be updated
---> Package strace.x86_64 0:4.5.14-0.EL4.1 set to be updated
---> Package readline.i386 0:4.3-13 set to be updated
---> Package sysstat.x86_64 0:5.0.5-11.rhel4 set to be updated
---> Package curl.i386 0:7.12.1-8.rhel4 set to be updated
--> Running transaction check
--> Processing Dependency: libcom_err.so.2 for package: curl
--> Processing Dependency: libidn.so.11 for package: curl
--> Processing Dependency: libk5crypto.so.3 for package: curl
--> Processing Dependency: libcrypto.so.4 for package: curl
--> Processing Dependency: libz.so.1 for package: curl
--> Processing Dependency: libkrb5.so.3 for package: curl
--> Processing Dependency: libgssapi_krb5.so.2 for package: curl
--> Processing Dependency: libssl.so.4 for package: curl
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libidn.i386 0:0.5.6-1 set to be updated
---> Package openssl.i686 0:0.9.7a-43.14 set to be updated
---> Package krb5-libs.i386 0:1.3.4-33 set to be updated
---> Package e2fsprogs.i386 0:1.35-12.4.EL4 set to be updated
---> Package zlib.i386 0:1.2.1.2-1.2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 curl                    i386       7.12.1-8.rhel4   os                231 k
 lynx                    x86_64     2.8.5-18.2       os                1.8 M
 readline                i386       4.3-13           os                175 k
 strace                  x86_64     4.5.14-0.EL4.1   os                101 k
 sysstat                 x86_64     5.0.5-11.rhel4   os                114 k
Installing for dependencies:
 e2fsprogs               i386       1.35-12.4.EL4    os                771 k
 krb5-libs               i386       1.3.4-33         os                480 k
 libidn                  i386       0.5.6-1          os                169 k
 openssl                 i686       0.9.7a-43.14     updates           1.1 M
 zlib                    i386       1.2.1.2-1.2      os                 44 k

Transaction Summary
=============================================================================
Install     10 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 4.9 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: e2fsprogs                    ####################### [ 1/10]
  Installing: krb5-libs                    ####################### [ 2/10]
  Installing: zlib                         ####################### [ 3/10]
  Installing: openssl                      ####################### [ 4/10]
  Installing: libidn                       ####################### [ 5/10]
  Installing: sysstat                      ####################### [ 6/10]
  Installing: curl                         ####################### [ 7/10]
  Installing: lynx                         ####################### [ 8/10]
  Installing: readline                     ####################### [ 9/10]
  Installing: strace                       ####################### [10/10]

Installed: curl.i386 0:7.12.1-8.rhel4 lynx.x86_64 0:2.8.5-18.2 readline.i3860:
4.3-13 strace.x86_64 0:4.5.14-0.EL4.1 sysstat.x86_64 0:5.0.5-11.rhel4
Dependency Installed: e2fsprogs.i386 0:1.35-12.4.EL4 krb5-libs.i386 0:
1.3.4-33 libidn.i386 0:0.5.6-1 openssl.i686 0:0.9.7a-43.14 zlib.i386 0:
1.2.1.2-1.2
Complete!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20070313/bd2c7f15/attachment-0001.htm 


More information about the Yum mailing list