LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-19-2005, 07:34 AM   #1
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
RPM error cannot open Group index...


I've got a weird error when trying to install an rpm. I enter the line:

rpm -Uvh something.rpm

and I get the following error:

error: cannot open Group index using db3 - No such device or address (6)

This is not your usual "rpm database is in use" business. It seems like a permanent error.

Can anyone help?
 
Old 12-20-2005, 07:05 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Maybe the rpm database is defect. You can try to repair it:
http://portal.suse.com/sdb/en/1999/01/ke_rpm-db.html

Code:
# rpm --rebuilddb
Don't forget to back-up /var/lib/rpm first!
 
Old 12-20-2005, 07:17 AM   #3
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
did that and managed to install the rpm. thanks.

however, i'm still having errors. I tried to uninstall the rpm with rpm -e somerpm but it said it was not installed, so I redid rpm -Uvh somerpm and it said that the rpm was already installed!

Tried rpm -ivh as well, same thing. I don't think it put all the files there though... so I've copied the neccessary files into /usr/lib.

dunno what to do with the stupid thing.

ran rpm -rebuildb again and repeated, no change...
 
Old 12-20-2005, 06:57 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Why not try yast? It may give you better error messages or avoid the error all together.
 
Old 12-21-2005, 03:22 AM   #5
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
did that and it's didn't give an error, it read the rpm as being installed. rpm -qa|less now shows the rpm installed so I'm not gonna bother with it any more, I manually copied over the files anyway so as long as they're there I don't have time to waste on this (there's lots of other linux bugs to find workarounds to! )
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
Apache does not open index.html ekinox Linux - Software 15 05-01-2005 12:21 PM
index.htm doesn't open instead it show up merlin740 LinuxQuestions.org Member Success Stories 2 10-04-2004 12:08 PM
cannot open packages index using db3 belletrillion Linux - Software 1 11-17-2003 05:05 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM


All times are GMT -5. The time now is 11:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration