D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Installing rpm files part 2

 

> I have now tried to install an rpm file using rpm -i in a
> terminal console instead of the software installer package. Now I get
> the following error message
>
> can't create transaction lock on /usr/var/lib/__db.000
>
> I have looked in /usr/var/lib. There are files __db.001 and __db.002
> but there is no file __db.000.
>
> Now I am really puzzled.
>
> Neil Winchurst
>

1. Are you installing as root (you should be for RPM's). this is most
likely cause

2. possible RPM DB is corrupted - this fix was reccomended a while back
for RH - check no rpm processes are running ps|grep rpm then delete the
__db files in /usr/var/lib and run rpm --rebuilddb. Then try again.

> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html