LinuxQuestions.org
Visit Jeremy's Blog.
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 04-26-2004, 02:27 PM   #1
RovingTech
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Unhappy how to run mandrake update from local source?


I am having a bit of trouble with getting Mandrake 9.2 to accept updates that I downloaded from a mirror and have in a local directory. It appears to validate the updates in manager, but then when I try to run Mandrake Update, it tells me that I need to select a source (even though the local copy is selected!)

It continues to do this until I re-enable the mirror. I can understand the security updates being available only from a mirror, but I have to support a 24 station lab, so it seems ridiculous that I should be forced to download ALL the updates 24 times! Specially when it seems like such an easy task to point to a local directory for updates.

I understand that urpmi may help, but I would need to run it for each update I have downloaded (over 500 megs!). That just seems very user UN-friendly. And what if you have the terrible luck to NOT have broadband at all - how would a dialup modem user get updates?


Any help would be greatly appreciated!
 
Old 04-27-2004, 12:35 AM   #2
doug_s
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
For Mandrake Update to use your local source for updating it had to be added with a flag of --update. Software media manager assumes only the update mirrors get this and local files never get this flag.

To fix it you can skip the gui and add the local source at the command line. First remove the mirror and your local file using software media manager and exit. Then in a console as root enter a line something like the following:

urpmi.addmedia --update updates file://mnt/windows/updates/

Use your own names, the name updates is just the media name I use. I tested this and it worked on my machine.

Also, you're wrong about the update capabilities of urpmi. The following will completely update your machine after a clean install if you've added the right sources. (See www.urpmi.org/easyurpmi.)

urpmi.update -a
urpmi --auto --auto-select

Last edited by doug_s; 04-27-2004 at 12:39 AM.
 
  


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
Downloaded the new kernel Source from Mandrake update, now what do i do? Junior41180 Mandriva 7 08-27-2004 06:00 PM
update source for mandrake ach1lles Linux - Newbie 3 03-03-2004 05:11 AM
Mandrake update, Can't install the Kernel Source.. SiZaint Linux - Newbie 2 12-30-2003 06:02 AM
Mandrake Update and Kernel Source Files Campy19 Mandriva 2 12-24-2003 02:59 PM
Help with the mandrake update source manager johnm1019 Mandriva 2 11-18-2003 05:33 AM

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

All times are GMT -5. The time now is 12:30 AM.

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