FedoraForum.org - Fedora Support Forums and Community
Results 1 to 15 of 15
  1. #1
    Join Date
    Sep 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Yum complete transaction stuck

    Hello guys I am new to yum and I am having a strange problem. Package kit started complaining that I have to use yum-complete-transaction in order to install something. I'had the same warning when I used yum install. I tried to run yum-complete-transaction. This is the output:

    There are 1 outstanding transactions to complete. Finishing the most recent one
    The remaining transaction had 972 elements left to run

    Then it starts to proccessing dependecies I left it overnight but it is still proccessing I tried it a few times with no luck. And it takes all of my memory 8 GB total. Please can you help me because I am stuck on this thank you.

    Sorry I forgot to mention I am under Fedora 15 x64 I will tell you the kernel version when I get home.
    Last edited by sabotage3d; 23rd September 2011 at 02:27 PM. Reason: fedora version

  2. #2
    leigh123linux Guest

    Re: Yum complete transaction stuck

    Quote Originally Posted by zackwasa
    Probably some upgrade was interrupted while it was running. You need to finish that. Before running the yum-complete-transaction command try to rebuild the rpmdb:
    Code:
    rm -f /var/lib/rpm/__db*
    rpm -vv --rebuilddb
    please post any errors

    Not a good idea

    This is the correct way to deal with this error.

    Code:
    su
    yum-complete-transaction --cleanup-only

  3. #3
    Join Date
    Sep 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    Thank you guys but before your posts I tried something different. I ran "yum install KPackageKit"
    and then "yum install yum" after that I ran "yum clean all"l. And the warning disappear.
    But the problem is still I cannot update properly the yum update fails. wit this. I tried the same with KPackageKit and I have this message "an error occurred while running the transaction"
    In the details it says "could not add package update for fedora-release-
    rawhide-15-3(noarch)updates: fedora-release-
    rawhide-15-3.noarch"

    Sorry if I made it worst.

    Code:
    --> Processing Dependency: libmatroska.so.4()(64bit) for package: vlc-core-1.1.11-1.fc16.x86_64
    adobe-linux-i386/filelists                                                       | 140 kB     00:00     
    fedora/filelists_db                                                              |  21 MB     00:20     
    rpmfusion-free-rawhide/filelists_db                                              | 269 kB     00:00     
    rpmfusion-nonfree-rawhide/filelists_db                                           | 100 kB     00:00     
    http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/updates/15/x86_64/repodata/b63631b9a8f2e01063ba832e8f28a846404deded98b1f6820cfcef4cb299e198-filelists.sqlite.bz2: [Errno 12] Timeout on mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/updates/15/x86_64/repodata/b63631b9a8f2e01063ba832e8f28a846404deded98b1f6820cfcef4cb299e198-filelists.sqlite.bz2: (28, '')
    Trying other mirror.
    ftp://ftp.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/updates/15/x86_64/repodata/b63631b9a8f2e01063ba832e8f28a846404deded98b1f6820cfcef4cb299e198-filelists.sqlite.bz2: [Errno 12] Timeout on ftp://ftp.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/updates/15/x86_64/repodata/b63631b9a8f2e01063ba832e8f28a846404deded98b1f6820cfcef4cb299e198-filelists.sqlite.bz2: (28, '')
    Trying other mirror.
    updates/filelists_db                                                             | 7.5 MB     00:01     
    --> Finished Dependency Resolution
    Error: Package: rpmfusion-free-release-16-0.1.noarch (rpmfusion-free-rawhide)
               Requires: system-release >= 16
               Removing: fedora-release-15-1.noarch (@fedora/15-Beta)
                   system-release = 15-1
               Updated By: fedora-release-15-3.noarch (updates)
                   system-release = 15-3
               Available: generic-release-15-0.4.noarch (fedora)
                   system-release = 15-0.4
               Available: generic-release-15-1.noarch (updates)
                   system-release = 15-1
    Error: Package: rpmfusion-nonfree-release-16-0.1.noarch (rpmfusion-nonfree-rawhide)
               Requires: system-release >= 16
               Removing: fedora-release-15-1.noarch (@fedora/15-Beta)
                   system-release = 15-1
               Updated By: fedora-release-15-3.noarch (updates)
                   system-release = 15-3
               Available: generic-release-15-0.4.noarch (fedora)
                   system-release = 15-0.4
               Available: generic-release-15-1.noarch (updates)
                   system-release = 15-1
    Error: Package: vlc-core-1.1.11-1.fc16.x86_64 (rpmfusion-free-rawhide)
               Requires: libmtp.so.9()(64bit)
    Error: Package: vlc-core-1.1.11-1.fc16.x86_64 (rpmfusion-free-rawhide)
               Requires: libthreadutil.so.6()(64bit)
    Error: Package: vlc-core-1.1.11-1.fc16.x86_64 (rpmfusion-free-rawhide)
               Requires: libupnp.so.6()(64bit)
    Error: Package: vlc-core-1.1.11-1.fc16.x86_64 (rpmfusion-free-rawhide)
               Requires: libmatroska.so.4()(64bit)
     You could try using --skip-broken to work around the problem
    ** Found 14 pre-existing rpmdb problem(s), 'yum check' output follows:
    bash-4.2.10-4.fc15.x86_64 is a duplicate with bash-4.2.10-2.fc15.x86_64
    32:bind-license-9.8.0-5.P2.fc15.noarch is a duplicate with 32:bind-license-9.8.0-3.P1.fc15.noarch
    fedora-cert-0.5.9.2-1.fc15.noarch is a duplicate with fedora-cert-0.5.9.0-1.fc15.noarch
    kernel-headers-2.6.38.8-32.fc15.x86_64 is a duplicate with kernel-headers-2.6.38.6-27.fc15.x86_64
    liberation-fonts-common-1.07.0-1.fc15.noarch is a duplicate with liberation-fonts-common-1.06.0.20100721-5.fc15.noarch
    libgcc-4.6.0-9.fc15.x86_64 is a duplicate with libgcc-4.6.0-7.fc15.x86_64
    mesa-dri-filesystem-7.11-0.11.20110525.0.fc15.x86_64 is a duplicate with mesa-dri-filesystem-7.11-0.9.20110509.0.fc15.x86_64
    nss-softokn-freebl-3.12.10-2.fc15.x86_64 is a duplicate with nss-softokn-freebl-3.12.10-1.fc15.x86_64
    python-slip-0.2.17-1.fc15.noarch is a duplicate with python-slip-0.2.14-2.fc15.noarch
    python-slip-gtk-0.2.17-1.fc15.noarch is a duplicate with python-slip-gtk-0.2.14-2.fc15.noarch
    tzdata-2011h-1.fc15.noarch is a duplicate with tzdata-2011d-3.fc15.noarch
    xen-licenses-4.1.1-1.fc15.x86_64 is a duplicate with xen-licenses-4.1.0-2.fc15.x86_64
    xkeyboard-config-2.3-2.fc15.noarch is a duplicate with xkeyboard-config-2.2.1-2.20110415git19a0026b5.fc15.noarch
    xorg-x11-server-common-1.10.2-1.fc15.x86_64 is a duplicate with xorg-x11-server-common-1.10.1-14.fc15.x86_64

  4. #4
    leigh123linux Guest

    Re: Yum complete transaction stuck

    Try

    Code:
    su
    package-cleanup --cleandupes

  5. #5
    Join Date
    Sep 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    Sorry guys after that command I don't have network interface is there anyway to revert it or to repair it thanks.

  6. #6
    leigh123linux Guest

    Re: Yum complete transaction stuck

    Post the output for the last command.

  7. #7
    Join Date
    Sep 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    I restarted the machine trying to revert to old kernel

  8. #8
    leigh123linux Guest

    Re: Yum complete transaction stuck

    The last command should have removed 14 duplicate packages only, non of them were related to networking.

    Post

    Code:
    ifconfig
    and
    Code:
    nm-tool

  9. #9
    Join Date
    Sep 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    I don't have any network interfaces everything is like erased. Yesterday I was able to compile manually some drivers for and bring back wlan0 manually. The problem is that dhclient is missing and other tools as well. If there is a way manually to bring back dhclient I will able to get internet and use yum again for fixing most of these problems.
    Sorry for bothering you guys I made clean install of fedora with the new kernel 40 because I was with 38 it was still in the beta I hope 40 is more stable thank you for your help.
    Last edited by sabotage3d; 25th September 2011 at 09:11 PM.

  10. #10
    Join Date
    Sep 2012
    Location
    Oregon
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    this helped me out, thanks!

    This is the correct way to deal with this error.

    Code:
    su
    yum-complete-transaction --cleanup-only
    [/QUOTE]

  11. #11
    Join Date
    Sep 2012
    Location
    Toronto
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Re: Yum complete transaction stuck

    Quote Originally Posted by leigh123linux
    Not a good idea

    This is the correct way to deal with this error.

    Code:
    su
    yum-complete-transaction --cleanup-only

    Yes! That worked for me too. Thank you so much!

  12. #12
    Join Date
    Feb 2013
    Location
    United States
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    Quote Originally Posted by leigh123linux
    Not a good idea

    This is the correct way to deal with this error.

    Code:
    su
    yum-complete-transaction --cleanup-only
    THANK YOU THANK YOU THANK YOU for posting this. I've been trying for HOURS to get this to work. Kept on getting the same message as the thread leader said, except I was told I must 'be root'.. what was that? I wondered. Spent more hours trying to figure it out, looked at the man pages, finally did figure it out; but even when I'm LOGGED in as 'root', it still wouldn't work.

    Then I found your solution, typed in the magic words in your quote, and ALL DONE!

    Thank you!

  13. #13
    Join Date
    Mar 2013
    Location
    California
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    Quote Originally Posted by sabotage3d
    I don't have any network interfaces everything is like erased. Yesterday I was able to compile manually some drivers for and bring back wlan0 manually. The problem is that dhclient is missing and other tools as well. If there is a way manually to bring back dhclient I will able to get internet and use yum again for fixing most of these problems.
    Sorry for bothering you guys I made clean install of fedora with the new kernel 40 because I was with 38 it was still in the beta I hope 40 is more stable thank you for your help.
    I suspect you've already solved your problem. It's certainly odd that deleting any of the RPM's you listed would have caused it. If you think that dhclient is all you need to start you back on the way to recovery, then sneaker-net the dhclient RPM on to your box, uninstall the existing one and install your new copy.

    I have over 200 <blah> is a duplicate with <older-blah> messages left over when my box rebooted while I was updating all of my Fedora 18 RPMs (for no compelling reason, other than a popup appeared that said that I could.) I couldn't face uninstalling the older RPMs one at a time and testing for side-effects, so I tried uninstalling them 10 at a time, without paying attention to what the RPMs were. This was not a great plan, since my box rebooted after one of the uninstalls and x-windows wasn't launched when it finished rebooting. (Forums like this one provided a solution to this problem, too.)

    Having authored a few RPM spec files, I should have realized that RPMs can own potentially critical files that get deleted when the RPM is erased. Obviously, the newer-version RPMs ownership of the same file isn't enough to preserve it. Deleting the older RPM now strikes me as perilous. What I really don't understand is how the RPM DB can get so wedged to begin with. I'll avoid updating anything that doesn't have a known security issue or bug I need a fix for in the future. I'll also attempt to keep the number of yum packages updated in a single command to a minimum.

  14. #14
    Join Date
    Feb 2009
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    Sabotage3d, it looks to me like the problem is you have a mixture of fc15 and fc16 (from rpmfusion) packages. I would suggest that you erase all the fc16 packages that show up on in the error message and their dependencies. If you still don't have an internet connection, it might be easiest just to upgrade to Fedora 16 or 17. That's probably what you want to do anyway.

  15. #15
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: Yum complete transaction stuck

    Since the OP's problem occurred about 1 1/2 years ago, If he hasn't found a fix yet, then he's not going to. Since nothing else really great has been added to this thread, it's getting closed.

    Old and dead thread closed

Similar Threads

  1. yum-complete-transaction broken
    By axet in forum Using Fedora
    Replies: 17
    Last Post: 15th June 2010, 11:11 PM
  2. yum-complete-transaction issue
    By shahdharmit in forum Using Fedora
    Replies: 0
    Last Post: 5th November 2009, 02:38 PM
  3. Yum Complete Transaction won't complete
    By power78 in forum Using Fedora
    Replies: 2
    Last Post: 15th October 2009, 10:59 PM
  4. Replies: 22
    Last Post: 13th March 2009, 12:46 AM
  5. Replies: 0
    Last Post: 9th March 2009, 06:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •