Page 1 of 1

Installing GA in Ubuntu

Posted: 21. May 2011, 22:58
by mkr10001
This is getting frustrating now.

Whenever I need to update it the previous way of doing it doesn't work.

I'm trying to follow this guide

http://forums.virtualbox.org/viewtopic.php?t=15679


but I get


E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
michael@michael-VirtualBox:~$


So I just try mounting it and I get


mount: only root can do that
michael@michael-VirtualBox:~$


The disk is on the desktop so I try the next part and I get


michael@michael-VirtualBox:~$ sh ./VBoxLinuxAdditions.run
sh: Can't open ./VBoxLinuxAdditions.run
michael@michael-VirtualBox:~$


help?

Re: Installing GA in Ubuntu

Posted: 21. May 2011, 23:10
by mkr10001
OK I ejected it and clicked install from the devices menu and it seems to be doing it.


Those instructions still don't work though

Re: Installing GA in Ubuntu

Posted: 21. May 2011, 23:34
by Perryg
To be able to run these commands you need to put sudo at the front in Ubuntu.
Example:

Code: Select all

sudo apt-get install dkms build-essential linux-headers-generic

Re: Installing GA in Ubuntu

Posted: 22. May 2011, 14:33
by Sasquatch
And that just showed that he skimmed the howto, instead of actually reading it. It's noted clearly how to run each command. Ah well, as long as he gets it done one way or another.