Jump to content

Updating Mandrake with Cooker


Cannonfodder
 Share

Recommended Posts

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)?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.....

Link to comment
Share on other sites

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.

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]

Link to comment
Share on other sites

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.cz

added 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?

Link to comment
Share on other sites

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

}

Link to comment
Share on other sites

root /etc/urpmi $urpmi.addmedia cookermain ftp://ciril.fr/pub/linux/mandrake-devel/c...6/Mandrake/RPMS with ../base/ hdlist.cz

added 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:

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...