Installing guest addon on gateway fails and problems with apt-get update

Reason: Copying some data that isn’t all that easy to copy by typing.

I’m not very good at *nix so this doesn’t tell me much. I can’t figure out if it is really the FTP that has a problem resolving (I don’t think it should be as it seems to be a very common ftp?), if I’ve done something wrong somewhere or if whonix is blocking me because the thing I’m doing could be consider as a security hole. If I had to guess I would say that we are running on a too new version of debian that doesn’t have a vbox guest addon package available.

sudo apt-get install --no-install-recommends virtualbox-guest-dkms virtualbox-guest-utils
404 Not Found on multiple packages.

E: http://ftp.us.debian.org/debian/testing/contrib virtualbox-guest-utils i386 4.3.2-dfsg-1+b1 is not /yet) available (temporary failure resolving 'ftp.us.debian.org

I’m having some problem with apt-get update on both workstation and gateway. It looks very similar, I’m not able to determine if its normal or not:
Hit http://security.debian.org testing/updates InRelease
Hit http://security.debian.org testing/updates/main i386 Packages
Hit http://security.debian.org testing/updates/contrib i386 Packages
Hit http://deb.torproject.org testing InRelease
Hit http://security.debian.org testing/updates/non-free i386 Packages
Hit http://security.debian.org testing/updates/contrib Translation-en
Hit http://security.debian.org testing/updates/main Translation-en
Ign http://deb.torproject.org tor-0.2.4.x-jessie InRelease
Hit http://security.debian.org testing/updates/non-free Translation-en
Hit http://deb.torproject.org testing/main i386 Packages
Ign http://deb.torproject.org tor-0.2.4.x-jessie Release.gpg
Ign http://deb.torproject.org tor-0.2.4.x-jessie Release
Ign http://deb.torproject.org testing/main Translation-en
Get:1 http://ftp.us.debian.org testing InRelease [153 kB]
Get:2 http://ftp.us.debian.org testing/main i386 Packages/DiffIndex [7876 B]
Hit http://ftp.us.debian.org testing/contrib i386 Packages/DiffIndex
Get:3 http://ftp.us.debian.org testing/non-free i386 Packages/DiffIndex [7819 B]
Hit http://ftp.us.debian.org testing/contrib Translation-en/DiffIndex
Get:4 http://ftp.us.debian.org testing/main Translation-en/DiffIndex [7876 B]
Get:5 http://ftp.us.debian.org testing/non-free Translation-en/DiffIndex [7819 B]
Err http://deb.torproject.org tor-0.2.4.x-jessie/main i386 Packages
404 Not Found
Get:6 http://ftp.us.debian.org testing/main i386 2014-02-18-1452.48.pdiff [7908 B]
Get:7 http://ftp.us.debian.org testing/main i386 2014-02-19-0243.17.pdiff [34.5 kB]
Ign http://deb.torproject.org tor-0.2.4.x-jessie/main Translation-en
Get:8 http://ftp.us.debian.org testing/main i386 2014-02-19-1446.56.pdiff [9979 B]
Get:9 http://ftp.us.debian.org testing/main i386 2014-02-20-0247.16.pdiff [39.7 kB]
Get:10 http://ftp.us.debian.org testing/main i386 2014-02-20-1451.29.pdiff [46 B]
Get:11 http://ftp.us.debian.org testing/main i386 2014-02-21-0311.55.pdiff [55.9 kB]
Get:12 http://ftp.us.debian.org testing/main i386 2014-02-21-1446.03.pdiff [58 B]
Hit http://sourceforge.net stable InRelease
Get:13 http://ftp.us.debian.org testing/main i386 2014-02-22-0246.17.pdiff [41.0 kB]
Get:14 http://ftp.us.debian.org testing/main i386 2014-02-22-1446.20.pdiff [47 B]
Get:15 http://ftp.us.debian.org testing/main i386 2014-02-23-0243.36.pdiff [63.6 kB]
Get:16 http://ftp.us.debian.org testing/main i386 2014-02-23-1445.53.pdiff [44 B]
Get:17 http://ftp.us.debian.org testing/main i386 2014-02-24-0243.05.pdiff [67.0 kB]
Get:18 http://ftp.us.debian.org testing/main i386 2014-02-24-0243.05.pdiff [67.0 kB]
Get:19 http://ftp.us.debian.org testing/contrib i386 2014-02-19-0243.17.pdiff [31 B]
Get:20 http://ftp.us.debian.org testing/contrib i386 2014-02-19-1446.56.pdiff [447 B]
Get:21 http://ftp.us.debian.org testing/contrib i386 2014-02-20-1451.29.pdiff [600 B]
Get:22 http://ftp.us.debian.org testing/contrib i386 2014-02-21-0311.55.pdiff [2637 B]
Get:23 http://ftp.us.debian.org testing/non-free i386 2014-02-19-1446.56.pdiff [31 B]
Get:24 http://ftp.us.debian.org testing/non-free i386 2014-02-20-0247.16.pdiff [3519 B]
Get:25 http://ftp.us.debian.org testing/non-free i386 2014-02-22-0246.17.pdiff [241 B]
Get:26 http://ftp.us.debian.org testing/non-free i386 2014-02-23-0243.36.pdiff [231 B]
Get:27 http://ftp.us.debian.org testing/non-free i386 2014-02-24-0243.05.pdiff [617 B]
Get:28 http://ftp.us.debian.org testing/contrib 2014-02-19-1446.56.pdiff [31 B]
Get:29 http://ftp.us.debian.org testing/contrib 2014-02-20-1451.29.pdiff [489 B]
Get:30 http://ftp.us.debian.org testing/contrib 2014-02-21-0311.55.pdiff [926 B]
Get:31 http://ftp.us.debian.org testing/contrib i386 2014-02-21-0311.55.pdiff [2637 B]
Get:32 http://ftp.us.debian.org testing/non-free i386 2014-02-24-0243.05.pdiff [617 B]
Get:33 http://ftp.us.debian.org testing/contrib 2014-02-21-0311.55.pdiff [926 B]
Get:34 http://ftp.us.debian.org testing/main 2014-02-18-1452.48.pdiff [224 B]
Get:35 http://ftp.us.debian.org testing/main 2014-02-19-0243.17.pdiff [3069 B]
Get:36 http://ftp.us.debian.org testing/main 2014-02-19-1446.56.pdiff [752 B]
Get:37 http://ftp.us.debian.org testing/main 2014-02-20-0247.16.pdiff [4688 B]
Get:38 http://ftp.us.debian.org testing/main 2014-02-20-1451.29.pdiff [45 B]
Get:39 http://ftp.us.debian.org testing/main 2014-02-21-0311.55.pdiff [6899 B]
Get:40 http://ftp.us.debian.org testing/main 2014-02-21-1446.03.pdiff [57 B]
Get:41 http://ftp.us.debian.org testing/main 2014-02-22-0246.17.pdiff [4952 B]
Get:42 http://ftp.us.debian.org testing/main 2014-02-22-1446.20.pdiff [46 B]
Get:43 http://ftp.us.debian.org testing/main 2014-02-23-0243.36.pdiff [6160 B]
Get:44 http://ftp.us.debian.org testing/main 2014-02-23-1445.53.pdiff [48 B]
Get:45 http://ftp.us.debian.org testing/main 2014-02-24-0243.05.pdiff [3417 B]
Get:46 http://ftp.us.debian.org testing/main 2014-02-24-0243.05.pdiff [3417 B]
Get:47 http://ftp.us.debian.org testing/non-free 2014-02-19-1446.56.pdiff [31 B]
Get:48 http://ftp.us.debian.org testing/non-free 2014-02-20-0247.16.pdiff [2277 B]
Get:49 http://ftp.us.debian.org testing/non-free 2014-02-24-0243.05.pdiff [455 B]
Get:50 http://ftp.us.debian.org testing/non-free 2014-02-24-0243.05.pdiff [455 B]
Hit http://sourceforge.net stable/main i386 Packages
Ign http://sourceforge.net stable/main Translation-en
Fetched 547 kB in 33s (16.4 kB/s)
W: There is no public key available for the following key IDs:
W: Failed to fetch http://deb.torproject.org/torproject.org/dists/tor-0.2.4.x-jessie/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/PackagesIndex Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/contrib/binary-i386/PackagesIndex Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/binary-i386/PackagesIndex Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/contrib/i18n/Translation-enIndex Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/i18n/Translation-enIndex Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/i18n/Translation-enIndex Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

If someone could point me in the right direction I’d be happy:) Best regards

Freshly created, please try this:

Thank you brother, looks like it helped (running it now).

I updated the wiki little, sadly I could not give a reason.

Reason to why I updated was to make it a little more clear to newbies (like me) what a hash sum mismatch might look like and to improve the searchability a bit. When you posted the reference I realised I obviously should have googled this a bit more before asking, sorry for the extra work.

I also added a apt-get dist-upgrade, as it seems I had a lot of packages that needed upgrading so figured it was worth mentioning.

It might also be worth adding that it might have been the mismatch that caused apper to fail updating, but since I wasn’t sure of that, I refrained from doing so.

I’m going to add something to the wiki in case someone else is in my situation, which is that the guest addons doesn’t start due to lacking linux headers. I’ll do after you accept/reject my change to the current wiki.
Thanks again for your help, you should be getting my coins from BTCFog soon, sorry it wasn’t more.

No worries.

Thank you for your donation and for these improvements. They’re now reviewed.

Apper most likely failed due to the same issue. In next Whonix version Apper won’t be installed by default anymore, since it causes more confusion than it helps with updating.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]