Tuesday, February 09, 2010

» Call for testing openSUSE 11.2 with newer aria2

As you might now, Zypp (the package management stack of openSUSE) uses the very powerful aria2 application to perform its downloads, both for repository metadata and RPM files. Before that, it used curl. Since openSUSE 11.2, the Zypp stack defaults to using aria2 (unless the environment variable ZYPP_ARIA2C is set to 0, in which case it falls back to curl). But currently, we have two issues with the aria2 version we ship in 11.2 (which is version 1.5.2):Providing an online update normally means that we backport individual, minimalistic patches that fix the reported issues, in order to avoid introducing new bugs. The policy says that version upgrades must be avoided at all costs. But in this case, it is quite tricky, as the aria2 version that fixes the two above mentioned problems is 1.8.2, and the one that ships with 11.2 is 1.5.2, which is.. erm.. quite a bump. Now, if you feel like you'd like to contribute, please upgrade your aria2 package with the one that is available in the network:utilities repository, and let us know (sending me an email at pascal.bleser at our project's email domain (which is opensuse followed by a dot and then by org) is fine too) whether that newer aria2 version works for you or not. By "works" I mean that both the zypper command-line client and YaST2's software management module function properly. Even better if you disable IPv6 or if you're behind a proxy and it suddenly works :) Here is the procedure to follow, from a terminal, running as root (can be copy/pasted as is):
zypper ar -r \
http://download.opensuse.org/repositories/network:/utilities/\
openSUSE_11.2/network:utilities.repo

zypper up -t package aria2
And then just use zypper and YaST2 as usual. Then please send me feedback (either on bugzilla or by email, as mentioned above) on whether it works for you or if you run into problems. Note that a very few initial tests show that it works very well, so it is not actually expected that it could break the whole package management stack ;) Thanks for testing!

Labels:

6 Comments:

Blogger kfl62 said...

Much faster than older version, which usually hangs up on packman repo :). Of course with ipv6 disabled...

12:02  
Blogger bubli said...

Links to some aria2c vs. proxy related bugs:
here, here and here

14:13  
Blogger initialzero said...

No update candidate for aria2

zypper up -t package aria2
Retrieving repository 'http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2' metadata [done]
Building repository 'http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2' cache [done]
New repository or package signing key received:
Key ID: 382FB14C392FFA88
Key Name: network:utilities OBS Project
Key Fingerprint: 22F7E5D75A99B2F03CF9CA6B382FB14C392FFA88
Repository: Network Utilities (openSUSE_11.2)

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Building repository 'Network Utilities (openSUSE_11.2)' cache [done]
Retrieving repository 'openSUSE-11.2-KDE4:Community' metadata [done]
Building repository 'openSUSE-11.2-KDE4:Community' cache [done]
Retrieving repository 'openSUSE-11.2-KDE4:STABLE:Desktop' metadata [done]
Building repository 'openSUSE-11.2-KDE4:STABLE:Desktop' cache [done]
Retrieving repository 'openSUSE-11.2-Tools' metadata [done]
Building repository 'openSUSE-11.2-Tools' cache [done]
Retrieving repository 'openSUSE-Factory:Contrib' metadata [done]
Building repository 'openSUSE-Factory:Contrib' cache [done]
Retrieving repository 'openSUSE-11.2-Packman' metadata [done]
Building repository 'openSUSE-11.2-Packman' cache [done]
Retrieving repository 'openSUSE-11.2-Update' metadata [done]
Building repository 'openSUSE-11.2-Update' cache [done]
Loading repository data...
Reading installed packages...
No update candidate for 'aria2'.
Resolving package dependencies...

Nothing to do.

16:44  
Blogger Loki said...

Try "zypper up --repo network_utilities aria2"

21:59  
Blogger tech9iner's tower of poop said...

alas tech9iner tried ;]]
linux-ig1r:~ # zypper up -t package aria2
Loading repository data...
Reading installed packages...
No update candidate for 'aria2'.
Resolving package dependencies...

Nothing to do.
linux-ig1r:~ # zypper up --repo network_utilities aria2
Loading repository data...
Reading installed packages...
No update candidate for 'aria2'.
Resolving package dependencies...

Nothing to do.

23:01  
Anonymous Anonymous said...

Hi loki,
testing on 11.2 with aria2c 1.9.3-18.1 patch 1950

Proxy declared ?
http://nopaste.info/768b84e11a.html

try wget
http://nopaste.info/e0a72a6c1a.html

try aria2c
http://nopaste.info/b488250006.html
Running fine

try ...-susedata.xml.gz via wget
http://nopaste.info/4b5df29091.html
wget okay

try ...-susedata.xml.gz via aria2c
http://nopaste.info/3825feeb57.html

Filesize ...-susedata.xml.gz.metalink is about 0 Bytes

Try today after "export ZYPP_ARIA2C=0" and "zypper refresh" with file
http://download.opensuse.org/update/11.2/repodata/a9bf70fd27dbca528c61e5e202ab7f4b70d8399e-susedata.xml.gz
gives same result, if started in new terminal (without "export ZYPP_ARIA2C=0")

Seems aria2c has a problem with http-status 302

If further information needed, no problem.

Ralf

BTW: PC installed in a non-proxy-environment, then move to company with proxy.

Got 4096chr-Limit-error while posting,protocols can be viewed via nopaste.info

11:07  

Post a Comment

<< Home