Problem
$sudo apt-get install -y libcppunit-1.14-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcppunit-1.14-0
E: Couldn't find any package by glob 'libcppunit-1.14-0'
E: Couldn't find any package by regex 'libcppunit-1.14-0'
Reason
When we try to search the version, we will find that the version is only 1.15-0 now.
So install it mannually.
$ sudo apt-cache search libcppunit
libcppunit-subunit-dev - SubunitTestProgressListener for CPPUnit - Development headers
libcppunit-subunit0 - SubunitTestProgressListener for CPPUnit - C++ shared library
libcppunit-1.15-0 - Unit Testing Library for C++
libcppunit-dev - Unit Testing Library for C++
libcppunit-doc - Unit Testing Library for C++
Solution1
sudo apt-get install libcppunit=1.14-0
Solution2
Go to the page
Follow below setting and download the install file
Install the package
$ sudo dpkg -i [filename.deb]
沒有留言:
張貼留言