New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

lock file

Got problems with your B2 or B3? Share and get helped!
Post Reply
nitram
Posts: 27
Joined: 02 Oct 2008, 16:01

lock file

Post 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
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

Yuo must use the 'su' command to login as root:

Code: Select all

$ su
Password: excito
# apt-get update
/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
nitram
Posts: 27
Joined: 02 Oct 2008, 16:01

Post 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
Post Reply