Bug 1589 - Manual mirrorlist command in migration guide doesn't work
Summary: Manual mirrorlist command in migration guide doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: www.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Atelier Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-05 02:18 CEST by Anssi Hannula
Modified: 2014-05-08 18:05 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Anssi Hannula 2011-06-05 02:18:20 CEST
The manual mirror adding command in the 2010.1 migration guide ( http://mageia.org/en/1/migrate/ ) is incorrect, as the system version is still 2010.1/2010.2 and it thus tries to add Mageia 2010.2 lists that don't exist:

urpmi.addmedia --distrib --mirrorlist

Two options to fix:
1) Use explicit version:
URPMI_ADDMEDIA_PRODUCT_VERSION=1 urpmi.addmedia --distrib --mirrorlist
or
2) Provide compatibility symlinks in the mirrorlist API.


Note that the migration is broken anyway due to bug #1588 (it adds Mandriva mirrors instead as they are cached).
Comment 1 Romain d'Alverny 2011-07-29 18:05:30 CEST
Any status update? (Web page didn't change but has it been fixed in the API?)

CC: (none) => rdalverny

Comment 2 Marianne Lombard 2011-10-16 16:39:35 CEST
Manual migration fails because of a bad selection of mirror 

urpmi.addmedia --distrib --mirrorlist http://mirrors.mageia.org/api/mageia.1.$ARCH.list

install mirror for cauldron version of mageia instead of mageia 1 
This behavior looks not be present with all mirror

CC: (none) => marianne

Comment 3 Nicolas Vigier 2011-10-16 18:33:46 CEST
(In reply to comment #2)
> Manual migration fails because of a bad selection of mirror 
> 
> urpmi.addmedia --distrib --mirrorlist
> http://mirrors.mageia.org/api/mageia.1.$ARCH.list
> 
> install mirror for cauldron version of mageia instead of mageia 1 
> This behavior looks not be present with all mirror

the mirrorlist file for mageia 1 doesn't contain any cauldron url.

CC: (none) => boklm

Comment 4 Nicolas Vigier 2011-10-16 19:04:59 CEST
So the problem, noticed by misc, is that single quotes are missing around the mirrorlist URL.

The website should give this command :
# urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.1.$ARCH.list'
Comment 5 Romain d'Alverny 2011-10-17 00:47:28 CEST
(In reply to comment #4)
> The website should give this command :
> # urpmi.addmedia --distrib --mirrorlist
> 'http://mirrors.mageia.org/api/mageia.1.$ARCH.list'

This is now fixed on the website.
Comment 6 Manuel Hiebel 2011-11-19 23:53:33 CET
(In reply to comment #5)
> (In reply to comment #4)
> > The website should give this command :
> > # urpmi.addmedia --distrib --mirrorlist
> > 'http://mirrors.mageia.org/api/mageia.1.$ARCH.list'
> 
> This is now fixed on the website.

closing

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

Nicolas Vigier 2014-05-08 18:05:21 CEST

CC: boklm => (none)


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