1

For a few days now I'm having issues running dnf update under my Fedora 23 installation.

After updating the package info and downloading the packages dnf seems to be stuck at "Running transaction". This is what the terminal shows:

[...]
[SKIPPED] xorg-x11-server-common-1.18.3-1.fc23.x86_64.rpm: Already downloaded                                                           
[SKIPPED] xorg-x11-server-Xwayland-1.18.3-1.fc23.x86_64.rpm: Already downloaded                                                         
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction

I don't see anything suspicious in journalctl. I already tried cleaning dnf with:

rm /var/lib/rpm/__db.*
cd /var/cache/dnf
rm -rf *
dnf clean all

The same happens when I try to install a new package via dnf install.

Any help is greatly appreciated.

  • For how long does it stay stuck? Minutes, hours...? – schaiba Apr 15 '16 at 7:39
  • I waited for ~15mins before aborting – Korgen Apr 15 '16 at 8:12
  • What is your hardware configuration? I'm thinking there's a chance there's some I/O bottleneck here. – schaiba Apr 15 '16 at 8:49
  • I'm running inside a virtualbox with a memory size of 8 gb and a dedicated harddrive for the VM (SSD, connected via USB 3.0). I never experienced any problems with dnf update before. The problems only started a few days back. – Korgen Apr 15 '16 at 9:24
  • 1
    I say leave it a bit more, especially since it's a VM on an external disk, and also loog in the logs for anything eye-catching. – schaiba Apr 15 '16 at 12:07
1

After waiting for several hours dnf still was stuck on Running transaction. However after pressing Ctrl+C numerous times it continued. After it was done installing and verifying it was stuck again. Ctrl+C to the rescue it exited normally and all the updated packaged were installed... I still don't know what happened and also don't see any error in the logs. Hopefully it will work as expected the next time.

  • I installed Fedora version 25 then switched to Rowhide and ran in this problem. Only the Ctrl-C does not seem to work at all. (i.e. it looks like they prevent you from using Ctrl-C) – Alexis Wilke Feb 25 '17 at 23:28
0

In my case, I got that problem after I upgraded the whole platform (Fedora 25) to Rawhide (future Fedora 26). After the upgrade was done, I tried to install cmake, but a reboot was needed to finish up all the RPM database synchronization. After a reboot, everything worked like a charm as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.