Ubuntu: Package network-manager-openvpn is not available, but is referred to by another package



Question:

I'm trying out Ubuntu's live cd and have booted in from a USB. I want to check if it will work with my VPN or not. I already have Network Manager installed, but when I go to Configure VPNs, I can only see PPTP as an option, while I need to add an OpenVPN type of VPN.

Following the instructions on my VPN's documentation I tried to install openvpn using this:

sudo apt-get install network-manager-openvpn  

But I get the response:

Reading package lists... Done  Building dependency tree         Reading state information... Done  Package network-manager-openvpn is not available, but is referred to by another package.  This may mean that the package is missing, has been obsoleted, or  is only available from another source    E: Package 'network-manager-openvpn' has no installation candidate  

Any ideas what the issue is?


Solution:1

network-manager-openvpn is in universe, which isn't included on the live image by default. But you can still temporarily install it in the live environment. Assuming that you're using 12.10, add this line to your /etc/apt/sources.list:

deb http://archive.ubuntu.com/ubuntu quantal universe  

Then run sudo apt-get update, and try sudo apt-get install network-manager-openvpn again.

I'm not sure if you need to restart Network Manager after installing. If so, sudo restart network-manager should work.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »