Started up my computer this morning and found I lost Unity. While scratching my head trying to figure out what went horribly wrong I remembered the night before there were some updates that I had apply before going to bed. So I fired up chrome and started my search for Unity. Well after I figured out how to fire up chrome from the terminal after figuring out how to fire up the terminal without icons. Seriously, icons are very useful.
After a few searches I found a few things to try and learned a bit more. Like how to test if your system works with unity — just run this in the terminal
Seeing that I needed some way of making my system sort of usable I started downloaded alternative windowing systems like kde, lxde, cinnamon, and so on.
Many frustrating dead ends later, it turns out that an update to VirtualBox 4.2 also changed my nvidia-settings and nvidia-current programs but did not install them correctly. So I uninstalled nvidia-settings and nvidia-current from the terminal and rebooted:
apt-get remove nvidia-settings nvidia-current
Yay, I see Unity again! But wait, now VirtualBox has been removed and I can’t use vagrant, awwwww. So I tried the default install of VirtualBox (which for me is 4.1.18). Yay, vagrant works again! But wait, vagrant can’t reach the internet which still kind of makes it unusable for setting up new environments.
Finally, after a plethora of google searches on nvidia ubuntu and virtualbox I came across this ticket talking about my missing internet on virtualbox: https://www.virtualbox.org/ticket/10864. Turns out that I had to install 4.1.20+ in order to restore order and LiberianGeek had a good how to on that. So while only half understanding what these commands did I pasted each one into my termainal:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" >> /etc/apt/sources.list' sudo apt-get update && sudo apt-get install virtualbox-4.1
Then restarted and yay all the things work! So now I am happy for now, sure I blew about a days work trying to get this all put back together but at least it is done and hopefully wont break again any time soon.
A story about: Ubuntu 12.10, VirtualBox 4.1.10 and Unity.