5

I have ubuntu server 16.04 installed, with a working internet connection but running apt-get install openswan still fails, giving E: Package 'openswan' has no installation candidate. Does anyone know what could be going on?

1
  • It simply means what the error message says: the package openswan does not exist for Ubuntu 16.04. – edwinksl Jul 22 '16 at 21:44
14

The openswan package is not available for Ubuntu 16.04, but the (very similar) strongswan package is available.

Try running

sudo apt-get install strongswan

to install StrongSwan. There might be some minor differenced between OpenSwan and StrongSwan in configuration files, etc... but they should be minor.

You can view details about the strongswan package for Ubuntu 16.04 here: http://packages.ubuntu.com/xenial/strongswan and details about StrongSwan in general at http://strongswan.org

0

Run:

sudo apt-get update

Then search for your package in cache file

sudo apt-cache search term

Instead of "term" put a part of or exact package's name, if it finds your Package run:

sudo apt-get install <packagename>

If you don't answer with this method You should add a new repository that has this Package or download openswan.deb and then install it from downloaded path

1
  • it returns ike - Shrew Soft VPN client - Daemon and libraries kvpnc - frontend to VPN clients what should it show – Apoe1966 Jul 22 '16 at 23:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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