LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 0
problems with rpm


Hi,

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-2.1.3.3mdk.i586.rpm

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


Thx
 
Old 06-12-2003, 01:02 PM   #2
david_ross
Moderator
 
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, 03:27 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,876

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
su

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, 05:08 PM   #4
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
apt4rpm

you owe it to your sanity.

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

Rep: Reputation: 30
synaptic
You owe it to the penguin

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

Rep: Reputation: 57
root
because you deserve control.
 
  


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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration