rpm won't run as root

Net Llama! netllama
Mon May 17 11:51:00 PDT 2004


On 08/14/03 19:46, 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.

Add some -v to it.  You might also want to make sure that something else 
doesn't already have a lock on the rpm database.  root can do things with 
the RPM DB that a mortal user can't.  Does this behavior persist even after 
a reboot?


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   8:05pm  up 30 days, 22:46,  2 users,  load average: 0.24, 0.13, 0.10



More information about the Linux-users mailing list