LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install dope wars (https://www.linuxquestions.org/questions/linux-software-2/install-dope-wars-557228/)

wangberg 05-28-2007 10:49 AM

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]#


bigrigdriver 05-28-2007 11:12 AM

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.

wangberg 05-28-2007 09:20 PM

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]#



All times are GMT -5. The time now is 11:18 AM.