Bug 6121 - CLI upgrade Mageia1 to Mageia2
Summary: CLI upgrade Mageia1 to Mageia2
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: www.mageia.org (show other bugs)
Version: trunk
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Atelier Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 00:09 CEST by Ken Bergen
Modified: 2012-06-23 19:19 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
console output (435.45 KB, text/plain)
2012-06-04 02:12 CEST, Ken Bergen
Details

Description Ken Bergen 2012-05-28 00:09:24 CEST
Description of problem:
More than one pass needed for CLI upgrade.


How reproducible: Upgrade using the suggested 
"urpmi --replacefiles --auto-update --auto" 
at a CLI.


Steps to Reproduce:
1.Change repositories from Mageia1 to Mageia2
2.Run 
"urpmi --replacefiles --auto-update --auto"
as per instructions
  In my case 316 packages were upgraded then urpmi restarted and another 2659 started upgrading which is normal behaviour.
  I noticed that several times I would see Installing and a list of packages downloaded but no Preparing and no actual installing, it would just go on to downloading the next series of packages. 
3.Run 
"urpmi --replacefiles --auto-update --auto" 
again.
  Again in my case, 1240 packages were upgraded. These packages appeared to be cached as they started installing with no downloading.


It is my belief that the CLI upgrade instructions should be changed to suggest running
"urpmi --replacefiles --auto-update --auto"
at least twice.
Comment 1 Florian Hubold 2012-05-28 01:26:39 CEST
For reference, http://www.mageia.org/en/1/migrate/ should be copied/updated for mga2
Or is there some other documentation you are referring to?

CC: (none) => doktor5000

Comment 2 Ken Bergen 2012-05-28 02:42:31 CEST
https://wiki.mageia.org/en/Mageia_2_Release_Notes#Upgrading_from_Mageia_1 

But I see that that's in the wiki and I can update that myself. 

Of course when http://www.mageia.org/en/1/migrate/ is copied/updated to /2/upgrade/ the advice to run the command twice should be included there.
Comment 3 Manuel Hiebel 2012-05-28 11:20:59 CEST
this seems not a but for me, 

for 2. this is normal since urpmi install first the needed package for urpmi

for 3. have you log ? I'm pretty there was a fail
Comment 4 Ken Bergen 2012-05-28 21:30:13 CEST
(In reply to comment #3)
> this seems not a but for me, 
> 
> for 2. this is normal since urpmi install first the needed package for urpmi
> 
> for 3. have you log ? I'm pretty there was a fail

For 2,   As I said 316 packages were installed then urpmi restarted saying it was installing 2659 packages. It only installed 1419 of those and ended without an error message.

For 3.   Unfortunately I have no logs as I re-installed Mageia1.

I'll do a clean install of 1 on a new disc then upgrade to 2 in the next days and attach any error logs I find here.
Comment 5 Ken Bergen 2012-06-04 02:12:27 CEST
Created attachment 2421 [details]
console output

New install and test.

Manuel you where correct in that there were lots of failures reported at the end of the first run. 

However all of the packages that failed in the first run installed in the second run.

Here's the console output.
Comment 6 Romain d'Alverny 2012-06-13 00:34:22 CEST
The upgrade procedure is described in the wiki. Should this bug be closed or?

CC: (none) => rdalverny

Comment 7 Ken Bergen 2012-06-13 01:07:04 CEST
(In reply to comment #6)
> The upgrade procedure is described in the wiki. Should this bug be closed or?

I added the advice to run the command twice to the wiki and as no one else has reported a problem it might as well by closed for now.
Romain d'Alverny 2012-06-13 01:08:19 CEST

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

Marja Van Waes 2012-06-23 19:19:23 CEST

Attachment 2421 mime type: application/octet-stream => text/plain


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