APT: Unable to locate package libck-dev


I’m trying to install Concurrency Kit (libck-dev) on Travis, but it does not work, even though it’s located in the Ubuntu repositories.

  - sudo apt-get update
  - sudo apt-get install -y libck-dev


E: Unable to locate package libck-dev
The command "sudo apt-get install -y libck-dev" failed and exited with 100 during .

I’ve also tried setting dist to trusty, but to no avail.

Actual package in Ubuntu:

apt-cache search ^libck-dev$
libck-dev - Concurrency Kit - development files


Try adding dist: xenial to your Travis yaml file (I think that trusty is still the default Linux image). I searched the ubuntu apt packages for libck-dev and it doesn’t show a package for trusty, only xenial (16.04) and newer.

1 Like