[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm -e kernel(old one) doesn't come back



On Mon, Feb 03, 2003 at 11:44:06AM -0500, Margaret_Doll wrote:

> I then issued "rpm -e kernel-2.4.18-14" and the process never came 
> back.  "ps" show the process running with no time.  "top" doesn't show 
> the command at all.  Files from 2.4.18-14 is no longer in /boot.  
> /etc/grub/grub.conf no longer includes references to 1.3.18-14.
> 
> I am currently running "rpm --rebuilddb", but the process is not taking 
> any CPU according to "top"
> 
> Is it safe to reboot the system? 

Yes, but you do not need to. First kill -9 all rpm processes that are
still running (or sleeping). Then rm all files that look like __db.001,2,3 in
/var/lib/rpm. Finally run rpm --rebuilddb. It should not hang this time.

There are numerous problems with stale lock files etc, if you search in
bugzilla you can find some more details.

regards
john





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]