Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
Which version of Ubuntu are you running? On Ubuntu 12.10 I have this package. –  Flimm Jan 22 '13 at 9:04
    
@Flimm I'm using 12.10 as well. But I'm on the USB and haven't yet installed Ubuntu. Could it be why its not working? –  VPNDude Jan 22 '13 at 9:07
    
Yes, possibly. You'll need to connect to the Internet, and run sudo apt-get update. You'll need the "universe" repository to be enabled, check in Software Sources. –  Flimm Jan 22 '13 at 9:28
add comment

1 Answer 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.

share|improve this answer
    
The GUI way of adding the "universe" repository is to open Software Sources and tick "Community maintained free and open source software (universe)" –  Flimm Jan 22 '13 at 9:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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