LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Grip in Redhat 9.0 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-grip-in-redhat-9-0-a-72787/)

freefly 07-14-2003 11:09 PM

Installing Grip in Redhat 9.0
 
Deos this tell anyone what I am doing wrong??

[freefly@localhost Grip]$ rpm -i grip-3.0.7-1.i386.rpm
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[freefly@localhost Grip]$


Thanks!

That rpm is listed as the stable one for RH 9.0

bkeating 07-14-2003 11:39 PM

Has nothing to do with Grip is looks like but more so your rpm database is either missing ot broken. I don't work with RPM's so I can help ya out on this, perhaps you can copy over the db from the install CDs? *shrug*

edit: try installing as root, just noticed that you weren't.


It's also good practice to give an rpm argument of -ivh.

MasterC 07-14-2003 11:41 PM

Try rebuilding it first:
rpm --rebuilddb
Then try again. All as root.

Cool

jolstorn 07-19-2003 04:30 AM

Seems that if you don't have access to the database, rather than it beeing corrupted. You have to be root (or equivalent).

Try :
su -c "rpm -i grip-3.0.7-1.i386.rpm"
***** (password)

which runs rpm as root.


All times are GMT -5. The time now is 06:54 AM.