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.'"

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux