Bug 328421
Summary: | Yum failing at the end of a transaction | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Underwood <jonathan.underwood> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7 | CC: | ffesti, james.antill, pmatilai, tim.lauridsen |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.2.5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-10-11 23:21:15 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
Jonathan Underwood
2007-10-11 20:29:56 UTC
The installed version of yum during that transaction was 3.2.4-2: After the update that crashed out I see: # grep yum /var/log/yum.log Jun 24 12:24:49 Installed: yum-fastestmirror.noarch 1.1.5-1.fc7 Jun 28 20:25:49 Updated: yum.noarch 3.2.1-1.fc7 Jun 28 20:25:55 Updated: yum-updatesd.noarch 3.2.1-1.fc7 Aug 17 11:23:41 Updated: yum.noarch 3.2.2-1.fc7 Aug 17 11:25:17 Updated: yum-fastestmirror.noarch 1.1.6-1.fc7 Aug 17 11:25:28 Updated: yum-updatesd.noarch 3.2.2-1.fc7 Sep 14 20:12:06 Updated: yum.noarch 3.2.4-2.fc7 Sep 14 20:12:35 Updated: yum-updatesd.noarch 3.2.4-2.fc7 Oct 11 21:15:23 Updated: yum - 3.2.5-1.fc7.noarch Oct 11 21:18:42 Updated: yum-fastestmirror - 1.1.7-1.fc7.noarch Oct 11 21:19:54 Updated: yum-updatesd - 3.2.5-1.fc7.noarch ==> previous version of yum was 3.2.4-2 This is one of the things fixed in yum 3.2.5 OK, thanks - I wanted to be sure to capture it just in case it wasn't. OK, reopening, as on a different machine which I use to test updates in the updates-testing repo, the following happened in a transaction where the yum version running was 3.2.6-1.fc7.noarch. I note that in the transaction that fails, yum is updated to 3.2.6-2, and so again, maybe this issue is resolved, or maybe not. # yum --enablerepo=updates-testing update Loading "fastestmirror" plugin Loading "dellsysidplugin" plugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package libsmbclient.x86_64 0:3.0.26a-3.fc7 set to be updated ---> Package samba.x86_64 0:3.0.26a-3.fc7 set to be updated ---> Package samba-common.x86_64 0:3.0.26a-3.fc7 set to be updated ---> Package yum.noarch 0:3.2.6-2.fc7 set to be updated ---> Package samba-client.x86_64 0:3.0.26a-3.fc7 set to be updated ---> Package libvirt-python.x86_64 0:0.3.3-1.fc7 set to be updated ---> Package bind-utils.x86_64 31:9.4.2-0.4.rc1.fc7 set to be updated ---> Package selinux-policy.noarch 0:2.6.4-48.fc7 set to be updated ---> Package wine-twain.i386 0:0.9.46-1.fc7 set to be updated ---> Package libvirt.x86_64 0:0.3.3-1.fc7 set to be updated ---> Package hpijs.x86_64 1:1.7.4a-5.fc7 set to be updated ---> Package Zim.noarch 0:0.21-1.fc7 set to be updated --> Processing Dependency: perl(Gtk2::TrayIcon) for package: Zim --> Processing Dependency: scrot for package: Zim ---> Package selinux-policy-targeted.noarch 0:2.6.4-48.fc7 set to be updated ---> Package util-linux.x86_64 0:2.13-0.54.1.fc7 set to be updated ---> Package cups-libs.i386 1:1.2.12-5.fc7 set to be updated ---> Package icedax.x86_64 0:1.1.6-6.fc7 set to be updated ---> Package wine-cms.i386 0:0.9.46-1.fc7 set to be updated ---> Package wine-ldap.i386 0:0.9.46-1.fc7 set to be updated ---> Package yum-updatesd.noarch 0:3.2.6-2.fc7 set to be updated ---> Package pirut.noarch 0:1.3.23-1.fc7 set to be updated --> Processing Dependency: python-iniparse for package: pirut ---> Package samba-swat.x86_64 0:3.0.26a-3.fc7 set to be updated ---> Package ncurses.x86_64 0:5.6-8.20070812.fc7 set to be updated ---> Package hpijs.i386 1:1.7.4a-5.fc7 set to be updated ---> Package wodim.x86_64 0:1.1.6-6.fc7 set to be updated ---> Package cups.x86_64 1:1.2.12-5.fc7 set to be updated ---> Package cups-libs.x86_64 1:1.2.12-5.fc7 set to be updated ---> Package python-urlgrabber.noarch 0:3.0.0-3.fc7 set to be updated ---> Package wine-nas.i386 0:0.9.46-1.fc7 set to be updated ---> Package wpa_supplicant.x86_64 1:0.5.7-4.fc7 set to be updated ---> Package wine.i386 0:0.9.46-1.fc7 set to be updated ---> Package wine-core.i386 0:0.9.46-1.fc7 set to be updated ---> Package genisoimage.x86_64 0:1.1.6-6.fc7 set to be updated ---> Package wine-esd.i386 0:0.9.46-1.fc7 set to be updated ---> Package wine-tools.i386 0:0.9.46-1.fc7 set to be updated ---> Package wine-capi.i386 0:0.9.46-1.fc7 set to be updated ---> Package ncurses.i386 0:5.6-8.20070812.fc7 set to be updated ---> Package readahead.x86_64 1:1.4.1-3.fc7 set to be updated ---> Package bind-libs.x86_64 31:9.4.2-0.4.rc1.fc7 set to be updated ---> Package cobbler.noarch 0:0.6.2-2.fc7 set to be updated ---> Package wine-jack.i386 0:0.9.46-1.fc7 set to be updated --> Running transaction check ---> Package scrot.x86_64 0:0.8-2.fc7 set to be updated --> Processing Dependency: libgiblib.so.1()(64bit) for package: scrot ---> Package perl-Gtk2-TrayIcon.x86_64 0:0.06-1.fc7 set to be updated ---> Package python-iniparse.noarch 0:0.2.2-1.fc7 set to be updated --> Running transaction check ---> Package giblib.x86_64 0:1.2.4-7.fc6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Updating: Zim noarch 0.21-1.fc7 updates-testing 317 k bind-utils x86_64 31:9.4.2-0.4.rc1.fc7 updates-testing 180 k cobbler noarch 0.6.2-2.fc7 updates 451 k cups x86_64 1:1.2.12-5.fc7 updates-testing 3.0 M cups-libs i386 1:1.2.12-5.fc7 updates-testing 186 k cups-libs x86_64 1:1.2.12-5.fc7 updates-testing 182 k genisoimage x86_64 1.1.6-6.fc7 updates-testing 573 k hpijs x86_64 1:1.7.4a-5.fc7 updates 291 k hpijs i386 1:1.7.4a-5.fc7 updates 293 k icedax x86_64 1.1.6-6.fc7 updates-testing 188 k libsmbclient x86_64 3.0.26a-3.fc7 updates-testing 904 k libvirt-python x86_64 0.3.3-1.fc7 updates-testing 71 k ncurses x86_64 5.6-8.20070812.fc7 updates-testing 1.0 M ncurses i386 5.6-8.20070812.fc7 updates-testing 1.0 M pirut noarch 1.3.23-1.fc7 updates-testing 326 k python-urlgrabber noarch 3.0.0-3.fc7 updates-testing 121 k readahead x86_64 1:1.4.1-3.fc7 updates 49 k samba-client x86_64 3.0.26a-3.fc7 updates-testing 4.5 M samba-swat x86_64 3.0.26a-3.fc7 updates-testing 7.4 M selinux-policy-targeted noarch 2.6.4-48.fc7 updates-testing 1.0 M util-linux x86_64 2.13-0.54.1.fc7 updates 1.8 M wine i386 0.9.46-1.fc7 updates-testing 19 k wodim x86_64 1.1.6-6.fc7 updates-testing 519 k wpa_supplicant x86_64 1:0.5.7-4.fc7 updates-testing 262 k yum-updatesd noarch 3.2.6-2.fc7 updates-testing 23 k Installing for dependencies: giblib x86_64 1.2.4-7.fc6 fedora 22 k perl-Gtk2-TrayIcon x86_64 0.06-1.fc7 updates 21 k python-iniparse noarch 0.2.2-1.fc7 updates-testing 32 k scrot x86_64 0.8-2.fc7 fedora 18 k Updating for dependencies: bind-libs x86_64 31:9.4.2-0.4.rc1.fc7 updates-testing 944 k libvirt x86_64 0.3.3-1.fc7 updates-testing 911 k samba x86_64 3.0.26a-3.fc7 updates-testing 2.9 M samba-common x86_64 3.0.26a-3.fc7 updates-testing 7.3 M selinux-policy noarch 2.6.4-48.fc7 updates-testing 361 k wine-capi i386 0.9.46-1.fc7 updates-testing 23 k wine-cms i386 0.9.46-1.fc7 updates-testing 36 k wine-core i386 0.9.46-1.fc7 updates-testing 9.4 M wine-esd i386 0.9.46-1.fc7 updates-testing 33 k wine-jack i386 0.9.46-1.fc7 updates-testing 35 k wine-ldap i386 0.9.46-1.fc7 updates-testing 85 k wine-nas i386 0.9.46-1.fc7 updates-testing 22 k wine-tools i386 0.9.46-1.fc7 updates-testing 606 k wine-twain i386 0.9.46-1.fc7 updates-testing 44 k yum noarch 3.2.6-2.fc7 updates-testing 549 k Transaction Summary ============================================================================= Install 4 Package(s) Update 40 Package(s) Remove 0 Package(s) Total download size: 48 M Is this ok [y/N]: y Downloading Packages: (1/44): wine-jack-0.9.46- 100% |=========================| 35 kB 00:00 (2/44): cobbler-0.6.2-2.f 100% |=========================| 451 kB 00:02 (3/44): bind-libs-9.4.2-0 100% |=========================| 944 kB 00:04 (4/44): readahead-1.4.1-3 100% |=========================| 49 kB 00:00 (5/44): ncurses-5.6-8.200 100% |=========================| 1.0 MB 00:04 (6/44): python-iniparse-0 100% |=========================| 32 kB 00:00 (7/44): wine-capi-0.9.46- 100% |=========================| 23 kB 00:00 (8/44): wine-tools-0.9.46 100% |=========================| 606 kB 00:03 (9/44): wine-esd-0.9.46-1 100% |=========================| 33 kB 00:00 (10/44): genisoimage-1.1. 100% |=========================| 573 kB 00:02 (11/44): wine-core-0.9.46 100% |=========================| 9.4 MB 00:46 (12/44): wine-0.9.46-1.fc 100% |=========================| 19 kB 00:00 (13/44): wpa_supplicant-0 100% |=========================| 262 kB 00:01 (14/44): wine-nas-0.9.46- 100% |=========================| 22 kB 00:00 (15/44): perl-Gtk2-TrayIc 100% |=========================| 21 kB 00:00 (16/44): python-urlgrabbe 100% |=========================| 121 kB 00:00 (17/44): cups-libs-1.2.12 100% |=========================| 182 kB 00:01 (18/44): cups-1.2.12-5.fc 100% |=========================| 3.0 MB 00:15 (19/44): wodim-1.1.6-6.fc 100% |=========================| 519 kB 00:02 (20/44): hpijs-1.7.4a-5.f 100% |=========================| 293 kB 00:01 (21/44): ncurses-5.6-8.20 100% |=========================| 1.0 MB 00:05 (22/44): samba-swat-3.0.2 100% |=========================| 7.4 MB 00:36 (23/44): pirut-1.3.23-1.f 100% |=========================| 326 kB 00:01 (24/44): yum-updatesd-3.2 100% |=========================| 23 kB 00:00 (25/44): wine-ldap-0.9.46 100% |=========================| 85 kB 00:00 (26/44): wine-cms-0.9.46- 100% |=========================| 36 kB 00:00 (27/44): icedax-1.1.6-6.f 100% |=========================| 188 kB 00:00 (28/44): cups-libs-1.2.12 100% |=========================| 186 kB 00:00 (29/44): util-linux-2.13- 100% |=========================| 1.8 MB 00:08 (30/44): selinux-policy-t 100% |=========================| 1.0 MB 00:04 (31/44): Zim-0.21-1.fc7.n 100% |=========================| 317 kB 00:01 (32/44): hpijs-1.7.4a-5.f 100% |=========================| 291 kB 00:01 (33/44): libvirt-0.3.3-1. 100% |=========================| 911 kB 00:04 (34/44): wine-twain-0.9.4 100% |=========================| 44 kB 00:00 (35/44): selinux-policy-2 100% |=========================| 361 kB 00:01 ftp://ftp.ciril.fr/pub/linux/fedora/linux/releases/7/Everything/x86_64/os/Fedora/scrot-0.8-2.fc7.x86_64.rpm: [Errno 4] IOError: [Errno ftp error] 530 Sorry, the maximum number of clients (200) from your class are already connected. Trying other mirror. (36/44): scrot-0.8-2.fc7. 100% |=========================| 18 kB 00:00 (37/44): bind-utils-9.4.2 100% |=========================| 180 kB 00:00 (38/44): libvirt-python-0 100% |=========================| 71 kB 00:00 (39/44): samba-client-3.0 100% |=========================| 4.5 MB 00:22 (40/44): yum-3.2.6-2.fc7. 100% |=========================| 549 kB 00:02 (41/44): samba-common-3.0 100% |=========================| 7.3 MB 00:36 (42/44): giblib-1.2.4-7.f 100% |=========================| 22 kB 00:00 (43/44): samba-3.0.26a-3. 100% |=========================| 2.9 MB 00:14 (44/44): libsmbclient-3.0 100% |=========================| 904 kB 00:04 Running rpm_check_debug Running Transaction Test /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/run/pm(/.*)?. /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/log/pm(/.*)?. Finished Transaction Test Transaction Test Succeeded Running Transaction /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/run/pm(/.*)?. /etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/log/pm(/.*)?. Updating : wine-core ####################### [ 1/84] Updating : cups-libs ####################### [ 2/84] Updating : ncurses ####################### [ 3/84] Updating : samba-common ####################### [ 4/84] Updating : bind-libs ####################### [ 5/84] Updating : ncurses ####################### [ 6/84] Updating : libvirt ####################### [ 7/84] Updating : cups-libs ####################### [ 8/84] Updating : python-urlgrabber ####################### [ 9/84] Updating : yum ####################### [10/84] Updating : hpijs ####################### [11/84] Updating : samba ####################### [12/84] Updating : hpijs ####################### [13/84] Updating : wine-twain ####################### [14/84] Updating : wine-cms ####################### [15/84] Updating : wine-ldap ####################### [16/84] Updating : wine-nas ####################### [17/84] Updating : wine-esd ####################### [18/84] Updating : wine-tools ####################### [19/84] Updating : wine-capi ####################### [20/84] Updating : wine-jack ####################### [21/84] Installing: python-iniparse ####################### [22/84] Installing: perl-Gtk2-TrayIcon ####################### [23/84] Updating : selinux-policy ####################### [24/84] Installing: giblib ####################### [25/84] Installing: scrot ####################### [26/84] Updating : Zim ####################### [27/84] Updating : libsmbclient ####################### [28/84] Updating : samba-client ####################### [29/84] Updating : libvirt-python ####################### [30/84] Updating : bind-utils ####################### [31/84] Updating : selinux-policy-targeted ####################### [32/84] Updating : util-linux ####################### [33/84] Updating : icedax ####################### [34/84] Updating : yum-updatesd ####################### [35/84] Updating : pirut ####################### [36/84] Updating : samba-swat ####################### [37/84] Updating : wodim ####################### [38/84] Updating : cups ####################### [39/84] Updating : wpa_supplicant ####################### [40/84] Updating : wine ####################### [41/84] Updating : genisoimage ####################### [42/84] Updating : readahead ####################### [43/84] Updating : cobbler ####################### [44/84] warning: /var/lib/cobbler/settings created as /var/lib/cobbler/settings.rpmnew Cleanup : libsmbclient ####################### [45/84] Cleanup : samba ####################### [46/84] Cleanup : samba-common ####################### [47/84] Cleanup : yum ####################### [48/84] Cleanup : samba-client ####################### [49/84] Cleanup : libvirt-python ####################### [50/84] Cleanup : bind-utils ####################### [51/84] Cleanup : selinux-policy ####################### [52/84] Cleanup : wine-twain ####################### [53/84] Cleanup : libvirt ####################### [54/84] Cleanup : hpijs ####################### [55/84] Cleanup : Zim ####################### [56/84] Cleanup : selinux-policy-targeted ####################### [57/84] Cleanup : util-linux ####################### [58/84] Cleanup : cups-libs ####################### [59/84] Cleanup : icedax ####################### [60/84] Cleanup : wine-cms ####################### [61/84] Cleanup : wine-ldap ####################### [62/84] Cleanup : yum-updatesd ####################### [63/84] Cleanup : pirut ####################### [64/84] Cleanup : samba-swat ####################### [65/84] Cleanup : ncurses ####################### [66/84] Cleanup : hpijs ####################### [67/84] Cleanup : wodim ####################### [68/84] Cleanup : cups ####################### [69/84] Cleanup : cups-libs ####################### [70/84] Cleanup : python-urlgrabber ####################### [71/84] Cleanup : wine-nas ####################### [72/84] Cleanup : wpa_supplicant ####################### [73/84] Cleanup : wine-core ####################### [74/84] 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 180, in main base.doTransaction() File "/usr/share/yum-cli/cli.py", line 392, in doTransaction self.runTransaction(cb=cb) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 588, in runTransaction errors = self.ts.run(cb.callback, '') File "/usr/lib/python2.5/site-packages/yum/rpmtrans.py", line 319, in callback self._unInstStart( bytes, total, h ) File "/usr/lib/python2.5/site-packages/yum/rpmtrans.py", line 414, in _unInstStop self.total_actions) File "/usr/lib/python2.5/site-packages/yum/rpmtrans.py", line 245, in ts_done name = package.name TypeError: filelog() takes exactly 3 arguments (2 given) Yep, that's exactly what 3.2.6-2 is to fix :) Oh, right, thanks. Any simple way to fix the debris left by the incomplete transaction? go to /var/lib/yum notice the transaction-all vs transaction-done files. transaction-all lists all the operations for that transaction transaction-done lists all the operations that were performed for that transaction. Just cut and paste the remaining items from transaction-all that are not listed in transaction-done into a 'yum shell' command line. Thanks very much, Seth. |