LinuxQuestions.org
Visit Jeremy's Blog.
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 01-01-2004, 04:44 PM   #1
jza
Member
 
Registered: Jul 2003
Posts: 40

Rep: Reputation: 15
problem with rpm


I was trying to install the kernel-smp package (after installing the kernel and kernel-src packages and booting to the new kernel) and after it reached 100%, the shell window just froze. I then tried doing rpm -qa and it froze again. Any ideas what went wrong here?

tia
 
Old 01-04-2004, 10:37 AM   #2
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
Your RPM DB could be corrupted (this can happen specially if you interrupt ongoing rpm operations).

Check if there are __db* files on /var/lib/rpm; if you find them, these are lock files and mean that some rpm operation aborted. Assuming there are no rpm operations going on, it is safe to do this (as root):

rm -f /var/lib/rpm/__db*
rpm --rebuilddb -vv

(rebuilddb usually takes a while)

If for any reason DB rebuild fails, you might have a more 'delicate' probl, and maybe these can help you:

http://www.rpm.org/hintskinks/repairdb/
https://bugzilla.redhat.com/bugzilla....cgi?id=106459

HTH
 
  


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
rpm problem juanb Linux - Newbie 2 01-26-2004 08:48 PM
RPM Problem chrisknight Linux - Software 4 07-07-2003 02:30 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
rpm problem katana *BSD 2 08-07-2002 06:17 AM
RPM Problem PeterC1 Linux - Newbie 0 09-13-2001 06:40 AM

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

All times are GMT -5. The time now is 11:21 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