yum skip-broken broke?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shortly after upgrading yum to yum-3.2.4-2.fc7

I noticed this error:

Resolving Dependencies
**** Checking packages for dependency problems
**** Checking for dep problems  : perl-GD - 2.35-2.fc6.i386
--> Running transaction check
---> Package perl-GD.i386 0:2.35-2.fc6 set to be updated
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 143, in main
    (result, resultmsgs) = base.buildTransaction()
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 564, in
buildTransaction
    self.plugins.run('preresolve')
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 169, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/skip-broken.py", line 122, in preresolve_hook
    (good,bad) = cd.preDepCheck()
  File "/usr/lib/yum-plugins/skip-broken.py", line 64, in preDepCheck
    (rescode, restring) = self.base.resolveDeps()
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 710, in resolveDeps
    CheckDeps, checkremoves, checkinstalls, missing = self._resolveRequires(errors)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 784, in
_resolveRequires
    thisneeds = self._checkInstall(txmbr)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 829, in
_checkInstall
    provs = self.tsInfo.getProvides(*req)
  File "/usr/lib/python2.5/site-packages/yum/transactioninfo.py", line 400, in
getProvides
    result = self.getOldProvides(name, flag, version)
  File "/usr/lib/python2.5/site-packages/yum/transactioninfo.py", line 393, in
getOldProvides
    for pkg, hits in self.rpmdb.getProvides(name, flag, version).iteritems():
AttributeError: 'NoneType' object has no attribute 'getProvides'

But if I change the value in skip-broken.conf: check_always = 0
then I get this:

Resolving Dependencies
--> Running transaction check
---> Package perl-GD.i386 0:2.35-2.fc6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 perl-GD                 i386       2.35-2.fc6       fedora            198 k

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


So, is the skip-broken plugin broke?  Or is it even needed anymore?

Thanks.
-- 
Brian Millett - [ Sheridan, "A Distant Star"]
"An old friend of mine once quoted me a ancient Egyptian blessing: 'God
 be between you and harm, and all the empty places where you must walk.'"


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux