Results 1 to 9 of 9

Thread: Need help....someone help lol.

  1. #1
    Join Date
    Jun 2009
    Beans
    2

    Exclamation Need help....someone help lol.

    I'm trying to remove nvidia-glx-new

    apt-get remove nvidia-glx-new
    E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

    I'm guessing I need to be in root or what ever that is. I'm brand new to ubuntu....

    Anyway the reason I'm trying remove nvidia-glx-new is because I am trying to manually install the drivers from Nvidia for my 9600gt.

    I am running Hardy.

  2. #2
    Join Date
    Feb 2006
    Beans
    5,714

    Re: Need help....someone help lol.

    you need to use sudo if you are doing it from the terminal
    Debian Testing(64bit) + XFCE4 AM2 5200+ ATI Radeon HD4350, 4gig RAM,320Gig and 750gig HDs

    what's the difference between an answer and a solution? An answer is what they want to hear, a solution is what they don't want to hear

  3. #3
    Join Date
    Apr 2009
    Location
    Islas Canarias
    Beans
    36
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Need help....someone help lol.

    What the post above means is that to execute that command in the terminal window as root you need to type
    Code:
    sudo apt-get remove nvidia-glx-new
    sudo stands for I think "super user do"

  4. #4
    Join Date
    Feb 2009
    Location
    Philippines
    Beans
    113
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Need help....someone help lol.

    To add on to the previous posts, sudo is useful because it gives you super user privileges for around 15 minutes, eliminating the need for you to enter your password everytime you need the privileges. Correct me if I am wrong, but gksudo does pretty much the same thing, except it prompts you with a dialog box instead of a command line input prompt. I think it's useful in programming for launching things that need super user privileges without scaring the user by popping up a terminal window heh heh. Like in C you could have:

    Code:
     system("gksudo");
    Apologies if I got carried away .
    Happy GNU/Linux user. Not so noob anymore!
    There are only 10 types of people in the world — those who understand binary, and those who don't.

  5. #5
    Join Date
    Oct 2006
    Location
    Lyon, France
    Beans
    839
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Need help....someone help lol.

    Quote Originally Posted by prvteprts View Post
    To add on to the previous posts, sudo is useful because it gives you super user privileges for around 15 minutes, eliminating the need for you to enter your password everytime you need the privileges. Correct me if I am wrong, but gksudo does pretty much the same thing, except it prompts you with a dialog box instead of a command line input prompt. I think it's useful in programming for launching things that need super user privileges without scaring the user by popping up a terminal window heh heh. Like in C you could have:

    Code:
     system("gksudo");
    Apologies if I got carried away .
    It's mostly useful for not having to launch an xterm everytime you want to run something with administrator rights.
    This is the first age that's paid much attention to the future, which is a little ironic since we may not have one.
    -- Arthur C. Clarke

  6. #6
    Join Date
    Dec 2006
    Location
    Oregon, US
    Beans
    1,541
    Distro
    Ubuntu Development Release

    Re: Need help....someone help lol.

    Notice: Sudo is not a replacement for assertiveness and will not work in real-life situations. "Sudo make me a sandwich" will not get you a sandwich, it will only get you strange looks.

  7. #7
    Join Date
    Jun 2009
    Beans
    2

    Re: Need help....someone help lol.

    Thank you for the very quick replies. The sudo thing solved my issue.

  8. #8
    Join Date
    Aug 2006
    Location
    Yellowknife
    Beans
    878

    Re: Need help....someone help lol.

    Quote Originally Posted by jimv View Post
    Notice: Sudo is not a replacement for assertiveness and will not work in real-life situations. "Sudo make me a sandwich" will not get you a sandwich, it will only get you strange looks.
    Nooo!!! XKCD does not lie!!!!

    or should that be

    sudo XKCD does not lie!!!!

    hmmm... command not found.... ok you might be right, then...

  9. #9
    Join Date
    May 2009
    Location
    Canada
    Beans
    1,204
    Distro
    Ubuntu

    Re: Need help....someone help lol.

    Quote Originally Posted by decoherence View Post
    Nooo!!! XKCD does not lie!!!!

    or should that be

    sudo XKCD does not lie!!!!

    hmmm... command not found.... ok you might be right, then...
    what

    and thats great that its fixed

Bookmarks

Posting Permissions

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