I need to run cppcheck on several machines with different versions of Ubuntu. Normally I install cppcheck with sudo apt-get install cppcheck
.
Well, one of the machines is running Ubuntu 16.04. An other is running Ubuntu 16.10.
I figured now out, that my installation process installs different versions on the machines. One machine has cppcheck 1.72-1, the other machine has cppcheck 1.75-2. I already found out, that this is a normal behavior. You can even check the installation candidates here.
Well, I need the same version an all machines. So I tried this: sudo apt-get install cppcheck=1.72-1
. But then I get the error: E: Version '1.72-1' for 'cppcheck' was not found
dpkg -i
. – muru Jan 04 '17 at 08:05