LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-10-2004, 03:20 PM   #1
lewisdw
LQ Newbie
 
Registered: Nov 2003
Posts: 26

Rep: Reputation: 15
rpmdrake problems (newbie)


I'm trying to install some packages from the mandrake CDs (version 10) using rpmdrake, but it's not seeing the CD. When I insert the CD and click OK, it continues to ask for the CD. Any ideas? What's another way to install the packages (specifically samba) from the CDs? Is their a better way?

Any help is appreciated
 
Old 08-10-2004, 03:56 PM   #2
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
Well at a guess supermount might not be working properly for you. I can't sort this 'cause I never really got it working properly myself However as a workaround you could try mounting your CD's manually.

At a root login prompt type:

Code:
mount /mnt/cdrom
Whenever rpmdrake asks for the CD and then click yes. To take the CD out afterwards you will need to type:

Code:
umount /mnt/cdrom
afterwards.
 
Old 08-16-2004, 06:13 AM   #3
PPisHere
LQ Newbie
 
Registered: Jul 2004
Location: Finland
Distribution: Ubuntu 5.10
Posts: 17

Rep: Reputation: 0
Hi,

Yep I have same problem but that mount trick doesn't work.
Command: mount /mnt/cdrom returns error: ' your kerner does not support supermount'

Any other ideas to get rpmdrake reading from CD ???

Last edited by PPisHere; 08-16-2004 at 06:15 AM.
 
Old 08-16-2004, 06:16 AM   #4
PPisHere
LQ Newbie
 
Registered: Jul 2004
Location: Finland
Distribution: Ubuntu 5.10
Posts: 17

Rep: Reputation: 0
Forgot to mention

My kernel is 2.6.3 --- if this helps anybody to help :-)
 
Old 08-16-2004, 06:23 AM   #5
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
have you gotten all the updates/bug fixes/security fixes? i had the problem initially with 10.0. it would ask for a Cd for a package, insert the CD, it would scan it, pop out the CD in an endless loop. after i installed the updates, etc., then a reboot, the problem was gone.

otis
 
Old 08-16-2004, 06:40 AM   #6
PPisHere
LQ Newbie
 
Registered: Jul 2004
Location: Finland
Distribution: Ubuntu 5.10
Posts: 17

Rep: Reputation: 0
Thanks,

Need to find those updates.
But I need to mention that I have compiled my kernel myself (Fixed ATI video driver problem -- succesfully) it might be that I missed something in that phase. Not sure. Anyway during boot up there is notification that kernel does not support supermount
 
Old 08-16-2004, 07:33 AM   #7
PPisHere
LQ Newbie
 
Registered: Jul 2004
Location: Finland
Distribution: Ubuntu 5.10
Posts: 17

Rep: Reputation: 0
Also,

I tried this dirty hack:
rpmdrake searches CD from /dev/scd0 (it is said in the popup) so I made like this:

in /dev dir:
ln -s /dev/cdrom scd0

Now rpmdrake opens CD hatch for me but still refuses to read the disc

Last edited by PPisHere; 08-16-2004 at 07:36 AM.
 
Old 08-20-2004, 04:06 AM   #8
gtzpower
Member
 
Registered: Jun 2004
Posts: 30

Rep: Reputation: 15
a few things to try:

1: goto harddrake, and run the config tool on your cd-rom. Make sure supermount and user are checked under options, and not noauto.

2: you might try recompiling your kernel using an mdk package for source from rpm.pbone.net, and make sure supermount is selected. here's some quick instructions after you install the source RPM.

cd /usr/src
rm linux

ln -s /usr/src/linux-2.6.7mdk /usr/src/linux //replace linux-2.6.7mdk with the folder created when you installed the source RPM ('ls' should reveal this dir)

cd linux
load the Makefile in your favorite editor - uncomment line 474 (export INSTALL_PATH=/boot)
make mrproper
make menuconfig
make
make modules_install
make install

reboot and pray

and to give credit where it is due, I copied from here.
http://www.linuxquestions.org/questi...eboot+and+pray
I would have posted the link by it's self, but i modified the instructions a bit to follow the steps I took when I was in your shoes..

3: all else fails, goto http://easyurpmi.zarb.org/ and follow he directions on there to get RPMDrake to install packages from the intermet. After doing those instructions, goto your software media manager (in the same menu as the other RPMDrake stuff on the star menu) and uncheck the cd-rom disks.

HTH! Both steps one and two worked for me on seperate occasions, but step 3 is nice anyway, even if the drive is working.
 
Old 08-27-2004, 02:57 AM   #9
PPisHere
LQ Newbie
 
Registered: Jul 2004
Location: Finland
Distribution: Ubuntu 5.10
Posts: 17

Rep: Reputation: 0
Hi,

I was able to fix reading from CD like this without buidling new kernel:
put this in /etc/fstab (i.e replace old CD mount line with this):
Code:
/dev/scd0 /mnt/cdrom iso9660 ro,user,exec 0 0
Whole story in here:
supermount

Now my drmdrake reads fine from CD and urpmi works also

Last edited by PPisHere; 08-27-2004 at 02:58 AM.
 
  


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
RPMDrake and MenuDrake problems - 10.1 DoddyUK Mandriva 2 02-09-2005 10:29 AM
rpmdrake Problems jkruer01 Mandriva 15 04-05-2004 09:29 PM
problems with rpmdrake mike1114 Linux - Newbie 1 03-07-2004 12:20 AM
rpmdrake update problems FLOODS Mandriva 5 10-06-2003 02:42 PM
RPMDrake problems PissOnWindows Linux - Software 1 07-21-2002 09:42 PM

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

All times are GMT -5. The time now is 04:48 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