you need to be root.. secondly run only one copy of rpm ,gnorpm,kpackage
or whatever at a time...
Cheerio
Robin
Swarnima Paralikar wrote:
>
> Hi all,
>
> Here we are facing some problems regarding the installation and
> uninstallations of the rpm package.
> We have installed few rpm packages for gcc compiler and now we wish to
> uninstall the same.
> We gave the following commands to do the needful.
> $rpm -qa
> This gave us the so name of the package which can now be used with the
> uninstall command.
> The next command that we gave was
> $rpm -e <soname of package >
>
> But this gave us following error,
>
> cannot get exclusive lock on database
> error:can not open //var/lib/rpm/packages.rpm
>
> Can u tell us what is the stepwise procedure to uninstall these packages?
>
> Regards,
> swarnima
>
> ----------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr
--
_END_
Robin S Chatterjee Yahoo pager ID -Robinchatterjee
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
FAX 1-(815)550-6171
Robin's Poetry Pages
http://www.geocities.com/singerosongs
Robin's Perl Pages
http://www.geocities.com/robinchatterjee
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH