home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Applications and Operating Systems
Ask a Tech Support Question (free)!

Mandrake 8.2 rpm package manager help

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1235
Discussions: 200,903, Posts: 2,378,883, Members: 246,272
Old June 18th, 2002, 10:04 PM   Digg it!   #1 (permalink)
Member
 
Dbest's Avatar
 
Join Date: Oct 2001
Location: Carolina,P.R.
Posts: 396
Mandrake 8.2 rpm package manager help

Hi everyone, I recently installed Madrake 8.2 on a PC and I wanted to change the source from wich the package manager finds the files. By default Mandrake uses the cdrom drive drive from which it installed. But right now I it to look on the second drive /mnt/cdrom2. I tried adding this as a "source" but it just gives an error when it tries to add this source. How do I have to fill the windows that appears when I want to add a source, the name field, the mnt point field, and another which I don't really remember. I need help please I want to install Tuxracer but it has alot of dependencies and I really don't in which cd these files are, that's why I need to use the rpm package maneger, anyway thanks
Dbest is offline   Reply With Quote
Old June 18th, 2002, 11:24 PM     #2 (permalink)
Ultimate Member
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,514
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
hello.
what does mandrake use as a GUI front end? is this kpackage? here is a cheet sheet for command line RPM stuff.
__________________
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old June 18th, 2002, 11:30 PM     #3 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
Send a message via AIM to krohnjw
not sure about changing it, but you could always use Kpackage to find the dependencies, then find the RPM on the CD using the grep command, and rpm -Uvh package.rpm to install them.
Also, just a quick question, when you are changing the source in kpackage, are you logged in as root? I would imagine that would be a root only privilage. What error are you getting when you change it also?
krohnjw is offline   Reply With Quote
Old June 18th, 2002, 11:40 PM     #4 (permalink)
Ultimate Member
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,533
Send a message via AIM to S.D.Willie
hmm, i know tuxracer comes with 8.1 and 8.2 if you install the packages at install time. have you tried running "rpmdrake" as root? enter tuxracer in the box for what you want installed and it will prompt you for whatever cd's it needs for dependencies. hope this helps.

SD
__________________
My signature really sucks
S.D.Willie is offline   Reply With Quote
Old June 18th, 2002, 11:45 PM     #5 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
Send a message via AIM to krohnjw
That isnt the problem wille, the problem now is that he wants to install off of Cdrom2, and the package manager is prompting for Cdrom1. Tuxracer will also only install if you select the games package on the mandrake install.
krohnjw is offline   Reply With Quote
Old June 19th, 2002, 12:03 AM     #6 (permalink)
Member
 
Dbest's Avatar
 
Join Date: Oct 2001
Location: Carolina,P.R.
Posts: 396
Thanks for the help everyone, I know that I can install Tuxracer when I install Mandrake but the drive from which I do the installation doesn't read that part of the cd, it just hangs there. I've had that problem with that drive so that's why I didn't install tuxracer from the beginning and waited until now. Maybe you're asking then why doesn't he boots from the second drive. Well the answer is that my second drive is a scsi cd-burner so my bios doesn't let me boot from it. Anyway, I'll try the suggestions that you guys gave me. Will keep you posted. Hasn't anyone done this, I know it must be simple but as a newbie this kind of things happen .Thanks for the help everyone
Dbest is offline   Reply With Quote
Old June 19th, 2002, 10:53 AM     #7 (permalink)
Senior Member
 
Join Date: Nov 2001
Location: Dallas, Tx.
Posts: 923
Send a message via ICQ to psyklone
well you may actually have more luck using urpmi since it will go and look in its rpm database and resolve/install all dependencies for any rpm package you want to install. when you install it builds its rpm database from the install cds and i don't like having to keep them around so what i do after i install is make a /rpm directory and copy the rpms from all cds into /rpm.

once that's done run urpmi.update and you'll see the cd names that it uses to pull the rpms from. once the list is up there you know the exact names of the cds that you need to remove from the urpmi database so you can then run urpmi.removemedia "and the first cd name surrounded by quotes like this" and let it remove that as a source. do that for each cd name that urpmi.update gives you until you can run urpmi.update and it tells you that there are no sources.

at this point you can add your own /rpm source that you created. run urpmi.addmedia install_cd removable_cdrom_1://rpm and it will go through and create a new hdlist based on the contents of /rpm and once it's finished you'll be able to run urpmi whatever.rpm and install any package ... any dependencies any packages need will be resolved by urpmi and you'll never need the cd's anymore. one thing to keep in mind, though, is if you ever download any more rpms or updates to rpms that you have in /rpm you'll need to run urpmi.update install_cd to rebuild the hdlist.

cheers,

-Z
psyklone is offline   Reply With Quote
Old June 19th, 2002, 11:39 AM     #8 (permalink)
Ultimate Member
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,533
Send a message via AIM to S.D.Willie
yeah i remember i had the same problem after i changed a setting in lilo.conf. it then looked for my cdrw instead of my cd-r for packages. i only messed with lilo to get it to recognize my cd-r in xcdroast which ended up being pointless actually. from then on i never used 2 cdroms in linux really from cd to cd copy. pbharris had my back with that.

SD

Last edited by S.D.Willie : June 19th, 2002 at 11:42 AM.
S.D.Willie is offline   Reply With Quote
Old June 19th, 2002, 03:13 PM     #9 (permalink)
Member
 
Dbest's Avatar
 
Join Date: Oct 2001
Location: Carolina,P.R.
Posts: 396
Thanks for the help psyklone, i'll try that once I get home, will kepp you posted on the subject
Dbest is offline   Reply With Quote
Old June 19th, 2002, 03:24 PM     #10 (permalink)
PCLinuxOS 2009.1
 
dunbar's Avatar
 
Join Date: Feb 2001
Posts: 3,589
Blog Entries: 5
Send a message via ICQ to dunbar
Look for rpmdrake.
When it launches, it offers a button for define sources, allows ftp, other disks, directories, etc.
dunbar is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2799)
Is the PSU I received dead? (10)
Install XP pro and a Vista laptop ?.. (8)
California Passes Anti-Flat-HDTV Le.. (38)
A good PSU? (10)
Fox uses old news clips to inflate .. (33)
HIS HD5770 graphic card question (14)
Foreign voltage (5)
New Computer wont recognize XP disc (7)
Dept. of HS: NSA 'Helped' Develop V.. (12)
Print spooler problem (5)
EVGA 9800 gtx help with finding a g.. (6)
Ideal cheap graph card for PC-Gamin.. (13)
Mysterious Boot manager (9)
Recent Discussions
HIS HD5770 graphic card question (14)
Install XP pro and a Vista laptop ?? (8)
Need hard disk drivers (3)
Cloning old drive to new drive (6)
Asus P4G8X Mobo (0)
Amptron monitor G17FP-Black (0)
windows vista security holes (0)
EVGA 9800 gtx help with finding a goo.. (6)
A good PSU? (10)
Is the PSU I received dead? (10)
Ideal cheap graph card for PC-Gaming? (13)
HP Pavillion Laptop ze4220 won't turn.. (7)
Dept. of HS: NSA 'Helped' Develop Vis.. (12)
Foreign voltage (5)
Convert 5 pin Keyboard to USB (11)
Print spooler problem (5)
hybernate option (2)
Steam ID's, Gamertags etc... (1)
New Computer wont recognize XP disc (7)
World's largest Monopoly Game using G.. (328)
Modern Warfare 2: Who Bought It? (60)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (28)
blender help (2)
Hard drive freezes boot (1)
Mysterious Boot manager (9)


All times are GMT -4. The time now is 03:26 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28