Bug 451977 - yum dependency resolving broken
yum dependency resolving broken
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-18 10:28 EDT by Stepan Kasal
Modified: 2014-01-21 18:03 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-08 09:38:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stepan Kasal 2008-06-18 10:28:40 EDT
yum does not resolve dependencies correctly

"yum upgrade perl" tries to update "perl" and "perl-libs" only.  rpm_check_debug
then fails, because there are numerous module packages installed which
explicitly require a particular version of perl, but yum does not notice:

# yum upgrade perl
[...]
Resolving Dependencies
--> Running transaction check
---> Package perl.i386 4:5.10.0-26.fc10 set to be updated
--> Processing Dependency: perl-libs = 4:5.10.0-26.fc10 for package: perl
--> Running transaction check
---> Package perl-libs.i386 4:5.10.0-26.fc10 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 perl                    i386       4:5.10.0-26.fc10  development        14 M
 perl-libs               i386       4:5.10.0-26.fc10  development       899 k

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       2 Package(s)         
Remove       0 Package(s)         

Total size: 15 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
perl is needed by (installed) perl-Pod-Escapes-1.04-20.fc9.i386
perl is needed by (installed) perl-Pod-Escapes-1.04-20.fc9.i386
perl is needed by (installed) perl-version-0.74-20.fc9.i386
perl is needed by (installed) perl-version-0.74-20.fc9.i386
perl is needed by (installed) perl-IO-Compress-Base-2.008-20.fc9.i386
perl is needed by (installed) perl-IO-Compress-Base-2.008-20.fc9.i386
perl is needed by (installed) perl-Pod-Simple-3.05-20.fc9.i386
perl is needed by (installed) perl-Pod-Simple-3.05-20.fc9.i386
perl is needed by (installed) perl-Pod-Simple-3.05-20.fc9.i386
perl is needed by (installed) perl-Pod-Simple-3.05-20.fc9.i386
perl is needed by (installed) perl-Module-Pluggable-3.60-20.fc9.i386
perl is needed by (installed) perl-Compress-Raw-Zlib-2.008-20.fc9.i386
perl is needed by (installed) perl-Compress-Raw-Zlib-2.008-20.fc9.i386
perl is needed by (installed) perl-IO-Compress-Zlib-2.008-20.fc9.i386
perl is needed by (installed) perl-IO-Compress-Zlib-2.008-20.fc9.i386
perl is needed by (installed) perl-Test-Harness-2.64-20.fc9.i386
perl is needed by (installed) perl-Test-Harness-2.64-20.fc9.i386
perl is needed by (installed) perl-devel-5.10.0-20.fc9.i386
perl is needed by (installed) perl-devel-5.10.0-20.fc9.i386
perl is needed by (installed) perl-ExtUtils-MakeMaker-6.36-20.fc9.i386
perl is needed by (installed) perl-ExtUtils-MakeMaker-6.36-20.fc9.i386
perl is needed by (installed) perl-ExtUtils-MakeMaker-6.36-20.fc9.i386
perl is needed by (installed) perl-ExtUtils-ParseXS-2.18-20.fc9.i386
perl is needed by (installed) perl-ExtUtils-ParseXS-2.18-20.fc9.i386
perl is needed by (installed) perl-ExtUtils-ParseXS-2.18-20.fc9.i386
Complete!
# rpm -qR perl-ExtUtils-MakeMaker
/usr/bin/perl  
perl >= 0:5.00503
perl >= 0:5.005_03
perl = 4:5.10.0-20.fc9
perl(AutoSplit)  
[...]

Sure, the packages contain silly redundant requirements, yet yum should not get
confused by that.
Comment 1 James Antill 2008-08-07 15:30:18 EDT
 I'm pretty sure we fixed this bug in 3.2.18 (the problem would go away if you did the perl-libs update directly, yes?)
Comment 2 Stepan Kasal 2008-08-08 09:38:09 EDT
You are right, I have verified that yum 3.2.18 fixed this bug.

Note You need to log in before you can comment on or make changes to this bug.