Find the answer to your Linux question:
Results 1 to 3 of 3
I installed ubuntu yesterday, it went pretty well, today i'm trying to fiddle with apt i'm getting this message, i'm new to linux and have difficulty interperting this error message ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2

    Question apt help


    I installed ubuntu yesterday, it went pretty well, today i'm trying to fiddle with apt i'm getting this message, i'm new to linux and have difficulty interperting this error message

    neshan@Neshan:~$ su
    Password:
    asu: Authentication failure
    Sorry.
    neshan@Neshan:~$ apt-get update
    E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
    E: Unable to lock the list directory
    Is it because i'm not loged as root, how do i log as root?

    What am i doing wrong, your expert advice is appreciated.

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    Don't use su on ubuntu; the root account is disabled. Use sudo instead. Type sudo apt-get update and type your password when it asks.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    2

    Smile

    Thank You, now it works, didn't know about sudo, i should search for more info about it in this forum.

    Regards
    Neshan

Posting Permissions

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