Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I'm trying to uninstall Amsn using rpm -e amsn and I'm getting this error: error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode error: cannot open Packages database in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    4

    Trying to unistall somthing using RPM, getting error!


    Hi, I'm trying to uninstall Amsn using rpm -e amsn and I'm getting this error:

    error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
    error: cannot open Packages database in /var/lib/rpm

    Does anyone know what this means ?

  2. #2
    Linux User
    Join Date
    Mar 2005
    Location
    CA
    Posts
    352
    Are you trying to uninstall it as root?

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    4
    Yep...

  4. #4
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    Perhaps your database is messed up, try
    Code:
    rpm --rebuilddb

  5. #5
    Just Joined!
    Join Date
    Aug 2005
    Posts
    4
    That worked, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •