LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install rpm files (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-rpm-files-67452/)

moy 06-23-2003 08:01 AM

Can't install rpm files
 
I just downloaded a Flash player in rpm format.
But for some odd reason I cant install the player.
I am pasting the command I typed and the error that I got.

$ rpm -i rpm -irpm -i flash-plugin-6.0.79-1.i386.rpm
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm

Any ideas on how I should fix this
Thanks

aizkorri 06-23-2003 08:27 AM

you have to be root if you want to install an rpm package

lokee 06-23-2003 08:32 AM

To install the rpm, just type:
'su' at the prompt, enter your password.
Then 'rpm -ivh pkg'

moy 06-23-2003 12:44 PM

thanks i totally forgot abt that

:)


All times are GMT -5. The time now is 10:52 PM.