Bug 3361 - Aria2 fails during upgrade from mga1 to cauldron
Summary: Aria2 fails during upgrade from mga1 to cauldron
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL: https://forums.mageia.org/en/viewtopi...
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-11-16 15:00 CET by Morgan Leijström
Modified: 2011-11-27 02:34 CET (History)
1 user (show)

See Also:
Source RPM: aria2-1.12.1-2.mga2.src
CVE:
Status comment:


Attachments
urpmi.cfg (6.33 KB, application/octet-stream)
2011-11-17 10:57 CET, Morgan Leijström
Details
output of # urpmi -v -v --debug --auto-update (7.45 KB, text/plain)
2011-11-17 13:26 CET, Morgan Leijström
Details

Description Morgan Leijström 2011-11-16 15:00:45 CET
Description of problem:
Upgrade process stops after a while, borking some parts of system.
This is a slight repellant for people wanting to try/help on cauldron.


Version-Release number of selected component (if applicable):
Source rpm i wrote above i found after the update to cauldron

Steps to Reproduce:
1.  Have mga1 installed, default KDE, updated

Logged out from any gui, and in textscreen terminal:

2.  # urpmi.removemedia -a
3.  # urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list'
4.  # urpmi --auto --auto-select

It then upgrades some packages, asks user to choose alternatives, presents a list of 1,3 GB packages, but when proceeding Aria2 fail downloading.

Workaround: Specify another downloader:
# urpmi --downloader wget --auto-update
Comment 1 Manuel Hiebel 2011-11-16 19:02:43 CET
Hi, thanks for reporting this bug.
Indeed I have see this one several time.
But it seems very hard to fix. :/

Florian, maybe we can update to the last version ?

Thierry, Florian, any debug option that can be useful here ? (urpmi or aria2 side, I don't know)

CC: (none) => thierry.vignaud
Assignee: bugsquad => doktor5000

Comment 2 Florian Hubold 2011-11-16 19:07:32 CET
(In reply to comment #0)
> Description of problem:
[...]
>but when proceeding Aria2 fail downloading.

Any error message?
Comment 3 Morgan Leijström 2011-11-16 20:46:14 CET
Ah! sorry, i shot a photo of the screen but forgot to enter i here...
I got: (looking at photo)

Exception Caught
Exception: [Platform.cc:111] errorCode=1 gcry_check_version() failed.

And the same two lines repeated once. Then:

aria2 failed: ended with 1

-but in swedish, with a slight error in translation, btw... also next lines are in swedish but i translate here: 

Failed retrieving lib64zlib1-1.2.5-5.mga2.x86_64.rpm
Try agin? (y/N)
Comment 4 Florian Hubold 2011-11-16 21:18:11 CET
Could you please at least attach your /etc/urpmi/urpmi.conf?
Seeing no such errors here, aria2 works normally. But i've seen those before ...
Comment 5 Morgan Leijström 2011-11-17 10:57:30 CET
Created attachment 1072 [details]
urpmi.cfg
Comment 6 Morgan Leijström 2011-11-17 11:05:30 CET
History:
Fresh install of mga1-64 bit, default packages KDE, plus i checked network client pakages, fully updates day before yesterday.
I chosed extra media during install = FTP from the swedish mirror.

Full updates, no manual changes to repos or configuration.

Then i cloned it completely and transited this clone to cauldron as per https://bugs.mageia.org/show_bug.cgi?id=3361#c0 .
Comment 7 Thierry Vignaud 2011-11-17 12:12:01 CET
Maybe aria2 depends on some other library that should have been upgraded in the priority upgrade stage?
(eg http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642989 points we may have to add a versioned require on libgcrypt to aria2)

Adding the "-v -v --debug" options to urpmi and attaching (not pasting) the logs to this BR may help to identify the issue

BTW I decrease the severity since this is upgrading to devel distro.

Keywords: (none) => NEEDINFO
Severity: major => normal

Comment 8 Morgan Leijström 2011-11-17 13:22:55 CET
Thierry may be right.  - Whatever it was dependant on, it seem fixed after upgrade, as now urpmi can use aria2.

If you want, I offer to redo the whole process of cloning from mga1 and update to cauldron.  I may have time for that this coming weekend.

Write here any tests, command line options, whatever, you want me to do :)
Comment 9 Morgan Leijström 2011-11-17 13:26:47 CET
Created attachment 1073 [details]
output of # urpmi -v -v --debug --auto-update
Comment 10 Florian Hubold 2011-11-17 18:58:09 CET
@Thierry: I've already asked at Mandriva, but to no avail. Do you happen to know why runtime support in aria2 for openssl and expat has been disabled some time ago? Sadly changelog doesn't give any meaningful reason:

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/aria2/current/SPECS/aria2.spec?r1=574185&r2=574887

BTW: I've also seen the debian report about libgcrypt, there the problem was fixed with 1.5.0. Could be a reason why the problem vanished in between, as cauldron was updated to 1.5.0 3 months ago, and mga1 still has 1.4.6.
Comment 11 Thierry Vignaud 2011-11-27 02:34:01 CET
I've added a require on new enough libgcrypt

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.