Cannonfodder Posted March 14, 2003 Report Share Posted March 14, 2003 I have 9.1 RC2 installed and want to get the latest so that I can check what bugs are fixed and what's not. But I'm not understanding how to update the system to the latest. Can someone point a tutorial out or provide me with some steps to follow on how to do this? Does it require updating my CD's? Or can I directly update my system (I hope)? Quote Link to comment Share on other sites More sharing options...
DragonMage Posted March 14, 2003 Report Share Posted March 14, 2003 All I do is just add a cooker mirror (and cooker contrib mirror) into the urpmi database, then disable the 3 installation cds. Then when I invoke rpmdrake, I choose the sort by update availability option. It will show you the packages needed to be installed in order to upgrade to the newest. Of course, this doesn't work with kernel updates so you have to download kernel rpms and install them manually (not to mention rebuilding NVIDIA rpms and stuffs). Once a day, I refresh the list by either typing this command in console as root urpmi.update -a Or right click on the rpmdrake, then pick update sources, then choose your cooker mirror and cooker contrib mirrors. Then you can find out what's new for today if you choose the update availability option in rpmdrake. That's how I do it anyway.. and my cooker installation is up to date as of 3/13/03. Quote Link to comment Share on other sites More sharing options...
Guest anon Posted March 14, 2003 Report Share Posted March 14, 2003 I do much the same as DragonMage, although for the kernel just do urpmi kernel in a term, gives you a list of available kernels, pick one and away you go. Though with the final due any day now, you might choose to wait..... Quote Link to comment Share on other sites More sharing options...
aru Posted March 14, 2003 Report Share Posted March 14, 2003 Once a day, I refresh the list by either typing this command in console as rooturpmi.update -a Or right click on the rpmdrake, then pick update sources, then choose your cooker mirror and cooker contrib mirrors. Then you can find out what's new for today if you choose the update availability option in rpmdrake. If you do that in daily basis, why don't you do it through cron? [offtopic] ie, I follow two approaches to have my system updated (I don't want to have a bleeding edge distro, but I want to know which packages are available to upgrade each day, w/o using resource eaters such as the urpm* programs) weekly update of rpmi databases through cron:#Update urpmi list from ftp.ciril.fr 30 3 * * mon /usr/sbin/urpmi.update -a [*] daily retrieval --cron-- of several mirror listings (cooker, updates, ...) dumped into text files for later usage through my own scripts or even through simple commandline commands. I always use the "b" way; Now I rarely go to rpmfind or do a direct browsing of ftp mirrors since I started using it. And I don't use the "a" for anything, though I keep the databases updated. [/offtopic] Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted March 15, 2003 Author Report Share Posted March 15, 2003 I've been trying to follow DragonMage's method and am not having any luck getting uprmi.addmedia to work. I even found this website that builds the urpmi.addmedia command for you. http://plf.zarb.org/~nanardon/index.php Whatever site I tried, the all give me the same error.. root /etc/urpmi $urpmi.addmedia cookermain ftp://ciril.fr/pub/linux/mandrake-devel/c...6/Mandrake/RPMS with ../base/ hdlist.czadded medium cookermain retrieving description file of "cookermain"... retrieving source hdlist (or synthesis) of "cookermain"... ftp://ciril.fr/pub/linux/mandrake-devel/c...6/Mandrake/base ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium "cookermain" examining synthesis file [/var/lib/urpmi/synthesis.hdlist.cookermain.cz] problem reading synthesis file of medium "cookermain" unable to update medium "cookermain" Can you post your /etc/urpmi.cfg file so I can see how you have it configured? Quote Link to comment Share on other sites More sharing options...
DragonMage Posted March 15, 2003 Report Share Posted March 15, 2003 Ok.. here is my /etc/urpmi/urpmi.cfg Installation CD 1 (x86) (cdrom1) removable://mnt/cdrom/Mandrake/RPMS { hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz with_hdlist: ../base/hdlist1.cz list: list.Installation CD 1 (x86) (cdrom1) removable: /dev/scd0 ignore } Installation CD 2 (x86) (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2 { hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz with_hdlist: ../base/hdlist2.cz list: list.Installation CD 2 (x86) (cdrom2) removable: /dev/scd0 ignore } International CD (x86) (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 { hdlist: hdlist.International CD (x86) (cdrom3).cz with_hdlist: ../base/hdlist3.cz list: list.International CD (x86) (cdrom3) removable: /dev/scd0 ignore } plf ftp://plf.time4t.net/pub/plf/cooker { hdlist: hdlist.plf.cz with_hdlist: hdlist.cz list: list.plf } texstar ftp://ftp.ibiblio.org/pub/Linux/distributions/contrib/texstar/linux/distributions/mandrake/9.0/rpms { hdlist: hdlist.texstar.cz with_hdlist: hdlist.cz list: list.texstar } main ftp://mandrake.redbox.cz/Mandrake-devel/cooker/i586/Mandrake/RPMS { hdlist: hdlist.main.cz with_hdlist: ../base/synthesis.hdlist.cz synthesis } contrib ftp://mandrake.redbox.cz/Mandrake-devel/contrib/i586 { hdlist: hdlist.contrib.cz with_hdlist: ../../cooker/i586/Mandrake/base/hdlist2.cz } Quote Link to comment Share on other sites More sharing options...
aru Posted March 15, 2003 Report Share Posted March 15, 2003 root /etc/urpmi $urpmi.addmedia cookermain ftp://ciril.fr/pub/linux/mandrake-devel/c...6/Mandrake/RPMS with ../base/ hdlist.czadded medium cookermain retrieving description file of "cookermain"... retrieving source hdlist (or synthesis) of "cookermain"... ftp://ciril.fr/pub/linux/mandrake-devel/c...6/Mandrake/base ... see the space you've put between "../base/" and "hdlist.cz"? that's why urpmi.addmedia doesn't find the hdlist.cz file as the relative path to it is wrong. Remove that space and try again ;) ...and don't you have a closer mirror? :mrgreen: Quote Link to comment Share on other sites More sharing options...
Guest anon Posted March 15, 2003 Report Share Posted March 15, 2003 ./base/ hdlist.cz >>>>wrong ./base/hdlist.cz >>>>>correct Leave out the space :wink: Damn, aru beat me to it, btw that link (http://plf.zarb.org/~nanardon/index.php) is in tips and tricks. Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted March 15, 2003 Author Report Share Posted March 15, 2003 Finally got it to work... I totally deleted my CD1-3. Do I need to readd them and mark them ignore in order for cooker to work? Quote Link to comment Share on other sites More sharing options...
Guest anon Posted March 15, 2003 Report Share Posted March 15, 2003 No Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted March 17, 2003 Author Report Share Posted March 17, 2003 I eventually did see the space *blushing* Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted March 17, 2003 Author Report Share Posted March 17, 2003 Finally, all is updated. Ran out of disk space on / so I moved what I had downloaded to another partition and symbolicaly linked it to /var/lib/urpmi/rpms. Rpmdrake picked them up with no problem *whew* thanks for all your help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.