Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: apt help

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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

    Smile

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

    Regards
    Neshan

  4. $spacer_open
    $spacer_close

Posting Permissions

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