Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi.
I wanted to install VPN program named Windscribe on my Debian 9 and I followed instructions on their webpage: https://windscribe.com/guides/linux#how-to
This is what I got after each command:
apt-get install dirmngr apt-transport-https
Quote:
root@debian:/home/francisco# apt-get install dirmngr apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
tor
The following NEW packages will be installed:
apt-transport-https dirmngr
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/766 kB of archives.
After this operation, 1,353 kB of additional disk space will be used.
Media change: please insert the disc labeled
'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]
Media change: please insert the disc labeled
'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]
Get:1 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 apt-transport-https amd64 1.4.8 [171 kB]
Get:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 dirmngr amd64 2.1.18-8~deb9u1 [595 kB]
Selecting previously unselected package apt-transport-https.
(Reading database ... 132538 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.4.8_amd64.deb ...
Unpacking apt-transport-https (1.4.8) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../dirmngr_2.1.18-8~deb9u1_amd64.deb ...
Unpacking dirmngr (2.1.18-8~deb9u1) ...
Setting up apt-transport-https (1.4.8) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up dirmngr (2.1.18-8~deb9u1) ...
root@debian:/home/francisco# sh -c "echo 'deb https://repo.windscribe.com/debian stretch main' > /etc/apt/sources.list.d/windscribe-repo.list"
apt-get update
Quote:
root@debian:/home/francisco# apt-get update
Ign:1 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch InRelease
Ign:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21] stretch InRelease
Ign:3 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch InRelease
A lot more Ign:# and Hit:# stuff.
Ign:46 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch/main all DEP-11 Metadata
Ign:47 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch/main amd64 DEP-11 Metadata
Ign:48 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch/main DEP-11 64x64 Icons
Hit:49 http://security.debian.org/debian-security stretch/updates InRelease
Get:50 https://repo.windscribe.com/debian stretch InRelease [7,326 B]
Get:51 https://repo.windscribe.com/debian stretch/main amd64 Packages [753 B]
Fetched 8,079 B in 0s (9,181 B/s)
Reading package lists... Done
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
apt-get install windscribe-cli
Quote:
root@debian:/home/francisco# apt-get install windscribe-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
easy-rsa libccid libpkcs11-helper1 opensc opensc-pkcs11 openvpn pcscd resolvconf stunnel4
Suggested packages:
pcmciautils logcheck-database
The following NEW packages will be installed:
easy-rsa libccid libpkcs11-helper1 opensc opensc-pkcs11 openvpn pcscd resolvconf stunnel4 windscribe-cli
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,522 kB/11.8 MB of archives.
After this operation, 16.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://repo.windscribe.com/debian stretch/main amd64 windscribe-cli amd64 1.1-2 [9,522 kB]
Media change: please insert the disc labeled
'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]
Get:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21] stretch/main amd64 stunnel4 amd64 3:5.39-2 [188 kB]
Ign:3 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 libpkcs11-helper1 amd64 1.21-1
Ign:4 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 openvpn amd64 2.4.0-6+deb9u2
Ign:5 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 libccid amd64 1.4.26-1
Ign:6 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 pcscd amd64 1.8.20-1
Ign:7 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 resolvconf all 1.79
Ign:8 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 easy-rsa all 2.2.2-2
Ign:9 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 opensc-pkcs11 amd64 0.16.0-3
Ign:10 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 opensc amd64 0.16.0-3
Fetched 9,522 kB in 1min 10s (136 kB/s)
Selecting previously unselected package stunnel4.
(Reading database ... 132563 files and directories currently installed.)
Preparing to unpack .../stunnel4_5.39-2_amd64.deb ...
Unpacking stunnel4 (3:5.39-2) ...
Selecting previously unselected package windscribe-cli.
Preparing to unpack .../windscribe-cli_1.1-2_amd64.deb ...
Unpacking windscribe-cli (1.1-2) ...
dpkg: dependency problems prevent configuration of windscribe-cli:
windscribe-cli depends on openvpn; however:
Package openvpn is not installed.
windscribe-cli depends on resolvconf; however:
Package resolvconf is not installed.
dpkg: error processing package windscribe-cli (--configure):
dependency problems - leaving unconfigured
Setting up stunnel4 (3:5.39-2) ...
Warning: The home dir /var/run/stunnel4 you specified can't be accessed: No such file or directory
Adding system user `stunnel4' (UID 119) ...
Adding new group `stunnel4' (GID 124) ...
Adding new user `stunnel4' (UID 119) with group `stunnel4' ...
Not creating home directory `/var/run/stunnel4'.
Processing triggers for systemd (232-25+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
windscribe-cli
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:/home/francisco# sudo apt-get install openvpn resolvconf
bash: sudo: command not found
root@debian:/home/francisco# apt-get install openvpn resolvconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openvpn : Depends: libpkcs11-helper1 (>= 1.11) but it is not going to be installed
Recommends: easy-rsa but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Did you try to run
Code:
apt-get install -f
Now libpkcs11-helper1 depends on just two other packages so when the command above does not give a solution, apt-get installing libpkcs11-helper1 should give a clear error.
Are you using the on-line repos now instead of the DVDs? Did you run apt-get update? You /etc/apt/sources.list should contain:
Code:
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
OK, I changed my sources.list, installed libpkcs11-helper1, terminal shown lots of stuff and now Windscribe works. It connects only to UK right now but I'll try to change that later. Thanks.
I have this working on Debian 9 and am trying to make a VPN router/hotspot on a raspberry pi 3 with windscribe. Each side works fine (in on eth0 and out on wlan0) but when windscribe is enabled I get "no internet" on the wlan connections.
Does anyone know how I to properly setup the routing when the VPN is active? I tried this with no luck.
ADD ROUTING AND MASQUERADE
Edit /etc/sysctl.conf and uncomment this line:
net.ipv4.ip_forward=1
Add a masquerade for outbound traffic on eth0:
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Save the iptables rule.
sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"
Edit /etc/rc.local and add this just above "exit 0" to install these rules on boot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.