New answers tagged g++
You have to enable main and universe repositories. See how to do that in this question: Problem installing build-essential on 14.04.1 LTS
Ok I fixed it: I removed the packages that were causing the errors, starting by valgrind: sudo apt-get remove valgrind and then the 3 other ones. And no more errors after that.
After discussing with the OP in chat the output of dpkg -L g++ | grep bin was: /usr/bin /usr/bin/g++ /usr/bin/x86_64-linux-gnu-g++ However, when OP did file /usr/bin/g++ he got a file not found error. I'm not sure which of the below fixed the issue, but something did: First I had him try sudo apt-get purge g++ sudo apt-get update sudo apt-get upgrade ...
Top 50 recent answers are included