LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-05-2006, 07:56 PM   #1
doox00
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Rep: Reputation: 0
mandriva 2006


I am trying to install software using the mandriva install software program in kde, the problem is mandriva is on a dvd, I have a cdrw drive in my computer as well as a dvd rom (installed mandriva from the dvd rom drive) but the mandriva software install program keeps opening my cdrw and wanting me to put the media in, how do I tell it to use the dvd rom drive and no the cdrw drive? as of now I am unable to install the packages I need.

thanks for any help
 
Old 07-06-2006, 01:58 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
What you will need to do is fix the urpmi.cfg. This can be accomplished easily one of two ways, depending on your skills and comfort level.

Novice:
Open the Mandriva Control Center (System->Configuration->Configure your computer).
In the Software Management tab, select the "rpm" box icon.
Next, select the media you wish to edit (main on my ssytem), and press the edit button.
The url should look something like "removable:///mnt/cdrom". Change this to where the dvd mounts (i.e. removable:///mnt/dvd) and press ok (note: this information is in your /etc/fstab file, or you can insert a dvd and see where it mounts to).
Press ok to save the changes, and exit the control center. Now it should eject the dvd when it needs to insert the installation disk.

Advanced method:
edit /etc/urpmi/urpmi.cfg, search and replace /mnt/cdrom (or /mnt/cdrw) with /mnt/dvd (check /etc/fstab for correct mount points).

One problem you may encounter, the drives sometimes will change order after a reboot, even though they are jumpered correctly for master/slave. My dvd-rom will occasionally swap with my dvdrw. In this case, I fix the fstab file accordingly. Not sure if this is a Mandriva bug or a bios issue.
 
Old 07-06-2006, 02:18 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Use better thread titles in future please, i.e. ones that actually describe the problem you're having. Common sense really .
 
Old 07-06-2006, 03:01 AM   #4
r_balest
LQ Newbie
 
Registered: Apr 2006
Posts: 14

Rep: Reputation: 0
@GrueMaster: i used the first method, but sometimes, it said, cannot install etc etc due to unsatisfied xxx xxxx...
I've copied all the rpm on my dvd to local harddrives and i add custom to direct Mandriva to /usr/mandrake
but if i also insert the dvd to my dvdrom, it will install smoothly...
am i missing something here?

Thanks
 
Old 07-06-2006, 08:20 AM   #5
doox00
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nylex
Use better thread titles in future please, i.e. ones that actually describe the problem you're having. Common sense really .

thanks for all the help guys, appreciate it.


Nylex, don't worry about it, just ignore threads with vague titles then... not to mentioned I tried to edit it once done and this forum will not allow you to edit titles for reason.

Last edited by doox00; 07-06-2006 at 08:21 AM.
 
Old 07-06-2006, 11:33 PM   #6
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
urpmi needs more than just the rpm files. It also uses the hdlist files as a database, which it imports into it's own system. If you are going to copy from the dvd, you should copy the entire cd, directory structures intact. That way urpmi can easily reference what it needs.
 
  


Reply



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
No internet under Mandriva LE 2005 or Mandriva 2006 Akoni Linux - Networking 3 05-06-2006 11:17 AM
Mandriva 2006 - Greeting mail message from mandriva can't be removed JBailey742 Linux - Software 1 03-27-2006 02:55 AM
LXer: Mandriva and HP launch new computers pre-loaded with Mandriva Linux 2006 in 37 Countries in Latin America LXer Syndicated Linux News 0 01-18-2006 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:40 PM.

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
Open Source Consulting | Domain Registration