[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Source List error


#1

Hey guys,

if i try to use the command " sudo apt-get update && sudo apt-get dist-upgrade" in the console, my console shows this:

user@host:~$ sudo apt-get update && sudo apt-get dist-upgrade
[sudo] password for user:
E: Type ‘Could’ is not known on line 1 in source list /etc/apt/sources.list.d/swupdate.openvpn.net.list
E: The list of sources could not be read.
user@host:~$

How can i fix this?


#2
  • not a Whonix specific question, you can fix it as per https://www.whonix.org/wiki/Support#Free_Support_Principle
  • /etc/apt/sources.list.d/swupdate.openvpn.net.list has invalid content, delete or fix that file
  • usually you don’t need the OpenVPN repository unless you have good reason
  • you can simply install OpenVPN from Debian repositories by running sudo apt-get install openvpn

#3

ok thanks :slight_smile: I have got another error today in WhonixCheck in my Workstation:

p, li { white-space: pre-wrap; }

WARNING: Whonix News Result:
✘ Outdated: Installed whonix-workstation-packages-dependencies 2) Probably because package whonix-workstation-packages-dependencies is not installed. is outdated!
You should update. You can automatically update using Whonix’s internal updater. Please update using:
sudo apt-get update && sudo apt-get dist-upgrade

used this comment in console but it is still showing this message :frowning:


#4

Good day,

wait so you apt-get update and dist upgrade, gave sudo permissions and verified the upgrade with “Y” once asked and Whonixcheck still tells you to upgrade? That’s strange. What is the output, when simply running “apt-get update” under su?

Have a nice day,

Ego


#5

Vogel123:

WARNING: Whonix News Result:
✘ Outdated: Installed whonix-workstation-packages-dependencies 2) Probably because package whonix-workstation-packages-dependencies is not installed. is outdated!
You should update. You can automatically update using Whonix’s internal updater. Please update using:
sudo apt-get update && sudo apt-get dist-upgrade

That Whonix News Result check breaks once you uninstall the
whonix-workstation-packages-dependencies package. Related:

The Debian Package Update check (below) will continue to work.


#6

" That Whonix News Result check breaks once you uninstall the
whonix-workstation-packages-dependencies package "

ok but i cant remember that I have uninstalled this package.
How can i install it again?


#7

sudo apt-get install whonix-workstation


#8

if im using this command, console shows this:

"Type: “whonix” for help.
user@host:~$ sudo apt-get install whonix-workstation
[sudo] password for user:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libnm-glib-vpn1 libnm-gtk-common libnm-gtk0
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
anon-shared-packages-recommended anon-ws-dns-conf easy-rsa opensc opensc-pkcs11 openvpn
whonix-shared-packages-recommended whonix-workstation-packages-dependencies
whonix-workstation-packages-dependencies-pre
Suggested packages:
resolvconf
The following NEW packages will be installed:
anon-shared-packages-recommended anon-ws-dns-conf easy-rsa opensc opensc-pkcs11 openvpn
whonix-shared-packages-recommended whonix-workstation whonix-workstation-packages-dependencies
whonix-workstation-packages-dependencies-pre
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,483 kB of archives.
After this operation, 4,636 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err http://ftp.us.debian.org/debian/ jessie/main openvpn i386 2.3.4-5
Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)
Err http://ftp.us.debian.org/debian/ jessie/main opensc-pkcs11 i386 0.14.0-2
Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)
Err http://ftp.us.debian.org/debian/ jessie/main easy-rsa all 2.2.2-1
Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)
Err http://ftp.us.debian.org/debian/ jessie/main opensc i386 0.14.0-2
Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)
Err http://mirror.whonix.de/whonixdevelopermetafiles/internal/ jessie/main anon-ws-dns-conf all 3:1.0-1
Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)
Err http://mirror.whonix.de/whonixdevelopermetafiles/internal/ jessie/main whonix-workstation-packages-dependencies-pre all 3:2.5-1
Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)
Err http://mirror.whonix.de/whonixdevelopermetafiles/internal/ jessie/main anon-shared-packages-recommended all 3:2.5-1
Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)
Err http://mirror.whonix.de/whonixdevelopermetafiles/internal/ jessie/main whonix-shared-packages-recommended all 3:2.5-1
Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)
Err http://mirror.whonix.de/whonixdevelopermetafiles/internal/ jessie/main whonix-workstation-packages-dependencies all 3:2.5-1
Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)
Err http://mirror.whonix.de/whonixdevelopermetafiles/internal/ jessie/main whonix-workstation all 3:2.5-1
Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)
E: Failed to fetch http://mirror.whonix.de/whonixdevelopermetafiles/internal/pool/main/a/anon-ws-dns-conf/anon-ws-dns-conf_1.0-1_all.deb Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)

E: Failed to fetch http://mirror.whonix.de/whonixdevelopermetafiles/internal/pool/main/a/anon-meta-packages/whonix-workstation-packages-dependencies-pre_2.5-1_all.deb Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openvpn/openvpn_2.3.4-5_i386.deb Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)

E: Failed to fetch http://mirror.whonix.de/whonixdevelopermetafiles/internal/pool/main/a/anon-meta-packages/anon-shared-packages-recommended_2.5-1_all.deb Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)

E: Failed to fetch http://mirror.whonix.de/whonixdevelopermetafiles/internal/pool/main/a/anon-meta-packages/whonix-shared-packages-recommended_2.5-1_all.deb Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)

E: Failed to fetch http://mirror.whonix.de/whonixdevelopermetafiles/internal/pool/main/a/anon-meta-packages/whonix-workstation-packages-dependencies_2.5-1_all.deb Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)

E: Failed to fetch http://mirror.whonix.de/whonixdevelopermetafiles/internal/pool/main/a/anon-meta-packages/whonix-workstation_2.5-1_all.deb Cannot initiate the connection to mirror.whonix.de:80 (109.230.212.53). - connect (111: Connection refused)

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/opensc/opensc-pkcs11_0.14.0-2_i386.deb Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/e/easy-rsa/easy-rsa_2.2.2-1_all.deb Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)

E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/opensc/opensc_0.14.0-2_i386.deb Cannot initiate the connection to ftp.us.debian.org:80 (64.50.233.100). - connect (111: Connection refused)

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
user@host:~$ "


#9

Should be covered in updating instructions.


#10

ok thanks mate :slight_smile:

One last question, how can i install openvpn properly? Like having a userinterface and starting it right to connect to my vpn service :smiley:


#11

User interface, probably not. See the VPN documentation.


#12

Cant find anything there for Tor->VPN with Openvpn :frowning:


#13

The table of contents includes…

  • Connecting to Tor before a tunnel-link (proxy/VPN/SSH) (User -> Tor -> proxy/VPN/SSH -> Internet)
  • Connecting to Tor before a VPN (User -> Tor -> VPN -> Internet)

Rather… Also applies:

  • Examples of setting up VPNs to work with Whonix

#14

ye thats right but nothing about openvpn…


#15

Good day,

there are plenty of guides utilizing OpenVPN on there, just Ctrl+F and you may find them.

Have a nice day,

Ego


#16

ok, found it thx :slight_smile: VPN works now. Do you know how to setup a socks5 in whonix? Want to use Whonix Workstation->TOR->VPN->SOCK5->Internet


#17

Good day,

while using socks instead of a VPN is explained on that site as well, combining the two is not, mainly for the reason that, in the way you described it, there is no reason what so ever to do it. Why hide your usage of Tor from a proxy? Moreover, I can’t really understand, why many people have this weird fascination with socks proxys, as they are technically inferior, almost all the time more expensive and last but not least, much easier to break, when compared to a VPN.

Have a nice day,

Ego


#18

First you follow the instructions for

  • Connecting to Tor before a VPN (User -> Tor -> VPN -> Internet)

Test if that works as expected.

Then you follow the instructions for

  • Connecting to Tor before a proxy (User -> Tor -> proxy -> Internet)

The following methods should work.

  • Proxy Settings Method
  • Proxyfier Method

The bullets points are all chapters on that page.

I don’t see why it shouldn’t be possible to use
User -> Tor -> VPN -> proxy -> Internet
that way. Once properly set up (follow the documentation and test), everything leaving the workstation is forced through the VPN by the workstation. And everything leaving the workstation is forced through Tor by the gateway. So now, when lets say the browser is configured to use a proxy, then it will hopefully [see documentation] do so. I.e. browser wants to connect to the proxy, and then the workstation forces it through the VPN, and then the gateway forces it through Tor. I am quite certain this would result in:
User -> Tor -> VPN -> proxy -> Internet


#19