LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-26-2003, 08:39 AM   #1
phz
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Distribution: 98SE, 2000, MS-DOS6.22, Trustix1.5, Slackware 9.1
Posts: 23

Rep: Reputation: 15
rpm's should be pretty easy, right..?


Being a newbie, i try the easiest way to get things working on an old 486 machine. And the easiest way, i'm being told, is installing rpm's. I have installed Mandrake 7.0 (cuz it's what i found at that moment for an 486), but are experiencing some problems installing rpm-packages.

When i run the 'rpm -q <package>' i'm being told the packages are not installed. Fine, then i run 'rpm -i <package>' but get the msg "The package is already installed". Hmm... i try again, this time with the 'force' option, and then run a 'rpm -q' on the package. Guess what? It says package is not installed. Am i doing something obviously wrong? Does it matter from where on my system i run the rpm command? When i tried, i executed the rpm command from /mnt/cdrom. Help!
 
Old 10-26-2003, 08:40 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
When you use:
rpm -q <package>

Are you using the rpm name:
rpm -q somepackage-version.rpm

You just need the package name:
rpm -q somepackage
 
Old 10-26-2003, 12:19 PM   #3
phz
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Distribution: 98SE, 2000, MS-DOS6.22, Trustix1.5, Slackware 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
will check when i get home

...but i'm kinda sure that i wrote 'rpm -q sompackage*' or maybe just 'rpm -q so*' - i sorta try not to type more than i really need to. i'll check later.
 
Old 10-26-2003, 02:27 PM   #4
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
1. Have you visited "easy urpmi" at http://plf.zarb.org/~nanardon

You will get instructions how to add a number of Mandrake sources to your graphical software update system (urpmi) thus avoiding messing with the command line.

2. Have you loaded KPackage? This comes with Mandrake but in 9.1 is not installed as standard. It is a great Package Manager which you can use to control your rpms from KDE, for those that you get from other sources not available through urpmi.

DAVE
 
Old 10-26-2003, 03:02 PM   #5
phz
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Distribution: 98SE, 2000, MS-DOS6.22, Trustix1.5, Slackware 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
thanx for the link, dave

...but unfortunately it didn't help me much. you see, i installed Mandrake 7.0 on an old 486 without the X window system. i just try to make the system work, so i can get on with creating LinuxFromScratch on it. my goal is to have the nessesary command line tools operational, so i can get on with it. thanx anyway
 
Old 10-26-2003, 06:26 PM   #6
davecs
Member
 
Registered: Feb 2003
Location: Barking, Essex, Britain
Distribution: PCLinuxOS and MX-Linux
Posts: 503

Rep: Reputation: 32
Sorry, phz! I thought you were asking about both your new 9.2 box and the old 7.0 box.

Still, best of luck in your endeavour. Maybe if you can get an old 486 going with graphical interface etc you could post a report of how you did it somewhere, for people with old hardware (eg sent to developing countries, or donated to charities) to give it a go!

DAVE
 
  


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
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
Linux4RegularGuys - EASY FTP setup using vsftpd - READ THIS FOR EASY HELP DropHit Linux - Networking 4 11-25-2004 02:44 PM
I am pretty proud of this opioid Linux - General 4 11-11-2004 11:02 AM
Pretty new to Linux ASP Linux - Newbie 3 07-29-2003 11:17 PM
very pretty equipment bigjohn Linux - Hardware 2 04-13-2003 01:55 PM

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

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