Bug 488994 - ppc32 yum traceback from epoch handling?
Summary: ppc32 yum traceback from epoch handling?
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 489238 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-06 17:07 UTC by Kevin Fenzi
Modified: 2014-01-21 23:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-06 17:58:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Fenzi 2009-03-06 17:07:08 UTC
[root@mavra ~]# yum-complete-transaction -y
Loaded plugins: refresh-packagekit
rawhide/metalink                                                   | 5.7 kB     00:00     
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 47 elements left to run
--> Running transaction check
---> Package DeviceKit-disks.ppc 0:003-2.fc11 set to be erased
---> Package NetworkManager.ppc 1:0.7.0.98-1.git20090225.fc11 set to be erased
---> Package NetworkManager-glib.ppc 1:0.7.0.98-1.git20090225.fc11 set to be erased
---> Package bind-libs.ppc 32:9.6.0-6.P1.fc11 set to be erased
---> Package bluez.ppc 0:4.32-1.fc11 set to be erased
---> Package bluez-libs.ppc 0:4.32-1.fc11 set to be erased
---> Package cpp.ppc 0:4.4.0-0.21.1 set to be erased
---> Package fedora-release.noarch 0:10.91-2 set to be erased
---> Package filesystem.ppc 0:2.4.20-2.fc11 set to be erased
---> Package gcc.ppc 0:4.4.0-0.21.1 set to be erased
---> Package gdm.ppc 1:2.25.2-9.fc11 set to be erased
---> Package glx-utils.ppc 0:7.3-5.fc11 set to be erased
---> Package gnupg2.ppc 0:2.0.10-2.fc11 set to be erased
---> Package gvfs.ppc 0:1.1.7-2.fc11 set to be erased
---> Package gvfs-obexftp.ppc 0:1.1.7-2.fc11 set to be erased
---> Package hdparm.ppc 0:9.8-2.fc11 set to be erased
---> Package inkscape.ppc 0:0.47-0.4.20090301svn.fc11 set to be erased
---> Package kernel.ppc 0:2.6.29-0.176.rc6.git5.fc11 set to be erased
---> Package kernel-bootwrapper.ppc 0:2.6.29-0.197.rc7.fc11 set to be erased
---> Package kernel-firmware.noarch 0:2.6.29-0.197.rc7.fc11 set to be erased
---> Package kernel-headers.ppc 0:2.6.29-0.197.rc7.fc11 set to be erased
---> Package libgfortran.ppc 0:4.4.0-0.21.1 set to be erased
---> Package libstdc++.ppc 0:4.4.0-0.21.1 set to be erased
---> Package libtalloc.ppc 0:1.2.0-29.7.fc11 set to be erased
---> Package linuxwacom.ppc 0:0.8.2.2-6.fc11 set to be erased
---> Package mesa-dri-drivers.ppc 0:7.3-5.fc11 set to be erased
---> Package mesa-libGL.ppc 0:7.3-5.fc11 set to be erased
---> Package mesa-libGL-devel.ppc 0:7.3-5.fc11 set to be erased
---> Package mesa-libGLU.ppc 0:7.3-5.fc11 set to be erased
---> Package module-init-tools.ppc 0:3.7-1.fc11 set to be erased
---> Package mysql.ppc 0:5.1.31-2.fc11 set to be erased
---> Package mysql-libs.ppc 0:5.1.31-2.fc11 set to be erased
---> Package pam_krb5.ppc 0:2.3.3-2.fc11 set to be erased
---> Package python-feedparser.noarch 0:4.1-7.fc11 set to be erased
---> Package qt-x11.ppc 1:4.5.0-2.fc11 set to be erased
---> Package selinux-policy.noarch 0:3.6.7-1.fc11 set to be erased
---> Package selinux-policy-targeted.noarch 0:3.6.7-1.fc11 set to be erased
---> Package shared-mime-info.ppc 0:0.60-2.fc11 set to be erased
---> Package vim-minimal.ppc 2:7.2.127-1.fc11 set to be erased
---> Package vte.ppc 0:0.19.4-5.fc11 set to be erased
---> Package xorg-x11-drv-nouveau.ppc 1:0.0.12-7.20090302gite6c3b98.fc11 set to be erased
---> Package xorg-x11-drv-synaptics.ppc 0:1.0.99.2-1.fc11 set to be erased
---> Package xorg-x11-server-Xorg.ppc 0:1.6.0-5.fc11 set to be erased
---> Package xorg-x11-server-common.ppc 0:1.6.0-5.fc11 set to be erased
---> Package yp-tools.ppc 0:2.9-5 set to be erased
---> Package yum.noarch 0:3.2.21-11.fc11 set to be erased
---> Package yum-utils.noarch 0:1.1.20-4.fc11 set to be erased
--> Finished Dependency Resolution

==========================================================================================
 Package                  Arch    Version                                Repository  Size
==========================================================================================
Removing:
 DeviceKit-disks          ppc     003-2.fc11                             installed  445 k
 NetworkManager           ppc     1:0.7.0.98-1.git20090225.fc11          installed  3.1 M
 NetworkManager-glib      ppc     1:0.7.0.98-1.git20090225.fc11          installed  472 k
 bind-libs                ppc     32:9.6.0-6.P1.fc11                     installed  2.6 M
 bluez                    ppc     4.32-1.fc11                            installed  1.1 M
 bluez-libs               ppc     4.32-1.fc11                            installed  169 k
 cpp                      ppc     4.4.0-0.21.1                           installed  9.1 M
 fedora-release           noarch  10.91-2                                installed   52 k
 filesystem               ppc     2.4.20-2.fc11                          installed   0.0 
 gcc                      ppc     4.4.0-0.21.1                           installed   14 M
 gdm                      ppc     1:2.25.2-9.fc11                        installed  3.6 M
 glx-utils                ppc     7.3-5.fc11                             installed   43 k
 gnupg2                   ppc     2.0.10-2.fc11                          installed  6.6 M
 gvfs                     ppc     1.1.7-2.fc11                           installed  3.9 M
 gvfs-obexftp             ppc     1.1.7-2.fc11                           installed  166 k
 hdparm                   ppc     9.8-2.fc11                             installed  125 k
 inkscape                 ppc     0.47-0.4.20090301svn.fc11              installed   87 M
 kernel                   ppc     2.6.29-0.176.rc6.git5.fc11             installed   70 M
 kernel-bootwrapper       ppc     2.6.29-0.197.rc7.fc11                  installed  1.2 M
 kernel-firmware          noarch  2.6.29-0.197.rc7.fc11                  installed  888 k
 kernel-headers           ppc     2.6.29-0.197.rc7.fc11                  installed  2.2 M
 libgfortran              ppc     4.4.0-0.21.1                           installed  908 k
 libstdc++                ppc     4.4.0-0.21.1                           installed  1.1 M
 libtalloc                ppc     1.2.0-29.7.fc11                        installed   28 k
 linuxwacom               ppc     0.8.2.2-6.fc11                         installed  584 k
 mesa-dri-drivers         ppc     7.3-5.fc11                             installed  3.9 M
 mesa-libGL               ppc     7.3-5.fc11                             installed  673 k
 mesa-libGL-devel         ppc     7.3-5.fc11                             installed  979 k
 mesa-libGLU              ppc     7.3-5.fc11                             installed  462 k
 module-init-tools        ppc     3.7-1.fc11                             installed  989 k
 mysql                    ppc     5.1.31-2.fc11                          installed  4.9 M
 mysql-libs               ppc     5.1.31-2.fc11                          installed  5.3 M
 pam_krb5                 ppc     2.3.3-2.fc11                           installed  333 k
 python-feedparser        noarch  4.1-7.fc11                             installed  985 k
 qt-x11                   ppc     1:4.5.0-2.fc11                         installed   46 M
 selinux-policy           noarch  3.6.7-1.fc11                           installed  5.9 M
 selinux-policy-targeted  noarch  3.6.7-1.fc11                           installed  2.2 M
 shared-mime-info         ppc     0.60-2.fc11                            installed  1.2 M
 vim-minimal              ppc     2:7.2.127-1.fc11                       installed  793 k
 vte                      ppc     0.19.4-5.fc11                          installed  1.1 M
 xorg-x11-drv-nouveau     ppc     1:0.0.12-7.20090302gite6c3b98.fc11     installed  409 k
 xorg-x11-drv-synaptics   ppc     1.0.99.2-1.fc11                        installed   97 k
 xorg-x11-server-Xorg     ppc     1.6.0-5.fc11                           installed  4.0 M
 xorg-x11-server-common   ppc     1.6.0-5.fc11                           installed   38 k
 yp-tools                 ppc     2.9-5                                  installed  196 k
 yum                      noarch  3.2.21-11.fc11                         installed  3.2 M
 yum-utils                noarch  1.1.20-4.fc11                          installed  198 k

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

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : NetworkManager-glib                                               1/47 
  Erasing        : DeviceKit-disks                                                   2/47 
  Erasing        : selinux-policy                                                    3/47 
  Erasing        : xorg-x11-server-Xorg                                              4/47 
  Erasing        : yum                                                               5/47 
  Erasing        : mesa-libGL                                                        6/47 
  Erasing        : module-init-tools                                                 7/47 
  Erasing        : bluez                                                             8/47 
  Erasing        : NetworkManager                                                    9/47 
  Erasing        : mesa-libGLU                                                      10/47 
  Erasing        : filesystem                                                       11/47 
  Erasing        : libtalloc                                                        12/47 
  Erasing        : shared-mime-info                                                 13/47 
  Erasing        : kernel-headers                                                   14/47 
  Erasing        : gvfs-obexftp                                                     15/47 
  Erasing        : qt-x11                                                           16/47 
  Erasing        : libstdc++                                                        17/47 
  Erasing        : xorg-x11-drv-synaptics                                           18/47 
  Erasing        : cpp                                                              19/47 
  Erasing        : inkscape                                                         20/47 
  Erasing        : selinux-policy-targeted                                          21/47 
  Erasing        : vim-minimal                                                      22/47 
  Erasing        : python-feedparser                                                23/47 
  Erasing        : gvfs                                                             24/47 
  Erasing        : kernel-firmware                                                  25/47 
  Erasing        : xorg-x11-server-common                                           26/47 
  Erasing        : mysql-libs                                                       27/47 
  Erasing        : yum-utils                                                        28/47 
  Erasing        : hdparm                                                           29/47 
  Erasing        : pam_krb5                                                         30/47 
  Erasing        : mesa-dri-drivers                                                 31/47 
  Erasing        : fedora-release                                                   32/47 
  Erasing        : libgfortran                                                      33/47 
  Erasing        : bind-libs                                                        34/47 
  Erasing        : gnupg2                                                           35/47 
  Erasing        : mesa-libGL-devel                                                 36/47 
  Erasing        : kernel-bootwrapper                                               37/47 
  Erasing        : gdm                                                              38/47 
gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-theme.cache : File exists
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 389, in callback
    self._scriptError(bytes, total, h)
  File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 510, in _scriptError
    pkgtup = self._dopkgtup(hdr)
  File "/usr/lib/python2.6/site-packages/yum/rpmtrans.py", line 237, in _dopkgtup
    tmpepoch = hdr['epoch']
TypeError: string indices must be integers, not str
error: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x10da80d0>> failed, aborting!
[root@mavra ~]# package-cleanup --cleandupes -y
Setting up yum
Loaded plugins: refresh-packagekit
I will remove the following old duplicate packages:
1:xorg-x11-drv-nouveau-0.0.12-7.20090302gite6c3b98.fc11.ppc
linuxwacom-0.8.2.2-6.fc11.ppc
glx-utils-7.3-5.fc11.ppc
1:gdm-2.25.2-9.fc11.ppc
gcc-4.4.0-0.21.1.ppc
mysql-5.1.31-2.fc11.ppc
yp-tools-2.9-5.ppc
bluez-libs-4.32-1.fc11.ppc
vte-0.19.4-5.fc11.ppc
gtk-update-icon-cache: Failed to open file /usr/share/icons/hicolor/.icon-theme.cache : File exists
warning: %postun(gdm-1:2.25.2-9.fc11.ppc) scriptlet failed, exit status 1
[root@mavra ~]# yum-complete-transaction -y
Loaded plugins: refresh-packagekit
There are 2 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 9 elements left to run
--> Running transaction check
---> Package kernel.ppc 0:2.6.29-0.176.rc6.git5.fc11 set to be erased
--> Finished Dependency Resolution

==========================================================================================
 Package        Arch        Version                               Repository         Size
==========================================================================================
Removing:
 kernel         ppc         2.6.29-0.176.rc6.git5.fc11            installed          70 M

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

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : kernel                                                             1/1 

Removed:
  kernel.ppc 0:2.6.29-0.176.rc6.git5.fc11                                                 

Cleaning up completed transaction file
[root@mavra ~]# package-cleanup --cleandupes -y
Setting up yum
Loaded plugins: refresh-packagekit
No dupes to clean
[root@mavra ~]# yum-complete-transaction -y
Loaded plugins: refresh-packagekit
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 47 elements left to run
Nothing in the unfinished transaction to cleanup.
Cleaning up completed transaction file
[root@mavra ~]# rpm -q yum
yum-3.2.21-12.fc11.noarch
[root@mavra ~]# w
 09:56:26 up 5 days, 14:44,  1 user,  load average: 1.01, 1.13, 1.29
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    10.1.1.1         09:35    0.00s  0.42s  0.11s w
[root@mavra ~]# yum-complete-transaction 
Loaded plugins: refresh-packagekit
No unfinished transactions left.

The machine is available at mavra.scrye.com to anyone in the packager group. 
Feel free to login and poke at it locally if you need. 

Happy to suppy additional infomation.

Comment 1 seth vidal 2009-03-06 17:25:22 UTC
http://skvidal.fedorapeople.org/misc/yum-scripterror-removes.patch

Try that patch and let me know.

Comment 2 Kevin Fenzi 2009-03-06 17:45:03 UTC
This patch fixes it. :)

Comment 3 seth vidal 2009-03-09 04:13:47 UTC
*** Bug 489238 has been marked as a duplicate of this bug. ***


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