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: virtualbox-guest-utils i386 4.3.2-dfsg-1+b1 is not /yet) available (temporary failure resolving '

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 testing/updates InRelease
Hit testing/updates/main i386 Packages
Hit testing/updates/contrib i386 Packages
Hit testing InRelease
Hit testing/updates/non-free i386 Packages
Hit testing/updates/contrib Translation-en
Hit testing/updates/main Translation-en
Ign tor-0.2.4.x-jessie InRelease
Hit testing/updates/non-free Translation-en
Hit testing/main i386 Packages
Ign tor-0.2.4.x-jessie Release.gpg
Ign tor-0.2.4.x-jessie Release
Ign testing/main Translation-en
Get:1 testing InRelease [153 kB]
Get:2 testing/main i386 Packages/DiffIndex [7876 B]
Hit testing/contrib i386 Packages/DiffIndex
Get:3 testing/non-free i386 Packages/DiffIndex [7819 B]
Hit testing/contrib Translation-en/DiffIndex
Get:4 testing/main Translation-en/DiffIndex [7876 B]
Get:5 testing/non-free Translation-en/DiffIndex [7819 B]
Err tor-0.2.4.x-jessie/main i386 Packages
404 Not Found
Get:6 testing/main i386 2014-02-18-1452.48.pdiff [7908 B]
Get:7 testing/main i386 2014-02-19-0243.17.pdiff [34.5 kB]
Ign tor-0.2.4.x-jessie/main Translation-en
Get:8 testing/main i386 2014-02-19-1446.56.pdiff [9979 B]
Get:9 testing/main i386 2014-02-20-0247.16.pdiff [39.7 kB]
Get:10 testing/main i386 2014-02-20-1451.29.pdiff [46 B]
Get:11 testing/main i386 2014-02-21-0311.55.pdiff [55.9 kB]
Get:12 testing/main i386 2014-02-21-1446.03.pdiff [58 B]
Hit stable InRelease
Get:13 testing/main i386 2014-02-22-0246.17.pdiff [41.0 kB]
Get:14 testing/main i386 2014-02-22-1446.20.pdiff [47 B]
Get:15 testing/main i386 2014-02-23-0243.36.pdiff [63.6 kB]
Get:16 testing/main i386 2014-02-23-1445.53.pdiff [44 B]
Get:17 testing/main i386 2014-02-24-0243.05.pdiff [67.0 kB]
Get:18 testing/main i386 2014-02-24-0243.05.pdiff [67.0 kB]
Get:19 testing/contrib i386 2014-02-19-0243.17.pdiff [31 B]
Get:20 testing/contrib i386 2014-02-19-1446.56.pdiff [447 B]
Get:21 testing/contrib i386 2014-02-20-1451.29.pdiff [600 B]
Get:22 testing/contrib i386 2014-02-21-0311.55.pdiff [2637 B]
Get:23 testing/non-free i386 2014-02-19-1446.56.pdiff [31 B]
Get:24 testing/non-free i386 2014-02-20-0247.16.pdiff [3519 B]
Get:25 testing/non-free i386 2014-02-22-0246.17.pdiff [241 B]
Get:26 testing/non-free i386 2014-02-23-0243.36.pdiff [231 B]
Get:27 testing/non-free i386 2014-02-24-0243.05.pdiff [617 B]
Get:28 testing/contrib 2014-02-19-1446.56.pdiff [31 B]
Get:29 testing/contrib 2014-02-20-1451.29.pdiff [489 B]
Get:30 testing/contrib 2014-02-21-0311.55.pdiff [926 B]
Get:31 testing/contrib i386 2014-02-21-0311.55.pdiff [2637 B]
Get:32 testing/non-free i386 2014-02-24-0243.05.pdiff [617 B]
Get:33 testing/contrib 2014-02-21-0311.55.pdiff [926 B]
Get:34 testing/main 2014-02-18-1452.48.pdiff [224 B]
Get:35 testing/main 2014-02-19-0243.17.pdiff [3069 B]
Get:36 testing/main 2014-02-19-1446.56.pdiff [752 B]
Get:37 testing/main 2014-02-20-0247.16.pdiff [4688 B]
Get:38 testing/main 2014-02-20-1451.29.pdiff [45 B]
Get:39 testing/main 2014-02-21-0311.55.pdiff [6899 B]
Get:40 testing/main 2014-02-21-1446.03.pdiff [57 B]
Get:41 testing/main 2014-02-22-0246.17.pdiff [4952 B]
Get:42 testing/main 2014-02-22-1446.20.pdiff [46 B]
Get:43 testing/main 2014-02-23-0243.36.pdiff [6160 B]
Get:44 testing/main 2014-02-23-1445.53.pdiff [48 B]
Get:45 testing/main 2014-02-24-0243.05.pdiff [3417 B]
Get:46 testing/main 2014-02-24-0243.05.pdiff [3417 B]
Get:47 testing/non-free 2014-02-19-1446.56.pdiff [31 B]
Get:48 testing/non-free 2014-02-20-0247.16.pdiff [2277 B]
Get:49 testing/non-free 2014-02-24-0243.05.pdiff [455 B]
Get:50 testing/non-free 2014-02-24-0243.05.pdiff [455 B]
Hit stable/main i386 Packages
Ign 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 404 Not Found

W: Failed to fetch Hash Sum mismatch

W: Failed to fetch Hash Sum mismatch

W: Failed to fetch Hash Sum mismatch

W: Failed to fetch Hash Sum mismatch

W: Failed to fetch Hash Sum mismatch

W: Failed to fetch 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.