Page 1 of 1

lock file

Posted: 02 Oct 2008, 16:09
by nitram
Getting frustrated overhere. I'm a fairly a novice at linux and got to the following problem.

:~$ 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

:~$ sudo apt-get update
-bash: sudo: command not found

Doing something wrong somewhere, but don't know where :-(
Can someone point me in the direction where i have to look?

Thanks,
Martin

Posted: 02 Oct 2008, 16:19
by carl
Yuo must use the 'su' command to login as root:

Code: Select all

$ su
Password: excito
# apt-get update
/Carl

Posted: 03 Oct 2008, 02:13
by nitram
Thanks Carl, seeing your answers and i could hit myself because i've read it in the manual before but completely forgot about it. Even did a reinstall of B2.
Sorry for not reading the manual clearly ;-)

regards,
Martin