Bug 230365

Summary: depsolving is fishy
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-28 16:42:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bill Nottingham 2007-02-28 16:32:33 UTC
I want to install a package - it can't find the dependencies for it:

[root@nostromo notting]# yum -d5 install
/mnt/redhat/brewroot/packages/emacspeak/25/2.fc7/noarch/emacspeak-25-2.fc7.noarch.rpm

Loading "installonlyn" plugin
Loading "skip-broken" plugin
Running "config" handler for "installonlyn" plugin
Running "config" handler for "skip-broken" plugin
Yum Version: 3.1.2
COMMAND: yum -d5 install
/mnt/redhat/brewroot/packages/emacspeak/25/2.fc7/noarch/emacspeak-25-2.fc7.noarch.rpm

Installroot: /
Ext Commands:

  
/mnt/redhat/brewroot/packages/emacspeak/25/2.fc7/noarch/emacspeak-25-2.fc7.noarch.rpm
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Setting up Package Sacks
sReading Local RPMDB
Parsing package install arguments
Examining
/mnt/redhat/brewroot/packages/emacspeak/25/2.fc7/noarch/emacspeak-25-2.fc7.noarch.rpm:
emacspeak - 25-2.fc7.noarch
kviMarking
/mnt/redhat/brewroot/packages/emacspeak/25/2.fc7/noarch/emacspeak-25-2.fc7.noarch.rpm
to be installed
Building updates object
Resolving Dependencies
unning "preresolve" handler for "skip-broken" plugin
--> Running transaction check
Checking deps for emacspeak.noarch 0-25-2.fc7 - u
looking for ('/bin/sh', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('/bin/sh', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('/bin/sh', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('/usr/bin/perl', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('/usr/bin/tclsh', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
Searching pkgSack for dep: /usr/bin/tclsh
looking for ('info', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(File::Basename)', None, ('0', None, None)) as a requirement
of emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(FileHandle)', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(Getopt::Long)', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(IO::File)', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(LWP::UserAgent)', None, ('0', None, None)) as a requirement
of emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(constant)', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(strict)', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('perl(vars)', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
looking for ('tclx', None, ('0', None, None)) as a requirement of
emacspeak.noarch 0-25-2.fc7 - u
Searching pkgSack for dep: tclx
# of Deps = 2

Dep Number: 1/2

emacspeak requires: tclx
--> Processing Dependency: tclx for package: emacspeak
Requiring package is from transaction set
Resolving for requiring package: emacspeak-25-2.fc7 in state u
Resolving for requirement: tclx
Searching pkgSack for dep: tclx
processing dep took: 0.004727

Dep Number: 2/2

emacspeak requires: /usr/bin/tclsh
--> Processing Dependency: /usr/bin/tclsh for package: emacspeak
Requiring package is from transaction set
Resolving for requiring package: emacspeak-25-2.fc7 in state u
Resolving for requirement: /usr/bin/tclsh
Searching pkgSack for dep: /usr/bin/tclsh
processing dep took: 0.025141
miss = 2
conf = 0
CheckDeps = 0
--> Finished Dependency Resolution
Dependency Process ending
Running "postresolve" handler for "installonlyn" plugin
Error: Missing Dependency: tclx is needed by package emacspeak
Error: Missing Dependency: /usr/bin/tclsh is needed by package emacspeak

So, I try to install the package by hand:

[root@nostromo notting]# yum -d5 install tclx
Loading "installonlyn" plugin
Loading "skip-broken" plugin
Running "config" handler for "installonlyn" plugin
Running "config" handler for "skip-broken" plugin
Yum Version: 3.1.2
COMMAND: yum -d5 install tclx 
Installroot: /
Ext Commands:

   tclx
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Setting up Package Sacks
Reading Local RPMDB
Parsing package install arguments
Checking for virtual provide or file-provide for tclx
Searching pkgSack for dep: tclx
No Match for argument: tclx
Nothing to do

However, it seems like yum should be able to find it:

[root@nostromo notting]# cat /etc/yum.repos.d/fedora-development.repo
...
[development]
name=Fedora Core - Development
baseurl=
#  file:///misc/FC/devel/i386/os/
  file:///mnt/redhat/nightly/rawhide-latest/development/i386/os/
 
http://download.fedora.devel.redhat.com/pub/fedora/linux/core/development/$basearch/os/
  http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0

[root@nostromo notting]# ls
/mnt/redhat/nightly/rawhide-latest/development/i386/os/Fedora/RPMS/tclx-*
/mnt/redhat/nightly/rawhide-latest/development/i386/os/Fedora/RPMS/tclx-8.4.0-5.fc6.i386.rpm
/mnt/redhat/nightly/rawhide-latest/development/i386/os/Fedora/RPMS/tclx-devel-8.4.0-5.fc6.i386.rpm
/mnt/redhat/nightly/rawhide-latest/development/i386/os/Fedora/RPMS/tclx-doc-8.4.0-5.fc6.i386.rpm

Comment 1 Bill Nottingham 2007-02-28 16:42:24 UTC
Further investiagtion yields that the repodata is hosed.