Page 1 of 1

problem updating LMDE, please assist?

Posted: Sun Mar 13, 2011 4:49 pm
by germanix
I have just installed LMDE and am in the process of updating via the terminal. I used the command: "sudo apt-get update && apt-get dist-upgrade". During this process the update came to a halt with the following question:
unable to lock the administration directory (/var/lib/dpkg/ are you root?
I do not know what to enter here? Please assist!

Re: problem updating LMDE, please assist?

Posted: Sun Mar 13, 2011 5:17 pm
by gosa
Please someone correct me if I'm wrong, but I think you need to enter the command "sudo" in front of all you want to run...
sudo apt-get update && sudo apt-get dist-upgrade

Re: problem updating LMDE, please assist?

Posted: Sun Mar 13, 2011 5:18 pm
by zerozero
the command is not conplet, germanix
should be

Code: Select all

sudo apt-get update && sudo apt-get dist-upgrade
edit: just saw gosa comment saying the same :)

(Solved) problem updating LMDE, please assist?

Posted: Sun Mar 13, 2011 6:06 pm
by germanix
Thanks all. That seems to have solved the problem. LMDE is now installed and running. Only problem now is getting the internet connection working. Will start a new thread for that. Thanks for your help. Have a nice day.