LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2008, 07:00 AM   #1
HyperTrey
Member
 
Registered: Sep 2006
Posts: 127

Rep: Reputation: 15
Problems with RPM command


to lay a little back ground. I am running SuSe 10.3 and am attempting to get real comfortable with Linux for my job. I was attempting to install VMware server for testing purposes (was going to install XP on it) However I never got that far into it.

First I type rpm -i <name of rpm> and parts were installed but not done correctly. I then tried rpm -ivh <name> and got error on the rpm command. I then realized that i needed the kernel-source and kernel syc something or another so i installed them with no problem. Then tried to run rpm -ivh <name> again and this time some stuff was installed and yet a ton of other seemed to be in conflict with others. I tried to run VMware and no dice. So, like an idiot i tried to delete the file in question and rerun the rpm and still get errors I can't explain. It still says that some of the files are there and i know they are not.

I then learned of rpm -e and it doesn't work since i kinda screwed it up with the files not there. when i type rpm -q | more I see that the rpm package is there, but when i run rpm -e it tells me it isnt.

What Do I do and can someone better explain the installation process of VMware? How do I fix the rpm or remove it so I can start over again if it says it is there and then says it isn't and rpm -ivh says it is again? I can't seem to find proper documentation.
 
Old 02-28-2008, 07:23 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Talking about packages, commands and errors won't help. Posting package versions, commands run and errors in full (in BB code tags) *might*.
 
Old 02-28-2008, 07:27 AM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Proper documentation is found by simply typing man rpm

Is the VMWare-server rpm package installed; rpm -qa VMware-server
Re-installing the package rpm -Uvh VMware-server*.rpm --force
Remove an rpm package from the database only rpm -e --justdb <package name>
Seeing if everything is correct to install a package; rp -Uvh --test <rpm filename here>

It helps of you provide the exact commands used and the output from them.
 
Old 02-28-2008, 08:49 AM   #4
HyperTrey
Member
 
Registered: Sep 2006
Posts: 127

Original Poster
Rep: Reputation: 15
Thank you Lenard, that is what i needed. And I found the documentation on vmware.com, however to install it on linux i had to go all the way passed page 50, i made the mistake earlier that is was just for windows.

Ty again.
 
  


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
How to view content of RPM package using RPM command? Micro420 Linux - General 5 07-18-2010 03:03 PM
installed apache from source, didn't remove rpm, updated rpm causes problems leftPeg Linux - Newbie 5 06-06-2007 09:20 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
How can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM
rpm command loganwva Linux - General 3 03-13-2002 09:48 AM


All times are GMT -5. The time now is 06:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration