Cannot Configure VPN

8 Antworten [Letzter Beitrag]
yeehi
Offline
Beigetreten: 06/02/2012

I click on Network Manager, VPN Connections, Configure VPN.

All the options to add or edit a VPN are greyed out.

I have tried sudo aptitude install network-manager-gnome

No packages are installed.

By the way, I updated this Tirsquel 5.5 about an hour ago.

What can I do to configure the VPN?

Thank you!

yeehi
Offline
Beigetreten: 06/02/2012

sudo aptitude install network-manager-gnome
[sudo] password for yeehi:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

yeehi@Trisquel-Laptop:~$ aptitude install network-manager-vpnc
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
yeehi@Trisquel-Laptop:~$ sudo aptitude install network-manager-vpnc
No candidate version found for network-manager-vpnc
No candidate version found for network-manager-vpnc
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

malberts

I am a member!

I am a translator!

Offline
Beigetreten: 04/19/2011

From what is essentially a base install, you just need to do the following:
sudo apt-get install network-manager-openvpn
sudo apt-get install network-manager-openvpn-gnome

I think the first one is installed by default, but the "gnome" one was
not. That should enable the Add button.

--
Morne Alberts

belovachap
Offline
Beigetreten: 01/29/2012

Installing the network-manager-openvpn-gnome package did the trick (network-manager-openvpn was already installed). Thanks!

yeehi
Offline
Beigetreten: 06/02/2012

sudo apt-get update && sudo apt-get install install network-manager-vpnc
[sudo] password for yeehi:
Err http://archive.trisquel.info brigantia-security InRelease

Err http://nl.archive.trisquel.info brigantia InRelease

Err http://nl.archive.trisquel.info brigantia-security InRelease

Err http://nl.archive.trisquel.info brigantia-updates InRelease

Err http://nl.archive.trisquel.info brigantia Release.gpg
Unable to connect to nl.archive.trisquel.info:http:
Err http://nl.archive.trisquel.info brigantia-security Release.gpg
Unable to connect to nl.archive.trisquel.info:http:
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://nl.archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to nl.archive.trisquel.info:http:
Reading package lists... Done
W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia/InRelease

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease

W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia-security/InRelease

W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:

W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to nl.archive.trisquel.info:http:

W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to nl.archive.trisquel.info:http:

W: Failed to fetch http://nl.archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to nl.archive.trisquel.info:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package network-manager-vpnc 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: Unable to locate package install
E: Package 'network-manager-vpnc' has no installation candidate
yeehi@Trisquel-Laptop:~$ sudo apt-get update && sudo apt-get install install network-manager-vpnc
Err http://archive.trisquel.info brigantia InRelease

Err http://archive.trisquel.info brigantia-security InRelease

Err http://archive.trisquel.info brigantia-updates InRelease

Err http://archive.trisquel.info brigantia Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://archive.trisquel.info brigantia-security Release.gpg
Unable to connect to archive.trisquel.info:http:
Err http://archive.trisquel.info brigantia-updates Release.gpg
Unable to connect to archive.trisquel.info:http:
Reading package lists... Done
W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia/InRelease

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/InRelease

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-updates/InRelease

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia/Release.gpg Unable to connect to archive.trisquel.info:http:

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-security/Release.gpg Unable to connect to archive.trisquel.info:http:

W: Failed to fetch http://archive.trisquel.info/trisquel/dists/brigantia-updates/Release.gpg Unable to connect to archive.trisquel.info:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package network-manager-vpnc 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: Unable to locate package install
E: Package 'network-manager-vpnc' has no installation candidate
yeehi@Trisquel-Laptop:~$ sudo apt-get update && sudo apt-get install install network-manager-vpnc
Ign http://us.archive.trisquel.info brigantia InRelease
Ign http://us.archive.trisquel.info brigantia-security InRelease
Ign http://us.archive.trisquel.info brigantia-updates InRelease
Ign http://archive.trisquel.info brigantia-security InRelease
Get:1 http://us.archive.trisquel.info brigantia Release.gpg [198 B]
Get:2 http://us.archive.trisquel.info brigantia-security Release.gpg [198 B]
Hit http://archive.trisquel.info brigantia-security Release.gpg
Get:3 http://us.archive.trisquel.info brigantia-updates Release.gpg [198 B]
Hit http://archive.trisquel.info brigantia-security Release
Get:4 http://us.archive.trisquel.info brigantia Release [5,791 B]
Get:5 http://archive.trisquel.info brigantia-security/main i386 Packages [99.6 kB]
Get:6 http://us.archive.trisquel.info brigantia-security Release [3,943 B]
Get:7 http://us.archive.trisquel.info brigantia-updates Release [5,154 B]
Get:8 http://us.archive.trisquel.info brigantia/main Sources [5,529 kB]
Ign http://archive.trisquel.info brigantia-security/main TranslationIndex
Ign http://archive.trisquel.info brigantia-security/main Translation-en_US
Ign http://archive.trisquel.info brigantia-security/main Translation-en
Get:9 http://us.archive.trisquel.info brigantia/main i386 Packages [5,692 kB]
Ign http://us.archive.trisquel.info brigantia/main TranslationIndex
Get:10 http://us.archive.trisquel.info brigantia-security/main Sources [46.1 kB]
Get:11 http://us.archive.trisquel.info brigantia-updates/main Sources [191 kB]
Get:12 http://us.archive.trisquel.info brigantia-updates/main i386 Packages [436 kB]
Ign http://us.archive.trisquel.info brigantia-updates/main TranslationIndex
Get:13 http://us.archive.trisquel.info brigantia/main Translation-en [3,863 kB]
Ign http://us.archive.trisquel.info brigantia/main Translation-en_US
Ign http://us.archive.trisquel.info brigantia-updates/main Translation-en_US
Ign http://us.archive.trisquel.info brigantia-updates/main Translation-en
Fetched 15.9 MB in 6min 22s (41.5 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package install
yeehi@Trisquel-Laptop:~$ sudo apt-get update && sudo apt-get install install network-manager-gnome
Ign http://archive.trisquel.info brigantia-security InRelease
Ign http://us.archive.trisquel.info brigantia InRelease
Ign http://us.archive.trisquel.info brigantia-security InRelease
Ign http://us.archive.trisquel.info brigantia-updates InRelease
Hit http://archive.trisquel.info brigantia-security Release.gpg
Hit http://us.archive.trisquel.info brigantia Release.gpg
Hit http://archive.trisquel.info brigantia-security Release
Hit http://us.archive.trisquel.info brigantia-security Release.gpg
Hit http://archive.trisquel.info brigantia-security/main i386 Packages
Hit http://us.archive.trisquel.info brigantia-updates Release.gpg
Ign http://archive.trisquel.info brigantia-security/main TranslationIndex
Hit http://us.archive.trisquel.info brigantia Release
Hit http://us.archive.trisquel.info brigantia-security Release
Hit http://us.archive.trisquel.info brigantia-updates Release
Hit http://us.archive.trisquel.info brigantia/main Sources
Hit http://us.archive.trisquel.info brigantia/main i386 Packages
Ign http://us.archive.trisquel.info brigantia/main TranslationIndex
Hit http://us.archive.trisquel.info brigantia-security/main Sources
Hit http://us.archive.trisquel.info brigantia-updates/main Sources
Hit http://us.archive.trisquel.info brigantia-updates/main i386 Packages
Ign http://us.archive.trisquel.info brigantia-updates/main TranslationIndex
Hit http://us.archive.trisquel.info brigantia/main Translation-en
Ign http://archive.trisquel.info brigantia-security/main Translation-en_US
Ign http://archive.trisquel.info brigantia-security/main Translation-en
Ign http://us.archive.trisquel.info brigantia/main Translation-en_US
Ign http://us.archive.trisquel.info brigantia-updates/main Translation-en_US
Ign http://us.archive.trisquel.info brigantia-updates/main Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package install

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Please read the error message and *try* to solve your problem by yourself. aptitude and apt-get say:
E: Unable to locate package install

It is simply because you typed "install" twice (the second is therefore considered a package name).

As for the output of 'sudo aptitude install network-manager-gnome', it does not do anything because network-manager-gnome already is on your system.

Your software sources seem to be a mess. Can you show us the output of:
$ cat /etc/apt/sources.list

yeehi
Offline
Beigetreten: 06/02/2012

Thank you for your help, Magic Banana!

I have accessed the VPN configuration tool now. :)

I am sorry about not reading the output. I am not very good at it.

Here is the output:

cat /etc/apt/sources/list
cat: /etc/apt/sources/list: No such file or directory

Here is the content of /etc/apt/sources.list

# Trisquel repositories for supported software and updates

deb http://us.archive.trisquel.info/trisquel/ brigantia main
deb-src http://us.archive.trisquel.info/trisquel/ brigantia main
deb http://archive.trisquel.info/trisquel/ brigantia-security main
deb-src http://us.archive.trisquel.info/trisquel/ brigantia-security main
deb http://us.archive.trisquel.info/trisquel/ brigantia-updates main
deb-src http://us.archive.trisquel.info/trisquel/ brigantia-updates main
# deb http://ftp.rediris.es/mirror/Trisquel/packages/ brigantia-backports main
# deb-src http://ftp.rediris.es/mirror/Trisquel/packages/ brigantia-backports main

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

You have changed your software sources since 13:11, haven't you? APT was contacting a Dutch mirror: http://nl.archive.trisquel.info/

Your /etc/apt/sources.list looks fine.

yeehi
Offline
Beigetreten: 06/02/2012

Yes, I did a choose best mirror test and it selected the us mirror

Thank you for looking Magi
c Banana!