Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-01-2001, 09:30 PM   #1
Tarantismic Yak
LQ Newbie
Registered: May 2001
Posts: 16

Rep: Reputation: 0

I recently installed the latest RPM package on RedHat 6.2 ( Kernel 2.2.16-3 ), and when next attempting to install the 2.2.19 kernel this nifty message appears:

error: cannot open Depends index using db1 - Invalid argument (22)

I can't remove nor install any RPMs now. ARGH!!! :|

Anyone help?
Old 05-01-2001, 10:30 PM   #2
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
this probably won't work but it's a good starting point,

login as root
in a terminal window type rpm --rebuilddb

that should rebuild the /var/lib/rpm files.

Old 05-01-2001, 10:55 PM   #3
Tarantismic Yak
LQ Newbie
Registered: May 2001
Posts: 16

Original Poster
Rep: Reputation: 0
Smile THANK YOU!!!

Both for your prompt reply and valuable advice, it is very much appreciated.

The DB rebuild took about one minute and after this everything worked perfectly,
2.2.19 now has the honour of being the default boot

Again, many thanks, this has relieved one serious headache!


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
rpm troubles Kreature Linux - Newbie 6 02-08-2005 01:16 PM
RPM and x server troubles ..... fellsin Linux - General 4 01-11-2005 04:12 PM
rpm troubles conrad987 Fedora 4 12-06-2004 06:57 AM
Troubles RPM Gerardoj Linux - Software 3 06-10-2003 04:21 AM
rpm troubles albean Linux - Newbie 2 11-25-2002 04:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration