Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-12-2003, 10:37 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 20

Rep: Reputation: 0
problems with rpm


I am new with linux. I have problems with rpm packages. I am never able to open them. I don't know what is the problem. I have Mandrake 9.1. This is what I do as it says in the README:

$ rpm -Uvh compat-glibc-7.2-

And these are the errors I get:

error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm

Old 06-12-2003, 02:02 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Are you doing it as root?
Old 06-12-2003, 04:27 PM   #3
LQ Guru
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 11
Posts: 7,910

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355

Like david_ross says you can install rpm packages as root or you can install them as user after using the su command to get root privilages. Enter the su command. Enter your root password and then try rpm again.
Old 06-13-2003, 06:08 PM   #4
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15

you owe it to your sanity.

Old 06-13-2003, 07:42 PM   #5
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
You owe it to the penguin

Hope that helps....
Old 06-13-2003, 09:27 PM   #6
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
because you deserve control.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM problems King of Japan Red Hat 4 01-27-2005 12:04 AM
RPM problems bloodfrost Linux - Newbie 6 05-06-2004 05:47 PM
rpm problems skatcat31 Linux - Software 5 02-23-2004 03:03 AM
RPM Problems demonx Mandriva 2 09-28-2003 10:12 AM
RPM Problems Bigun Linux - General 11 06-24-2003 11:27 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration