Ok here it is for FREE...
urpmi.addmedia --distrib cdrom removable://mnt/cdrom
Look in the attachment and you will find some more for free
********
----- Original Message ----- 
From: "Anne Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 30, 2003 12:31 AM
Subject: Re: [newbie] Getting CD sources back ( was: Update Doesn't Update)


> On Saturday 29 Nov 2003 10:22 pm, Derek Jennings wrote:
> > On Saturday 29 Nov 2003 7:39 am, Paul Harrison wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Paul Harrison wrote:
> > > | Derek Jennings wrote:
> > > | | On Friday 28 Nov 2003 10:30 pm, Langsley T Russell wrote:
> > > | |
> > > | |
> > > | | Note: Do *not* do what it says about " urpmi.removemedia -a"
> > > | | or else
> > > |
> > > | you will
> > > |
> > > | | lose your CD sources.
> > > |
> > > | Now this is what *I* did!  How do I put them back on?
> > >
> > > Please ignore me - I am in danger of becoming an annoying newbie,
> > > and besides I already have broadband, therefore unneccesary!!
> > >
> > > Paul
> >
> > Well I might as well tell you anyway.
> >
> > Anytime someone asks this question I can never remember the command
> > so I go to the newbie archives and search on urpmi.addmedia
> > Thats how you do it :-)
> >
> >
> > derek
>
> There's a lot of info on
> http://mandrake.vmlinuz.ca/bin/view/Main/UsingUrpmi but I'm not sure
> that repairing that damage is there.  Perhaps someone could add it?
>
> Anne
> -- 
> Registered Linux User No.293302
> Have you visited http://twiki.mdklinuxfaq.org yet?
>
>
>


----------------------------------------------------------------------------
----


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>
Some examples urpmi commands.

All the following can also be done by using Mandrake Control Centre.
This meant for console use.

************
This examples refer to my setup - your paths etc will be different..

Add a CD to media....
urpmi.addmedia updateCD4 removable://mnt/cdrom/updates/RPMS with ../base/hdlist.cz
remove this CD from media....
urpmi.removemedia updateCD4
***************
Add a CD that was burned from a download from a website...
urpmi.addmedia updateCDweb removable://mnt/cdrom/ManUpdates/RPMS with ../base/hdlist.cz
urpmi.removemedia updateCD4web
***************
List the available media that was added....
urpmq --list-media      (watch it urpm ends with q )
***************
THIS will only work before the media was used to update....
To check if the media you want to use is OK....
urpmq --auto-select --media updateCD4
to check more than one same time
urpmq --auto-select --media updateCD4,updateCDweb  (no spaces either side of comma)
***************
For this to work you have to be connected...to save time while connected make a little 
script and run..(should you need more info on 
Add a internet website...
urpmi.addmedia --update FranceLyon 
ftp://ftp.fr2.rpmfind.net/linux/Mandrake/updates/9.1/RPMS/ with ../base/hdlist.cz
######## a lot of links can be found at easy urpmi ....
        http://plf.zarb.org/~nanardon/index.php
***************
If you have removed all your media like in...
urpmi.removemedia -a
You will find that your installation CD's are missing from the list
To readd your cd sources do:.........
Put CD1 in the drive and in root terminal type:
urpmi.addmedia --distrib cdrom removable://mnt/cdrom
***************
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to