Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 07-24-2006, 08:01 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
Question apt error message

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
asu: Authentication failure
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.
Old 07-24-2006, 08:22 PM   #2
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
use sudo insted of su
ubuntu disables root by default (as a security feature)
if you want to enable it just type
sudo passwd root
enter YOUR password first, then what you want the root password to be twice.
Old 07-24-2006, 08:34 PM   #3
LQ Newbie
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you, it worked, didn't know about sudo, i should collect more info about Ubuntu...

Old 07-28-2006, 09:23 AM   #4
Registered: Nov 2003
Location: Cincinnati, Ohio
Distribution: Ubuntu 6.06 /SLED10
Posts: 45

Rep: Reputation: 15
sudo apt-get update
Save you from enabling the root account


apt, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get error message amon Debian 3 03-28-2005 01:22 PM
apt-get error message: No `START-INFO-DIR-ENTRY' rosslaird Debian 12 11-20-2004 09:32 AM
APT-GET fails on MDK 9.2 - Error Message Kujila Linux - Software 0 05-06-2004 10:12 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM
Apt-get error message silentnights Mandriva 6 09-22-2003 12:10 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration