Created attachment 1007941 [details] Screenshot of the console with dnf update -v. We can see no errors, but dnf hanged. It can show me this state all over the day until I'll do ^C Description of problem: When I try to update system via "dnf update" or install sth via "dnf install package" dnf always hangs when download the last package. I've seen this before, it was reproducing rarely, but now I see that it hangs every time. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. dnf update or dnf install package with several dependent packages 2. wait until dnf download N - 1 packages 3. Actual results: Expected results: Additional info:
Hi, could you please try to repeat the download after dnf clean all and let us know if it helps?
(In reply to Michal Luscon from comment #1) Hi, > Hi, > > could you please try to repeat the download after dnf clean all and let us > know if it helps? sure! I'll try to do this tonight. I'd like to add, as an addition, that after termination dnf via ^C and restarting it by repeating last command (update or install) it downloads last package successful always.
(In reply to Michal Luscon from comment #1) Hi again, I tried to do dnf update after dnf clean all and it hanged updating metadata: [ecko@localhost ~]$ sudo dnf update Fedora 21 - x86_64 33% [============================ ] 93 kB/s | 13 MB 04:48 ETA I think it could reproducing because of my slow net connection (1 Mbit/s PPPoE). But I don't know why it just hangs without any error.
Thanks weird. At some time (timeout conf option) it should at least cancel connection.
Could you please attach a tcp dump if there is any network communication while dnf is stuck?
(In reply to Michal Luscon from comment #5) > Could you please attach a tcp dump if there is any network communication > while > dnf is stuck? Err, I'll try, but I don't know if I could do this tonight. Today I've already updated (with another hangs when download the last package), but I'll see what can I do to reproduce. If I could not do it tonight, I'll do it tomorrow.
I'm sorry for that delay. A few days earlier I've updated my Fedora to 22 and since than I cannot reproduce this bug. So please mark it as closed for now.
Ok, if you encounter this issue again, please rerun dnf with environment variable LIBREPO_DEBUG=1 for detailed output.
I had this same issue with a fresh install of fedora 22 KDE. Dnf hung on the last package, no network activity and no CPU either.
Are you able to reproduce it with LIBREPO_DEBUG=1 set?
It did not replicate. Similar to the above, once I ended the first process and retried the update, it ran properly through and has not been an issue since. I will keep an eye out for it in the future.
This is a very real issue, just intermittent in nature. Today, I tried installing wine (dns install wine). For the first three attempts, dnf hung up on the last package. Before the fourth attempt I set LIBREPO_DEBUG=1, it ran successfully on that attempt.
This is a very real issue, just intermittent in nature. Today, I tried installing wine (dnf install wine). For the first three attempts, dnf hung up on the last package. Before the fourth attempt I set LIBREPO_DEBUG=1, it ran successfully on that attempt.
We have finally figured out that this is probably caused by wrongly set librepo minrate value. Please try out new dnf-1.0.1-2 and if the problem persists, feel free to reopen the bugzilla report. *** This bug has been marked as a duplicate of bug 1212320 ***