Bugzilla – Bug 552013
aria2c long delay downloading updates
Last modified: 2010-02-12 13:40:46 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.4 (KHTML, like Gecko) Chrome/4.0.229.0 Safari/532.4 Just started gpk-update-viewer and noticed that there are 2 packages to be updated (packagekit didn't notified on the notification area but that another bug). I started to update and packagekit hangs on "downloading update". Would be nice to have this fixed for 11.2. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I can't reproduce this - I installed 2 clean RC2 boxes and both showed the updates in gpk-update-viewer and successfully installed them (and then showed and installed subsequent non "updater stack" updates) Can you give more detail on what you mean by packagekit "hangs" - the gui freezes, just never completes or packagekitd daemon process never exits ...? If you can reproduce this could you remove the /var/log/pk-backend_zypp file, then duplicate this problem, the attach the log.
I just saw this on another box. gpk-update-viewer calls libzypp to perform the update which calls aria2c to download the package which took over 3 minutes to complete. When aria2c finally did return the install went on and subsequent downloads went fast and everything completed successfully. Moving this to the zypp team to see if they want to look into why aria2c was so slow. gpk-update-viewer -v TI:10:05:27 FI:gpk-update-viewer.c FN:gpk_update_viewer_package_cb -role = update-packages, package = downloading: -http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/python-satsolver-0.14.10-1.1.1.i586.rpm TI:10:08:33 FI:gpk-update-viewer.c FN:gpk_update_viewer_status_changed_cb - status install Notice in the attached pk-backend-zypp that libzypp executed aria2c at 10:05:27 and it does not return until 10:08:33
Created attachment 326056 [details] log
Maybe dupplicate bug #558877
Same problem on my system. In fact systems plural, because it happens on both machines I tried 11.2 on. I don't use this gpk- thingy, but if/when I start update/install from YaST or zypper command line it is unbearably slow. Looking at the process list confirm it is in fact aria2c where time is spent. This happens during initial install as well as when system is up and running. My workaround is to set ZYPP_ARIA2C=0 before calling zypper from the command line. If there is a similar YaST workaround please shout.
Updating to aria2-1.8.2 should resolve the issue. An official online update is about to be released soon, but the package is also available at http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.2 *** This bug has been marked as a duplicate of bug 556299 ***