0

I was following this guide (https://help.ubuntu.com/community/OpenCV) in order to install openCV.

sudo su
sudo apt-get install build-essential
sudo apt-get install libavformat-dev
sudo apt-get install ffmpeg
sudo apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev

I also runned the incomplete command :

sudo apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-

the first time, by mistake, but i guess that shouldn't do anything wrong..

I also runned a

sudo apt-get autoremove

at some point.

After this, the ubuntu interface got all strange, resembling what this post describes..: Launcher, top Panel, and window decorations missing after 12.04 upgrade

However, that's not the only issue... Some programs I had installed don't get their commands auto completed in the terminal anymore and I cannot find their bins at all...

I don't understand... it looks like something removed a lot of random programs.... like firefox, terminator... and maybe unity? Could it be that apt-get triggered some kind of update process that was interrupted? I don't have idea of what is going on here..

I already tried

sudo apt-get -f install 

but it didn't solve anything.

Installing unity restored some interface elements but almost all my launcher icons are gonne and the interface skin is horrible and glitchy....

Any suggestions? I would like to be able to recover my programs back :(

Thanks.

jmacedo
  • 103

1 Answers1

1

Get to a TTY (Control+Alt+F1), check if ubuntu-desktop is installed:

$ apt-cache policy ubuntu-desktop
ubuntu-desktop:
  Installed: (none)
  Candidate: 1.299
  Version table:
     1.299 0
        500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages

In my case it is not. I assume you've triggered a cascade removal of certain packages and that has nuked Unity. To fix, just reinstall ubuntu-desktop and all should be fixed.

sudo apt-get install ubuntu-desktop
Oli
  • 299,380