Bug 552013 - aria2c long delay downloading updates
Summary: aria2c long delay downloading updates
Status: RESOLVED DUPLICATE of bug 556299
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Final
Hardware: Other openSUSE 11.2
: P2 - High : Major with 1 vote (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 23:03 UTC by Luis Medinas
Modified: 2010-02-12 13:40 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
log (549.45 KB, text/plain)
2009-11-06 18:12 UTC, Scott Reeves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Medinas 2009-11-02 23:03:26 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.
Comment 1 Scott Reeves 2009-11-05 01:09:58 UTC
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.
Comment 2 Scott Reeves 2009-11-06 18:07:38 UTC
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
Comment 3 Scott Reeves 2009-11-06 18:12:55 UTC
Created attachment 326056 [details]
log
Comment 4 Michael Andres 2009-12-04 08:16:51 UTC
Maybe dupplicate bug #558877
Comment 5 Tvrtko Ursulin 2009-12-20 09:13:08 UTC
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.
Comment 6 Michael Andres 2010-02-12 13:40:46 UTC
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 ***