Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I was trying to install gpac from source (a big mistake) and in the process I broke my Ubuntu machine. I can do sudo apt-get update but when I do sudo apt-get upgrade, I get this error:

richard@richard-desktop:~/projects/sdp-encode-node$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 freeglut3-dev : Depends: freeglut3 (= 2.6.0-0ubuntu2) but 2.6.0-1ubuntu2 is installed
E: Unmet dependencies. Try using -f.
richard@richard-desktop:~/projects/sdp-encode-node$ 

Any ideas how to fix it?

share|improve this question

2 Answers 2

Did you try running apt-get -f install, like the message suggested?

share|improve this answer

I suspect the key part of that error message is this:

freeglut3-dev : Depends: freeglut3

You could try installing freeglut3 or, if you don't need freeglut3-dev, try removing that.

Either way, you may need -f to force it to work rather than complaining about unmet dependencies:

apt-get -f install freeglut3

Or

apt-get -f remove freeglut3-dev
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.