LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-11-2004, 09:11 AM   #1
sala
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Upgrading to 10.1 official


Hi

I am running Mandrake 10.0 Official, I had a look at easy urpmi web site today and saw that sources for 10.1 Official were added.

What is the proper procedure for upgrading?
I am guessing that updating the sources shoudl do the trick....but not entirely sure.
I would also like to use the new kernel version that comes with 10.1

Thanks
 
Old 11-11-2004, 05:26 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Because files are in use on a running 10.0 system, upgrading via URPMI is not a great option, though some have tried.

Rather you can utilize a boot CD to get a rudimentary network going via the CD's installer. Once done it will connect to the repository (you must supply the source...) and it will upgrade your existing system.

This is MUCH slower than installing from CD, but it works.

The Image for this is also available on the repositories.
 
Old 11-11-2004, 06:13 PM   #3
sala
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, thanks alot for help
 
Old 11-12-2004, 02:31 PM   #4
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
It is possible to upgrade froma running system, though.

The best thing is to set up urpmi to point to the 10.1 OE sources, then issue an "init 3" as root. This will start a single-user, full-screen console session. Log in as root, and issue a "urpmi urpmi" command. (This makes sure your version of urpmi is the latest.) Then simply issue a "urpmi --auto-select". This will update everything to the latest tree.
 
Old 11-12-2004, 04:59 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
I haven't tried this.

Will it pick up the kernel upgrades this way?
 
Old 11-12-2004, 05:10 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Quote:
Log in as root, and issue a "urpmi urpmi" command. (This makes sure your version of urpmi is the latest.)
That was excellent. I'm angry with myself for not having though of it.
 
Old 11-12-2004, 07:17 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I have used mandrake for years and never thought of it either. I have upgraded 9.2 to 10 via urpmi and it was quite successful although it took me ages.
 
Old 11-12-2004, 07:37 PM   #8
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Where do you configure urpmi to look for sources when upgrading? Is there a configuration file somwhere?

Thanks
 
Old 11-12-2004, 09:09 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
no just change the urpmi mirrors to point to the 10.1 mirror you would like to use. I tend to remove my urpmi sources and then use the instructions from easyurpmi to setup the new ones.
 
Old 11-12-2004, 09:12 PM   #10
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by student04
Where do you configure urpmi to look for sources when upgrading? Is there a configuration file somwhere?

Thanks
I use Easy Urpmi at
http://plf.zarb.org/~nanardon/urpmiweb.php
to get sources for urpmi. Just follow the instructions beginning with choosing the proper version number of Mandrake.

Sometimes you have to try different mirrors before you'll find one that actually works.

You'll know if the process has been successful if, after quite a while of downloading data, you see a message referring to "0 obsolete header files."

The Mandrake site also has a page of mirrors for Mandrake stuff.
 
Old 11-12-2004, 09:43 PM   #11
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Cool - works fine.

From the site:
Quote:
Also, you might want to type urpmi.removemedia -a first, in order to reinitialize urpmi's setup.
I did that, and then did the scripts that website told me to enter after configuring it. Then, in drakconf I see that it removed the Installation CD1, 2, and 3. Or, did they just get replaced by one of the sources i configured?

This was the script it produced for me:
Code:
urpmi.addmedia plf ftp://ftp.free.fr/pub/Distributions_.../mandrake/10.0 with hdlist.cz
urpmi.addmedia --update updates http://distro.ibiblio.org/pub/linux/...ates/10.0/RPMS with ../base/hdlist.cz
urpmi.addmedia main ftp://mirrors.secsup.org/pub/linux/m.../Mandrake/RPMS with ../base/hdlist.cz
urpmi.addmedia contrib ftp://mirrors.secsup.org/pub/linux/m...0/contrib/i586 with ../../i586/Mandrake/base/hdlist2.cz
I'm a little confused... I have never used urpmi to update anything really...
Is updates the security updates?
Is main the installation cds?
What is contrib?

Thanks
 
Old 11-12-2004, 10:07 PM   #12
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Udpates includes the security updates. Also updates to Mandrake software packages of all sorts.

Alas, when you do that removemedia thing, it does remove the three or four installation CD's lists along with everything else.

But you can put the CD's back in as sources. Go in the Mandrake Control Panel to package managing and choose "add sources" or something similar. (I don't have it on the screen right now, but it's self-evident.) Then it will let you browse in a dialog box, and you can choose the CD in your CD-ROM drive at the moment. Say it's CD #1. You find the directory that says "media" and possibly there's a "RPMS" directory inside that. Choose that. You might have to experiment a little but it won't hurt anything. Then do the same, adding the lists of rpm's from the other distro disks.

I don't know why they don't give an option to keep the CD lists. It would save a bunch of work. (Technically, there is such an option: you can specify the name of each medium you want to remove. See man page for "uprmi.removemedia.") With this option you don't use the -a switch (for "all").

The "contrib" sources are for packages not officially offered by Mandrake, but which various designers have made to work for Mandrake.

The "main" source is for distributions and such mainline Mandrake offerings.

Don't be alarmed if you see messages about lists possibly being out of date, etc. Those messages are informational, more than warning. They can generally be disregarded. However, sometimes a package can't be found because the list is out of date. Then it may be time to refresh your sources.

Last edited by jonr; 11-12-2004 at 10:12 PM.
 
Old 11-12-2004, 10:17 PM   #13
student04
Member
 
Registered: Jan 2004
Location: Georgia
Distribution: OS X, CentOS
Posts: 669

Rep: Reputation: 34
Okay, thanks a lot!
 
Old 11-13-2004, 09:55 AM   #14
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Rep: Reputation: 30
You can also use synaptic / apt to upgrade to 10.1 (or even to partially upgrade - just the packages you need.) The easy urpmi tool gives you all the info you need, but you have to make a few tweaks; here's my /etc/apt/sources.list file:

# plf 1
rpm ftp://ftp.easynet.fr/plf/mandrake/10.1/ hdlist i586

# updates 2
rpm ftp://ftp.phys.ttu.edu/pub/mandrakel...1/main_updates media_info/hdlist .
rpm ftp://ftp.cise.ufl.edu/pub/mirrors/m...cial/updates/1 0.1/main_updates media_info/hdlist .

# main 2
rpm ftp://ftp.rutgers.edu/pub/Mandrakeli...586/media/main media_ info/hdlist .
rpm ftp://mirror.aca.oakland.edu/pub/lin...10.1/i586/medi a/main media_info/hdlist .
rpm ftp://mirrors.secsup.org/pub/linux/m...cial/10.1/i586 /media/main media_info/hdlist .

# contrib 2
rpm ftp://ftp.rutgers.edu/pub/Mandrakeli.../media/contrib med ia_info/hdlist .
rpm ftp://mirror.aca.oakland.edu/pub/lin...10.1/i586/medi a/contrib media_info/hdlist .
rpm ftp://mirrors.secsup.org/pub/linux/m...cial/10.1/i586 /media/contrib media_info/hdlist .


NB 1 - the path given by easy urpmi for PLF is incorrect - you have to specify i586
NB 2 - the ".cz" needs to be removed from the hdlist files
NB 3 - you can have multiple mirrors of the same set of files specified, if you like (as I did above)

I find synaptic to be a much better package management tool than rpmdrake. Also, this can all coexist quite happily with urpmi, so you burn no bridges by trying. Just urpmi -i synaptic, edit your sources.list as above, and you're good to go.
 
Old 11-14-2004, 09:54 AM   #15
sala
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you everyone for help!
I tried booting form a floppy and upgrading over network, this worked and now my system happily runs 10.1
One thing that could not get upgraded for some reason was Xorg server, thats where telinit 3 and urpmi --auto-select came in very nicely
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to Mandrake 10.1 Official (need advise) wardialer Linux - Newbie 19 03-22-2005 05:57 PM
Upgrading to 10.1 Official, help. choboNO1 Mandriva 4 01-23-2005 09:04 PM
Upgrading KDE from 3.2 to 3.3 In Mandrake 10.0 Official webwolf70 Mandriva 1 09-20-2004 02:34 PM
Upgrading Apache2 and PHP on 10.0 Official laserlight Mandriva 1 05-04-2004 01:39 AM
Upgrading to Mandrake 10 Official from 9.2 saurya_s Linux - Software 1 04-16-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration