LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-14-2006, 04:38 AM   #1
ticks
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
Smile having trouble installing packages from my DVD install disk


I'm having trouble installing packages from my DVD Install Disk of Mandrake 10.1 to my hdd.
I used that same DVD to install Mandrake onto my machine but when i use rpmdrake to update and install
more packages i get the following message:

Unable to update medium, it will be automatically disabled.
Errors: unable to access your medium "Installation DVD (cdrom1)", this could happen if you mounted manually
the directory when creating the medium.

Here is my fstab:
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hdb /mnt/cdrom2 iso9660 umask=0,user,iocharset=iso8859-1,sync,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

When i do /mnt/cdrom2 and then do ls -l i can see all the files on the DVD but i can't seem to get it to work in rpm so i
can install more packages. Any help would be greatly appreciated
 
Old 04-14-2006, 05:56 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
I don't think this is an issue with your DVD drive or fstab. It has to do with the 'media' urpmi has configured. The best thing to do is, go to Easy URPMI, and configure online respritorys. Sounds complicated, but not really. Here is the link, it has complete instructions on how-to. Once that is done, your can delete the DVD form the media list. It will never ask you for it again. Best part is you get the latest available packages with all the updates and bug fixes.

Here is the link.

http://www.mandrivausers.org/easyurpmi/index.php
 
Old 04-14-2006, 10:23 AM   #3
ticks
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Cliff, thanks for your help

I clicked on that link you posted and i went through the steps. When i copied/pasted the command given to me into my Konsole i got this:

# urpmi.addmedia main ...
unable to retrieve pathname for removable medium "Installation DVD (cdrom1)"
added medium main
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation DVD (cdrom1).cz]

retrieving source hdlist (or synthesis) of "main"...

How do i know it actually worked or is working? i'm quite the linux newb so have patience please
 
Old 04-14-2006, 10:47 AM   #4
ticks
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, i just typed urpmi.removemedia -a which got rid of the dependency on the dvd for updating, now it's working.

[root@localhost jan]# urpmi.addmedia main ftp://mirrors.usc.edu/pub/linux/dist...586/media/main with media_info/hdlist.cz
added medium main
computing md5sum of existing source hdlist (or synthesis)
retrieving source hdlist (or synthesis) of "main"...
ftp://mirrors.usc.edu/pub/linux/dist...info/hdlist.cz
found probed hdlist (or synthesis) as media_info/hdlist.cz
...retrieving done
examining hdlist file [/var/cache/urpmi/partial/hdlist.main.cz]
examining pubkey file of "main"...
performing second pass to compute dependencies

examining hdlist file [/var/lib/urpmi/hdlist.main.cz]
built hdlist synthesis file for medium "main"
found 0 headers in cache
removing 0 obsolete headers in cache
write config file [/etc/urpmi/urpmi.cfg]

Now i need to know where the files are being located and how to go about installing them. Thanks in advance
 
Old 04-14-2006, 12:51 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
Once you have URPMI set up, open up MCC (Mandrake Control Center) and look for the software tab. You should have a icon for installing, one for removing, one for updating, and the last one is for the media manager. You updated the media manager using easy urpmi. To install something, click the install button, select the package(s) you want, click install. Sit back, and the system does the rest.... That is it.

The files are on the respritory mirrors on the internet.
 
Old 04-14-2006, 08:24 PM   #6
ticks
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Many thnx, Cliff

Got it working now, very much appreciate it
 
Old 04-15-2006, 10:53 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
You are welcome.
 
  


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
Installing base packages from disk, not CD fiservguy Red Hat 8 10-19-2005 01:00 PM
Trouble installing packages using rpm on Mandrake 10.0 Harry Seldon Linux - Software 2 08-05-2005 02:21 PM
Installing more packages etc (from DVD) degras Debian 1 07-05-2005 08:31 AM
Installing packages from a DVD NadJ Fedora 2 04-18-2005 10:12 PM
Trouble installing packages on Mandrake 10 PC Wizard Linux - Newbie 5 09-02-2004 07:50 PM

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

All times are GMT -5. The time now is 11:59 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
Open Source Consulting | Domain Registration