Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Mandrake Linux New Ftp Tree Structure, How to update urpmi for the new tree
hughesjr
post May 2 2004, 08:48 AM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Mandrake has changed the official structure of their FTP mirrors, so all previously posted urpmi.addmedia statements have the old path.

To fix your urpmi program do this:

1. Find the mirror you want to use from the Mandrake ftp page. I will be using the mirrors.usc.edu mirror.

2. Remove all the current media, since the old paths are bad, like this:
CODE
urpmi.removemedia -a


3. Add the new media paths to urpmi with these commands (substitute your mirror's urls, as necessary):
For Mandrake 9.2
CODE
urpmi.addmedia Disk_1 http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/9.2/i586/Mandrake/RPMS with ../base/synthesis.hdlist.cz

urpmi.addmedia Disk_2 http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/9.2/i586/Mandrake/RPMS2 with ../base/synthesis.hdlist2.cz

urpmi.addmedia Disk_3 http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/9.2/i586/Mandrake/RPMS3 with ../base/synthesis.hdlist3.cz

urpmi.addmedia update_source http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/updates/9.2/RPMS with ../base/synthesis.hdlist.cz

For Mandrake 10.0
CODE
urpmi.addmedia Disk_1 http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/10.0/i586/Mandrake/RPMS with ../base/synthesis.hdlist.cz

urpmi.addmedia Disk_2 http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/10.0/i586/Mandrake/RPMS2 with ../base/synthesis.hdlist2.cz

urpmi.addmedia Disk_3 http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/10.0/i586/Mandrake/RPMS3 with ../base/synthesis.hdlist3.cz

urpmi.addmedia update_source http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/updates/10.0/RPMS with ../base/synthesis.hdlist.cz

For Mandrake 10.1
CODE
urpmi.addmedia contrib  http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/10.1/i586/media/contrib with synthesis.hdlist.cz

urpmi.addmedia jpackage http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/10.1/i586/media/jpackage with synthesis.hdlist.cz

urpmi.addmedia main http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/10.1/i586/media/main with synthesis.hdlist.cz

urpmi.addmedia update_source http://mirrors.usc.edu/pub/linux/distributions/mandrakelinux/official/updates/10.1/RPMS with media_info/synthesis.hdlist.cz

4. To do updates, the commands would now be:

urpmi.update -a
urpmi --auto-select


5. To update my kernel (which urpmi doesn't do by default), I go to folder on the mirror that contains the kernels, download the one I want by hand and then install it via:

rpm -Uvh kernel-file-name

I then edit the file /etc/lilo.conf and make any changes necessary to point to the new kernel.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th October 2017 - 07:28 PM