This one time, at band camp, Harry Ohlsen <[EMAIL PROTECTED]> wrote:

> Sadly, it didn't work,

Yes it did.

>    [EMAIL PROTECTED] rpm]# time rpm --rebuilddb 2>&1 | tee rpm.log
>    error: db4 error(16) from dbenv->remove: Device or resource busy
>  
>    real    4m34.843s
>    user    0m40.750s
>    sys     0m13.790s
> 
> Any idea what the busy resource could be?

yep, This is a warning, although it says error, and can be safely ignored
>From the source....
This is scary (because the message uses the word 'error', looks like a 'hung'
NFS mount error, and did not call itself a 'warning'). It breaks the *nix expectation 
that well-behaved processes run silently when they are free of errors.

so, you can safely do
rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb

and any errors are in fact warnings and can be forgotten about over a pint of Guiness.
Hopefully this will be fixed in future releases which will in no way resemble SCO code.

Kind regards
Kevin

-- 
 ______                              
(_____ \                             
 _____) )  ____   ____   ____   ____ 
|  ____/  / _  ) / _  | / ___) / _  )
| |      ( (/ / ( ( | |( (___ ( (/ / 
|_|       \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to