LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-28-2007, 10:49 AM   #1
wangberg
LQ Newbie
 
Registered: Jan 2007
Location: PRC
Distribution: Ubuntu 9.04
Posts: 24

Rep: Reputation: 15
install dope wars


having a problem getting past a Key error. I tried an -f as a suggestion from another forum, but obviously didn't work. The same error happens when i don't use a force.

thanks!!!!


Code:
[root@localhost Desktop]# rpm -ivhf dopewars-1.5.12-1.src.rpm
warning: dopewars-1.5.12-1.src.rpm: Header V3 DSA signature: NOKEY, key ID 745e6093
   1:dopewars               warning: user ben does not exist - using root
warning: group sali does not exist - using root
########################################### [100%]
warning: user ben does not exist - using root
warning: group sali does not exist - using root
[root@localhost Desktop]# rpm -ivhF dopewars-1.5.12-1.src.rpm
warning: dopewars-1.5.12-1.src.rpm: Header V3 DSA signature: NOKEY, key ID 745e6093
   1:dopewars               warning: user ben does not exist - using root
warning: group sali does not exist - using root
########################################### [100%]
warning: user ben does not exist - using root
warning: group sali does not exist - using root
[root@localhost Desktop]#
 
Old 05-28-2007, 11:12 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,740

Rep: Reputation: 298Reputation: 298Reputation: 298
Quote:
but obviously didn't work.
Let's start with: what were you expecting it to do?

If you were expecting it to install a working application, it won't happen with a .src.rpm. It's a source rpm which has to be compiled to make a binary, installable rpm.

Installing a .src.rpm requires root authority because the .src.rpm writes to two directories in /usr/src, which the normal user doesn't normally have permission to write to those directories.

The .src.rpm puts a rpm .spec file somewhere in /usr/src/..../SPECS, and a source tarball in /usr/src/.../SOURCES.

Then cd to /usr/src/.../SPECS and run the command 'rpmbuild <filename>.spec', or something to that effect, to build a binary rpm which will be placed in /usr/src/.../RPMS.

The error messages you got are normal behavior when trying to install a .src.rpm without porper authority.

Su to root, and try it again. Then look into the directories named above.

Note: ... will differ among the rpm based distros. Suse uses 'packages', RedHat uses 'redhat', etc.
 
Old 05-28-2007, 09:20 PM   #3
wangberg
LQ Newbie
 
Registered: Jan 2007
Location: PRC
Distribution: Ubuntu 9.04
Posts: 24

Original Poster
Rep: Reputation: 15
this is after being signed in as root

Code:
[root@localhost Desktop]# rpm -ivh dopewars-1.5.12-1.src.rpm
warning: dopewars-1.5.12-1.src.rpm: Header V3 DSA signature: NOKEY, key ID 745e6093
   1:dopewars               warning: user ben does not exist - using root
warning: group sali does not exist - using root
########################################### [100%]
warning: user ben does not exist - using root
warning: group sali does not exist - using root
[root@localhost Desktop]#
 
  


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
Guild Wars Wine Install Error Sharpiemax Linux - Games 3 04-09-2009 08:33 PM
Format wars Jeebizz General 21 06-21-2007 03:21 AM
Quake Wars!! Who else is in? Prostetnic_Jeltz Linux - Games 11 05-22-2007 11:40 AM
Error box comes up while trying to install Star Wars- Battlefront(1) dstrbd1 Linux - Games 2 02-08-2006 06:33 AM
Hardware wars??? drjimstuckinwin General 2 10-12-2004 03:41 PM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration