rpm won't run as root

Keith Morse kgmorse
Mon May 17 11:51:05 PDT 2004


On Thu, 14 Aug 2003, RedMule.com wrote:

> On one of my RH9 boxes, when I do something like 'rpm -q -a moz*' it 
> runs fine when logged in as myself. But when I do that as root it hangs. 
> The process won't even kill unless I use -9.
> 
> Tried '--rebuilddb' but that hangs also when run as root and it can't be 
> run without permissions.
> 
> Any thoughts?
> 
> Michael


I haven't seen this mentioned yet in the replies.  I ended up having to 
delete /var/lib/rpm/__db.*  and the doing the rpm --rebuilddb thing to get 
this to work.


More information about the Linux-users mailing list