Find the answer to your Linux question:
Results 1 to 4 of 4
In trying to get 3D acceleartion from my unrecognised geforce 7300GT I found a post talking about smarturpmi. I pasted the lines in my terminal - went ok. when I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40

    Unhappy unlock urpmi?



    In trying to get 3D acceleartion from my unrecognised geforce 7300GT I found a post talking about smarturpmi.
    I pasted the lines in my terminal - went ok.

    when I tried the following
    lsmod | grep nvidia
    then
    urpmi dkms-nvidia

    I got told
    urpmi databse locked

    ?????????????????????????????????????????????????? ?????

    Any suggestions?
    I have a free 2007.

    Best regards
    Bill

  2. #2
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    I use Mandriva 2006, so I'm not certain of the directory structure of 2007. However this script works on my distro:
    Code:
    #!/bin/bash
    echo "";
    echo "Only root can unlock the URPMI database.";
    echo "Starting with the removal of URPMI locks:";
    
    rm -f "/var/lib/urpmi/.LOCK";
    echo "     rm -f '/var/lib/urpmi/.LOCK'...";
    rm -f "/var/lib/urpmi/.RPMLOCK";
    echo "     rm -f '/var/lib/urpmi/.RPMLOCK'..."
    
    echo "URPMI DATABASE UNLOCKED!";
    echo "Happy installing!"
    echo ""
    The script isn't too hard to understand as all it does is delete '.LOCK' and '.RPMLOCK'. You don't need those files.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40
    Thanks,
    Very much appreciated.
    Best regards
    Bill

  4. #4
    Just Joined!
    Join Date
    Jul 2007
    Posts
    40
    It worked - yeah.
    Best regards
    Bill

Posting Permissions

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