Upgrade to Mageia3 via CLI

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Upgrade to Mageia3 via CLI

Postby dedanna1029 » May 21st, '13, 01:04

Hi,

I'm trying to upgrade to Mageia 3 from Mageia 2 via CLI using the steps here at the wiki, but I'm evidently doing something wrong in trying to add the repositories for Mageia 3 to upgrade with. You'll probably see the problem here; I think I'm putting the url in wrong. I've already done the steps up to this point.

Code: Select all
:) ls -l /
total 12
lrwxrwxrwx   1 root root    7 May 20 16:50 bin -> usr/bin/
drwxr-xr-x   4 root root 1056 May 20 16:50 boot/
drwxr-xr-x  21 root root 4020 May 20 16:50 dev/
drwxr-xr-x 149 root root 9352 May 20 16:50 etc/
drwxr-xr-x   8 root root  176 Feb  8 08:31 home/
drwxr-xr-x   2 root root   48 Mar 13  2012 initrd/
lrwxrwxrwx   1 root root    7 May 20 16:50 lib -> usr/lib/
drwxr-xr-x  12 root root  344 May 19 14:15 media/
drwxr-xr-x   8 root root  224 Feb 25 16:20 mnt/
drwxr-xr-x   7 root root  168 Apr 16 16:22 opt/
dr-xr-xr-x 196 root root    0 May 20 16:49 proc/
drwxr-x---  26 root root 1672 May 20 16:56 root/
drwxr-xr-x  37 root root 1240 May 20 16:52 run/
lrwxrwxrwx   1 root root    8 May 20 16:50 sbin -> usr/sbin/
drwxr-xr-x   2 root root   48 Mar 13  2012 srv/
dr-xr-xr-x  12 root root    0 May 20 16:49 sys/
drwxrwxrwt  21 root root  460 May 20 16:53 tmp/
drwxr-xr-x  15 root root  384 May 20 16:50 usr/
drwxr-xr-x  21 root root  592 May 20 16:49 var/
.:[ root@dedanna.rockz.net : 16:56:11 : ~ ]:.
:)
.:[ root@dedanna.rockz.net : 16:56:47 : ~ ]:.
:) urpmi.removemedia -a
removing medium "Core Release (distrib1)"
removing medium "Core Release Debug (distrib2)"
removing medium "Core Updates (distrib3)"
removing medium "Core Updates Debug (distrib4)"
removing medium "Core Updates Testing (distrib5)"
removing medium "Core Updates Testing Debug (distrib6)"
removing medium "Core Backports (distrib7)"
removing medium "Core Backports Debug (distrib8)"
removing medium "Core Backports Testing (distrib9)"
removing medium "Core Backports Testing Debug (distrib10)"
removing medium "Nonfree Release (distrib11)"
removing medium "Nonfree Release Debug (distrib12)"
removing medium "Nonfree Updates (distrib13)"
removing medium "Nonfree Updates Debug (distrib14)"
removing medium "Nonfree Updates Testing (distrib15)"
removing medium "Nonfree Updates Testing Debug (distrib16)"
removing medium "Nonfree Backports (distrib17)"
removing medium "Nonfree Backports Debug (distrib18)"
removing medium "Nonfree Backports Testing (distrib19)"
removing medium "Nonfree Backports Testing Debug (distrib20)"
removing medium "Tainted Release (distrib21)"
removing medium "Tainted Release Debug (distrib22)"
removing medium "Tainted Updates (distrib23)"
removing medium "Tainted Updates Debug (distrib24)"
removing medium "Tainted Updates Testing (distrib25)"
removing medium "Tainted Updates Testing Debug (distrib26)"
removing medium "Tainted Backports (distrib27)"
removing medium "Tainted Backports Debug (distrib28)"
removing medium "Tainted Backports Testing (distrib29)"
removing medium "Tainted Backports Testing Debug (distrib30)"
.:[ root@dedanna.rockz.net : 16:57:03 : ~ ]:.
:)
.:[ root@dedanna.rockz.net : 16:57:26 : ~ ]:.
:) urpmi.addmedia --distrib --mirrorlist http://mirrors.mageia.org/api/mageia.3.$i586.list
unable to add medium
.:[ root@dedanna.rockz.net : 16:58:05 : ~ ]:.
:( urpmi.addmedia --distrib --mirrorlist http://mirrors.mageia.org/api/mageia.3.$i586
...retrieving failed: aria2 failed: exited with 3

unable to access the distribution medium (no media.cfg file found)
unable to add medium
.:[ root@dedanna.rockz.net : 16:58:22 : ~ ]:.
:(


Any help is appreciated.

Thanks!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
dedanna1029
 
Posts: 99
Joined: Jan 1st, '13, 17:35

Re: Upgrade to Mageia3 via CLI

Postby Ken-Bergen » May 21st, '13, 01:25

From the wiki page you used
(Where $ARCH is either i586 or x86_64)
So just remove the $ from your command.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Upgrade to Mageia3 via CLI

Postby dedanna1029 » May 21st, '13, 01:58

Thanks. Which command, though, the $i586, or $586.list command I had?
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
dedanna1029
 
Posts: 99
Joined: Jan 1st, '13, 17:35

Re: Upgrade to Mageia3 via CLI

Postby Ken-Bergen » May 21st, '13, 02:05

dedanna1029 wrote:Thanks. Which command, though, the $i586, or $586.list command I had?
The wiki clearly says $ARCH.list.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Upgrade to Mageia3 via CLI

Postby dedanna1029 » May 21st, '13, 02:42

Thank you! :)
We're giving it a go right now on the netbook!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
dedanna1029
 
Posts: 99
Joined: Jan 1st, '13, 17:35


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest