LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-09-2007, 11:08 AM   #1
payal_shah
LQ Newbie
 
Registered: Dec 2004
Posts: 17

Rep: Reputation: 0
Angry Getting error while installing rpm package


Hi All,

I was getting following error while installing rpm package.

rpmdb: Berkeley DB library configured to support only private environments
rpmdb: Berkeley DB library configured to support only private environments
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm

i also tried to write a patch - %__dbi_cdb create cdb private mpool mp_mmapsize=16Mb mp_size=1Mb in a /etc/rpm/macros.

after writing this, i again tried to install rpm package but it just hanged.

can anyone point me in a right direction.

thanks.
 
Old 05-10-2007, 07:36 PM   #2
rsashok
Member
 
Registered: Nov 2006
Location: USA, CA
Distribution: RedHat, Debian
Posts: 202

Rep: Reputation: 31
Could you be more specific: 1. Where did you get your rpm.
2. What is command your are using to install it?
3. BTW: Make sure you are logged in as a root.
4. Type command: "rpm -qlp your.rpm" What does it show?

Few usefule "rpm" commands:
rpm -ivh your.rpm -> unpack
rpm -qlp your.rpm -> shows content
rpm -qp your.rpm -> shows content in different format
rpm -qi your.rpm -> shows what it does
rpm -q your.rpm -> make sure it is not installed
rpm -qa *.rpm -> all packages installed on your computer
 
  


Reply



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
Asking for help!!!--Installing *.src.rpm package oneononexy Fedora 3 04-22-2007 04:14 PM
Public Key error when installing local rpm package Akhran Red Hat 3 04-06-2007 12:15 PM
installing rpm package of postgresql vijaysh Red Hat 2 04-29-2006 03:37 AM
installing and rpm package meliss Linux - Software 2 03-05-2004 07:55 AM
RPM Package Conflict Error Wicksy Linux - General 5 09-09-2003 11:26 AM

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

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

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