Bug 162816 - package-cleanup --problems misdiagnosing unversioned provides
package-cleanup --problems misdiagnosing unversioned provides
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-08 17:59 EDT by Christopher Stone
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-14 05:25:27 EST
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 Christopher Stone 2005-07-08 17:59:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
rpm sees any unversioned dep as being able to fill ANY versioned requirement.
package foo provides  bar    but package baz requires bar > 2.0
rpm doesnt see that as a problem 
ackage-cleanup  is misdiagnosing  unversioned provides  when a versioned required is requested

examples:

Package redhat-artwork requires redhat-logos >= 1.1.10
Package subversion requires perl(Getopt::Long) >= 2.25


Version-Release number of selected component (if applicable):
yum-utils-0.2-2.fc4

How reproducible:
Always

Steps to Reproduce:
1.package-cleanup --problems
2.
3.
  

Actual Results:  Package redhat-artwork requires redhat-logos >= 1.1.10


Expected Results:  No problems.

Additional info:
Comment 1 Jef Spaleta 2005-07-08 18:07:46 EDT
Just to elaborate.
For the Package redhat-artwork requires redhat-logos >= 1.1.10  error on fc4

rpm -q --provides fedora-logos
redhat-logos    <--------- unversioned
system-logos
fedora-logos = 1.1.31-1

rpm -q --requires redhat-artwork    <------------ versioned
redhat-logos >= 1.1.22


A simple test of how rpm actually handles this version/unversioned mismatch
rpm -e --nodeps redhat-artwork
rpm -ivv redhat-artwork-0.122-10.i386.rpm  2> /tmp/install.log

from the install.log:
D:  Requires: redhat-logos >= 1.1.22                        YES (db provides)

rpm -q --whatprovides redhat-logos
fedora-logos-1.1.31-1

fedora-logos package is the only thing providing redhat-logos and rpm sees the
unversioned provides as filling the versioned requires.
Comment 2 Seth Vidal 2005-07-10 03:54:39 EDT
upgrade to yum 2.3.3 or above and tell me if the above issue goes away.

Comment 3 Christopher Stone 2006-03-21 03:56:14 EST
I don't know if this was actually fixed, but package-cleanup --problems seems to
be working fine now.
Comment 4 Christian Iseli 2007-01-19 18:47:50 EST
FC3 and FC4 have now been EOL'd.

Please check the ticket against a current Fedora release, and either adjust the
release number, or close it if appropriate.

Thanks.

Your friendly BZ janitor :-)
Comment 5 Tim Lauridsen 2007-02-14 05:25:27 EST
According to #3, it package-cleanup was working.

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