Bug 281881 - -skip-broken tracebacks
-skip-broken tracebacks
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
rawhide
All Linux
medium Severity low
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-07 01:05 EDT by Bill Nottingham
Modified: 2014-03-16 23:08 EDT (History)
3 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2007-09-07 01:05:46 EDT
Description of problem:

[root@nostromo ~]# yum -d5 --skip-broken --exclude Network\* upgrade
Loading "skip-broken" plugin
Running "config" handler for "skip-broken" plugin
Yum Version: 3.2.4
COMMAND: yum -d5 --skip-broken --exclude Network* upgrade 
Installroot: /
Reading Local RPMDB
Setting up Package Sacks
Excluding Packages in global exclude list
Excluding NetworkManager-vpnc - 1:0.6.4-4.fc8.x86_64
Excluding NetworkManager-openvpn-debuginfo - 0.3.2-7.fc6.i386
Excluding NetworkManager-debuginfo - 1:0.7.0-0.1.svn2736.fc8.i386
Excluding NetworkManager-gnome - 1:0.7.0-0.1.svn2736.fc8.i386
Excluding NetworkManager-openvpn-debuginfo - 0.3.2-7.fc6.x86_64
Excluding NetworkManager-gnome - 1:0.7.0-0.1.svn2736.fc8.x86_64
Excluding NetworkManager - 1:0.7.0-0.1.svn2736.fc8.i386
Excluding NetworkManager-openvpn - 0.3.2-7.fc6.i386
Excluding NetworkManager-vpnc-debuginfo - 1:0.6.4-4.fc8.i386
Excluding NetworkManager-glib - 1:0.7.0-0.1.svn2736.fc8.x86_64
Excluding NetworkManager-glib-devel - 1:0.7.0-0.1.svn2736.fc8.i386
Excluding NetworkManager-debuginfo - 1:0.7.0-0.1.svn2736.fc8.x86_64
Excluding NetworkManager - 1:0.7.0-0.1.svn2736.fc8.x86_64
Excluding NetworkManager-glib-devel - 1:0.7.0-0.1.svn2736.fc8.x86_64
Excluding NetworkManager-vpnc-debuginfo - 1:0.6.4-4.fc8.x86_64
Excluding NetworkManager-vpnc - 1:0.6.4-4.fc8.i386
Excluding NetworkManager-glib - 1:0.7.0-0.1.svn2736.fc8.i386
Excluding NetworkManager-openvpn - 0.3.2-7.fc6.x86_64
Excluding NetworkManager-devel - 1:0.7.0-0.1.svn2736.fc8.x86_64
Excluding NetworkManager-devel - 1:0.7.0-0.1.svn2736.fc8.i386
Finished
Setting up Upgrade Process
Building updates object
Resolving Dependencies
1189141274.14
Running "preresolve" handler for "skip-broken" plugin
**** Checking packages for dependency problems
 --> pulseaudio-module-gconf - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> avahi - 0.6.21-3.fc8.x86_64                        - action : None
 --> gnome-utils - 1:2.19.92-1.fc8.x86_64               - action : u
 --> nss-devel - 3.11.7-9.fc8.x86_64                    - action : u
 --> redhat-menus - 8.9.10-5.fc8.noarch                 - action : None
 --> avahi-compat-libdns_sd - 0.6.21-3.fc8.x86_64       - action : None
 --> nss-tools - 3.11.7-9.fc8.x86_64                    - action : u
 --> imlib2 - 1.4.0-2.fc8.x86_64                        - action : None
 --> pulseaudio-utils - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> mesa-libGL - 7.0.1-5.fc8.x86_64                    - action : u
 --> pulseaudio-esound-compat - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> mesa-libGLU-devel - 7.0.1-4.fc8.x86_64             - action : None
 --> pulseaudio-lib-glib2 - 0.9.7-0.10.svn20070905.fc8.i386 - action : None
 --> git-email - 1.5.3.1-2.fc8.x86_64                   - action : u
 --> nss - 3.11.7-7.fc8.x86_64                          - action : None
 --> avahi-qt3 - 0.6.21-5.fc8.x86_64                    - action : u
 --> nss-devel - 3.11.7-7.fc8.x86_64                    - action : None
 --> pulseaudio-lib - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> avahi-devel - 0.6.21-5.fc8.x86_64                  - action : u
 --> krb5-libs - 1.6.2-5.fc8.i386                       - action : None
 --> avahi-glib-devel - 0.6.21-5.fc8.x86_64             - action : u
 --> gnome-utils - 1:2.19.91-1.fc8.x86_64               - action : None
 --> xorg-x11-drv-via - 0.2.2-4.fc8.x86_64              - action : u
 --> pulseaudio-lib - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> mesa-libGLU - 7.0.1-5.fc8.x86_64                   - action : u
 --> xorg-x11-server-Xorg - 1.3.0.0-22.fc8.x86_64       - action : None
 --> perl-Git - 1.5.2.5-1.fc8.x86_64                    - action : None
 --> mesa-libGLU - 7.0.1-4.fc8.x86_64                   - action : None
 --> mesa-libGL - 7.0.1-4.fc8.i386                      - action : None
 --> audit-libs - 1.6.1-1.fc8.x86_64                    - action : None
 --> audit-libs-python - 1.6.1-1.fc8.x86_64             - action : None
 --> gnome-panel - 2.19.92-1.fc8.x86_64                 - action : None
 --> git-core - 1.5.3.1-2.fc8.x86_64                    - action : u
 --> openssh-clients - 4.7p1-1.fc8.x86_64               - action : u
 --> pulseaudio-lib - 0.9.7-0.11.svn20070907.fc8.i386   - action : u
 --> git-core - 1.5.2.5-1.fc8.x86_64                    - action : None
 --> hwdata - 0.207-1.fc8.noarch                        - action : u
 --> openssh - 4.7p1-1.fc8.x86_64                       - action : u
 --> mesa-libGL-devel - 7.0.1-4.fc8.x86_64              - action : None
 --> pulseaudio - 0.9.7-0.10.svn20070905.fc8.x86_64     - action : None
 --> selinux-policy-targeted - 3.0.7-3.fc8.noarch       - action : None
 --> avahi-devel - 0.6.21-3.fc8.x86_64                  - action : None
 --> libswt3-gtk2 - 1:3.3.0-14.fc8.x86_64               - action : None
 --> krb5-libs - 1.6.2-6.fc8.i386                       - action : u
 --> selinux-policy - 3.0.7-5.fc8.noarch                - action : u
 --> audit-libs-python - 1.6.1-2.fc8.x86_64             - action : u
 --> krb5-devel - 1.6.2-5.fc8.x86_64                    - action : None
 --> selinux-policy - 3.0.7-3.fc8.noarch                - action : None
 --> libXaw - 1.0.2-9.fc8.x86_64                        - action : None
 --> mesa-libGL-devel - 7.0.1-5.fc8.x86_64              - action : u
 --> audit-libs-devel - 1.6.1-1.fc8.x86_64              - action : None
 --> gnome-panel-devel - 2.19.92-2.fc8.x86_64           - action : u
 --> avahi-glib - 0.6.21-3.fc8.x86_64                   - action : None
 --> pulseaudio-lib-zeroconf - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> xorg-x11-drv-via - 0.2.2-3.fc8.x86_64              - action : None
 --> nss - 3.11.7-9.fc8.x86_64                          - action : u
 --> pulseaudio - 0.9.7-0.11.svn20070907.fc8.x86_64     - action : u
 --> git-email - 1.5.2.5-1.fc8.x86_64                   - action : None
 --> pulseaudio-lib-zeroconf - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> git-cvs - 1.5.2.5-1.fc8.x86_64                     - action : None
 --> system-config-vsftpd - 0.4.5-1.fc8.noarch          - action : u
 --> avahi-compat-libdns_sd - 0.6.21-5.fc8.x86_64       - action : u
 --> krb5-workstation - 1.6.2-5.fc8.x86_64              - action : None
 --> evince - 0.9.3-5.fc8.x86_64                        - action : None
 --> audit - 1.6.1-1.fc8.x86_64                         - action : None
 --> krb5-libs - 1.6.2-5.fc8.x86_64                     - action : None
 --> gnome-panel - 2.19.92-2.fc8.x86_64                 - action : u
 --> firefox - 2.0.0.6-6.fc8.x86_64                     - action : u
 --> poppler - 0.6-1.fc8.x86_64                         - action : u
 --> git-svn - 1.5.2.5-1.fc8.x86_64                     - action : None
 --> krb5-workstation - 1.6.2-6.fc8.x86_64              - action : u
 --> pulseaudio-esound-compat - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> mesa-libGL - 7.0.1-5.fc8.i386                      - action : u
 --> xorg-x11-server-Xorg - 1.3.0.0-23.fc8.x86_64       - action : u
 --> pulseaudio-lib-glib2 - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> pulseaudio-lib-glib2 - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> openssh-askpass - 4.5p1-8.fc8.x86_64               - action : None
 --> libXaw - 1.0.2-10.fc8.x86_64                       - action : u
 --> openssh-askpass - 4.7p1-1.fc8.x86_64               - action : u
 --> audit-libs - 1.6.1-2.fc8.x86_64                    - action : u
 --> pulseaudio-module-x11 - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> krb5-devel - 1.6.2-6.fc8.x86_64                    - action : u
 --> krb5-libs - 1.6.2-6.fc8.x86_64                     - action : u
 --> openssh-server - 4.7p1-1.fc8.x86_64                - action : u
 --> pulseaudio-lib - 0.9.7-0.10.svn20070905.fc8.i386   - action : None
 --> evince - 2.19.92-1.fc8.x86_64                      - action : u
 --> openssh - 4.5p1-8.fc8.x86_64                       - action : None
 --> poppler - 0.5.91-2.fc8.x86_64                      - action : None
 --> mesa-libGLU - 7.0.1-4.fc8.i386                     - action : None
 --> mesa-libGLU - 7.0.1-5.fc8.i386                     - action : u
 --> audit - 1.6.1-2.fc8.x86_64                         - action : u
 --> glx-utils - 7.0.1-4.fc8.x86_64                     - action : None
 --> mesa-libGLU-devel - 7.0.1-5.fc8.x86_64             - action : u
 --> pulseaudio-lib-glib2 - 0.9.7-0.11.svn20070907.fc8.i386 - action : u
 --> perl-Git - 1.5.3.1-2.fc8.x86_64                    - action : u
 --> firefox - 2.0.0.6-5.fc8.x86_64                     - action : None
 --> openssh-server - 4.5p1-8.fc8.x86_64                - action : None
 --> git-svn - 1.5.3.1-2.fc8.x86_64                     - action : u
 --> pulseaudio-module-gconf - 0.9.7-0.10.svn20070905.fc8.x86_64 - action : None
 --> mesa-libGL - 7.0.1-4.fc8.x86_64                    - action : None
 --> pulseaudio-module-x11 - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> xorg-x11-drv-sisusb - 0.8.1-9.fc8.x86_64           - action : u
 --> pulseaudio-utils - 0.9.7-0.11.svn20070907.fc8.x86_64 - action : u
 --> system-config-vsftpd - 0.4.4-1.fc8.noarch          - action : None
 --> openssh-clients - 4.5p1-8.fc8.x86_64               - action : None
 --> git-cvs - 1.5.3.1-2.fc8.x86_64                     - action : u
 --> selinux-policy-targeted - 3.0.7-5.fc8.noarch       - action : u
 --> redhat-menus - 8.9.10-9.fc8.noarch                 - action : u
 --> nss-tools - 3.11.7-7.fc8.x86_64                    - action : None
 --> avahi-glib-devel - 0.6.21-3.fc8.x86_64             - action : None
 --> gnome-panel-devel - 2.19.92-1.fc8.x86_64           - action : None
 --> avahi-glib - 0.6.21-5.fc8.x86_64                   - action : u
 --> imlib2 - 1.4.0-3.fc8.x86_64                        - action : u
 --> hwdata - 0.206-1.fc8.noarch                        - action : None
 --> glx-utils - 7.0.1-5.fc8.x86_64                     - action : u
 --> avahi-qt3 - 0.6.21-3.fc8.x86_64                    - action : None
 --> xorg-x11-drv-sisusb - 0.8.1-8.fc8.x86_64           - action : None
 --> avahi-ui - 0.6.21-5.fc8.x86_64                     - action : u
 --> libswt3-gtk2 - 1:3.3.0-16.fc8.x86_64               - action : u
 --> avahi - 0.6.21-5.fc8.x86_64                        - action : u
 --> audit-libs-devel - 1.6.1-2.fc8.x86_64              - action : u
 --> avahi-ui - 0.6.21-3.fc8.x86_64                     - action : None
**** Checking for dep problems  : pulseaudio-module-gconf -
0.9.7-0.11.svn20070907.fc8.x86_64 
--> Running transaction check
---> Package pulseaudio-module-gconf.x86_64 0:0.9.7-0.11.svn20070907.fc8 set to
be updated
Checking deps for pulseaudio-module-gconf.x86_64 0-0.9.7-0.11.svn20070907.fc8 - u
looking for (u'libpulsecore.so.4()(64bit)', None, (None, None, None)) as a
requirement of pulseaudio-module-gconf.x86_64 0-0.9.7-0.11.svn20070907.fc8 - u
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 713, in resolveDeps
    CheckDeps, checkremoves, checkinstalls, missing = self._resolveRequires(errors)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 787, in
_resolveRequires
    thisneeds = self._checkInstall(txmbr)
  File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 832, 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'

Version-Release number of selected component (if applicable):

yum-utils-1.1.6-1.fc8
Comment 1 Seth Vidal 2007-09-07 16:01:48 EDT
change line 42 of the plugin to be

self.base.tsInfo # make the new one magically appear

and it works just fine.

this is committed in upstream git - closing.

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