[Fixed] Cant install VirtualBox 5.0 on Ubuntu

Discussions related to using VirtualBox on Linux hosts.
dynaguy
Posts: 8
Joined: 14. Sep 2010, 21:17
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WinXP

[Fixed] Cant install VirtualBox 5.0 on Ubuntu

Post by dynaguy »

I am using Ubuntu 14.04 LTS 64bit.

I got this when I try to do "sudo apt-get update"

Code: Select all

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/trusty/contrib/binary-amd64/Packages  Hash Sum mismatch

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/trusty/contrib/binary-i386/Packages  Hash Sum mismatch

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

Any idea?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by Perryg »

You need to fix the key. See here https://www.virtualbox.org/wiki/Linux_Downloads or manually download and install.
enilkciw
Posts: 21
Joined: 4. Mar 2009, 01:47

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by enilkciw »

Having the same issue with Mint 17.2
enilkciw
Posts: 21
Joined: 4. Mar 2009, 01:47

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by enilkciw »

wick@p7-1414 ~ $ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
[sudo] password for wick:
OK
wick@p7-1414 ~ $ sudo apt-get update
Hit http://download.virtualbox.org trusty InRelease
Ign http://dl.google.com stable InRelease
Ign http://packages.linuxmint.com qiana InRelease
Ign http://extra.linuxmint.com rafaela InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://download.virtualbox.org trusty/contrib amd64 Packages [1,564 B]
Ign http://packages.linuxmint.com rafaela InRelease
Get:3 http://dl.google.com stable Release [1,347 B]
Get:4 http://extra.linuxmint.com rafaela Release.gpg [198 B]
Ign http://security.ubuntu.com trusty-security InRelease
Get:5 http://download.virtualbox.org trusty/contrib i386 Packages [1,571 B]
Get:6 http://dl.google.com stable/main amd64 Packages [1,190 B]
Get:7 http://packages.linuxmint.com qiana Release.gpg [198 B]
Get:8 http://extra.linuxmint.com rafaela Release [3,212 B]
Get:9 http://dl.google.com stable/main i386 Packages [1,191 B]
Get:10 http://packages.linuxmint.com rafaela Release.gpg [198 B]
Ign http://archive.canonical.com trusty InRelease
Get:11 http://extra.linuxmint.com rafaela/main amd64 Packages [7,908 B]
Get:12 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:13 http://packages.linuxmint.com qiana Release [24.2 kB]
Get:14 http://extra.linuxmint.com rafaela/main i386 Packages [7,883 B]
Get:15 http://security.ubuntu.com trusty-security Release [63.5 kB]
Hit http://mirrors.ucr.ac.cr lucid InRelease
Hit http://archive.canonical.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-updates InRelease
Get:16 http://packages.linuxmint.com rafaela Release [24.1 kB]
Hit http://mirrors.ucr.ac.cr lucid/free amd64 Packages
Hit http://archive.canonical.com trusty Release
Hit http://archive.ubuntu.com trusty Release.gpg
Ign http://dl.google.com stable/main Translation-en_US
Hit http://mirrors.ucr.ac.cr lucid/non-free amd64 Packages
Ign http://dl.google.com stable/main Translation-en
Get:17 http://packages.linuxmint.com qiana/main amd64 Packages [31.0 kB]
Hit http://archive.canonical.com trusty/partner amd64 Packages
Get:18 http://security.ubuntu.com trusty-security/main amd64 Packages [309 kB]
Get:19 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://mirrors.ucr.ac.cr lucid/free i386 Packages
Get:20 http://packages.linuxmint.com qiana/upstream amd64 Packages [24.2 kB]
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://mirrors.ucr.ac.cr lucid/non-free i386 Packages
Hit http://archive.ubuntu.com trusty Release
Ign http://extra.linuxmint.com rafaela/main Translation-en_US
Ign http://extra.linuxmint.com rafaela/main Translation-en
Get:21 http://packages.linuxmint.com qiana/import amd64 Packages [32.5 kB]
Get:22 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:23 http://packages.linuxmint.com qiana/main i386 Packages [30.4 kB]
Ign http://archive.canonical.com trusty/partner Translation-en
Get:24 http://packages.linuxmint.com qiana/upstream i386 Packages [24.2 kB]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Get:25 http://packages.linuxmint.com qiana/import i386 Packages [32.5 kB]
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Get:26 http://packages.linuxmint.com rafaela/main amd64 Packages [33.4 kB]
Get:27 http://packages.linuxmint.com rafaela/upstream amd64 Packages [25.8 kB]
Ign http://mirrors.ucr.ac.cr lucid/free Translation-en_US
Hit http://archive.ubuntu.com trusty/main Translation-en
Get:28 http://packages.linuxmint.com rafaela/import amd64 Packages [301 kB]
Ign http://mirrors.ucr.ac.cr lucid/free Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Ign http://mirrors.ucr.ac.cr lucid/non-free Translation-en_US
Ign http://mirrors.ucr.ac.cr lucid/non-free Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:29 http://archive.ubuntu.com trusty-updates/main amd64 Packages [569 kB]
Get:30 http://packages.linuxmint.com rafaela/main i386 Packages [32.8 kB]
Get:31 http://packages.linuxmint.com rafaela/upstream i386 Packages [25.8 kB]
Ign http://download.virtualbox.org trusty/contrib Translation-en_US
Ign http://download.virtualbox.org trusty/contrib Translation-en
Get:32 http://packages.linuxmint.com rafaela/import i386 Packages [301 kB]
Ign http://packages.linuxmint.com qiana/import Translation-en_US
Ign http://packages.linuxmint.com qiana/import Translation-en
Ign http://packages.linuxmint.com qiana/main Translation-en_US
Ign http://packages.linuxmint.com qiana/main Translation-en
Ign http://packages.linuxmint.com qiana/upstream Translation-en_US
Ign http://packages.linuxmint.com qiana/upstream Translation-en
Ign http://packages.linuxmint.com rafaela/import Translation-en_US
Ign http://packages.linuxmint.com rafaela/import Translation-en
Ign http://packages.linuxmint.com rafaela/main Translation-en_US
Ign http://packages.linuxmint.com rafaela/main Translation-en
Ign http://packages.linuxmint.com rafaela/upstream Translation-en_US
Ign http://packages.linuxmint.com rafaela/upstream Translation-en
Get:33 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8,875 B]
Get:34 http://security.ubuntu.com trusty-security/universe amd64 Packages [111 kB]
Get:35 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3,689 B]
Get:36 http://security.ubuntu.com trusty-security/main i386 Packages [295 kB]
Get:37 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
Get:38 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Get:39 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,846 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Get:40 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [11.8 kB]
Get:41 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [295 kB]
Get:42 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
Get:43 http://archive.ubuntu.com trusty-updates/main i386 Packages [554 kB]
Get:44 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [11.8 kB]
Get:45 http://archive.ubuntu.com trusty-updates/universe i386 Packages [296 kB]
Get:46 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 3,711 kB in 2min 20s (26.5 kB/s)
W: Failed to fetch http://download.virtualbox.org/virtualb ... 4/Packages Hash Sum mismatch

W: Failed to fetch http://download.virtualbox.org/virtualb ... 6/Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
wick@p7-1414 ~ $ sudo rm -rf /var/lib/apt/lists/*
wick@p7-1414 ~ $ sudo apt-get update
Get:1 http://download.virtualbox.org trusty InRelease [5,637 B]
Ign http://dl.google.com stable InRelease
Ign http://extra.linuxmint.com rafaela InRelease
Ign http://packages.linuxmint.com qiana InRelease
Get:2 http://download.virtualbox.org trusty/contrib amd64 Packages [1,564 B]
Get:3 http://dl.google.com stable Release.gpg [198 B]
Get:4 http://download.virtualbox.org trusty/contrib i386 Packages [1,571 B]
Ign http://packages.linuxmint.com rafaela InRelease
Get:5 http://dl.google.com stable Release [1,347 B]
Get:6 http://extra.linuxmint.com rafaela Release.gpg [198 B]
Get:7 http://dl.google.com stable/main amd64 Packages [1,190 B]
Get:8 http://packages.linuxmint.com qiana Release.gpg [198 B]
Get:9 http://extra.linuxmint.com rafaela Release [3,212 B]
Get:10 http://dl.google.com stable/main i386 Packages [1,191 B]
Get:11 http://packages.linuxmint.com rafaela Release.gpg [198 B]
Ign http://archive.canonical.com trusty InRelease
Get:12 http://extra.linuxmint.com rafaela/main amd64 Packages [7,908 B]
Ign http://archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Get:13 http://packages.linuxmint.com qiana Release [24.2 kB]
Get:14 http://mirrors.ucr.ac.cr lucid InRelease [7,099 B]
Get:15 http://extra.linuxmint.com rafaela/main i386 Packages [7,883 B]
Get:16 http://archive.canonical.com trusty Release.gpg [933 B]
Ign http://archive.ubuntu.com trusty-updates InRelease
Get:17 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:18 http://packages.linuxmint.com rafaela Release [24.1 kB]
Get:19 http://archive.canonical.com trusty Release [9,359 B]
Get:20 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:21 http://mirrors.ucr.ac.cr lucid/free amd64 Packages [3,250 B]
Get:22 http://security.ubuntu.com trusty-security Release [63.5 kB]
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Get:23 http://packages.linuxmint.com qiana/main amd64 Packages [31.0 kB]
Get:24 http://archive.canonical.com trusty/partner amd64 Packages [5,627 B]
Get:25 http://mirrors.ucr.ac.cr lucid/non-free amd64 Packages [7,997 B]
Get:26 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:27 http://mirrors.ucr.ac.cr lucid/free i386 Packages [3,260 B]
Get:28 http://archive.canonical.com trusty/partner i386 Packages [6,309 B]
Get:29 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:30 http://mirrors.ucr.ac.cr lucid/non-free i386 Packages [8,641 B]
Ign http://extra.linuxmint.com rafaela/main Translation-en_US
Ign http://extra.linuxmint.com rafaela/main Translation-en
Get:31 http://security.ubuntu.com trusty-security/main amd64 Packages [309 kB]
Get:32 http://packages.linuxmint.com qiana/upstream amd64 Packages [24.2 kB]
Ign http://archive.canonical.com trusty/partner Translation-en
Get:33 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:34 http://packages.linuxmint.com qiana/import amd64 Packages [32.5 kB]
Get:35 http://archive.ubuntu.com trusty/main amd64 Packages [1,350 kB]
Get:36 http://packages.linuxmint.com qiana/main i386 Packages [30.4 kB]
Get:37 http://packages.linuxmint.com qiana/upstream i386 Packages [24.2 kB]
Get:38 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8,875 B]
Get:39 http://security.ubuntu.com trusty-security/universe amd64 Packages [111 kB]
Get:40 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3,689 B]
Get:41 http://packages.linuxmint.com qiana/import i386 Packages [32.5 kB]
Get:42 http://security.ubuntu.com trusty-security/main i386 Packages [295 kB]
Ign http://mirrors.ucr.ac.cr lucid/free Translation-en_US
Ign http://mirrors.ucr.ac.cr lucid/free Translation-en
Ign http://mirrors.ucr.ac.cr lucid/non-free Translation-en_US
Get:43 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
Ign http://mirrors.ucr.ac.cr lucid/non-free Translation-en
Get:44 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Get:45 http://packages.linuxmint.com rafaela/main amd64 Packages [33.4 kB]
Get:46 http://archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:47 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,846 B]
Get:48 http://archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB]
Get:49 http://security.ubuntu.com trusty-security/main Translation-en [164 kB]
Get:50 http://packages.linuxmint.com rafaela/upstream amd64 Packages [25.8 kB]
Get:51 http://packages.linuxmint.com rafaela/import amd64 Packages [301 kB]
Get:52 http://security.ubuntu.com trusty-security/multiverse Translation-en [1,679 B]
Get:53 http://security.ubuntu.com trusty-security/restricted Translation-en [2,266 B]
Get:54 http://security.ubuntu.com trusty-security/universe Translation-en [64.0 kB]
Ign http://download.virtualbox.org trusty/contrib Translation-en_US
Ign http://download.virtualbox.org trusty/contrib Translation-en
Get:55 http://packages.linuxmint.com rafaela/main i386 Packages [32.8 kB]
Get:56 http://packages.linuxmint.com rafaela/upstream i386 Packages [25.8 kB]
Get:57 http://packages.linuxmint.com rafaela/import i386 Packages [301 kB]
Get:58 http://archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Get:59 http://archive.ubuntu.com trusty/main i386 Packages [1,348 kB]
Get:60 http://archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:61 http://archive.ubuntu.com trusty/universe i386 Packages [5,866 kB]
Ign http://packages.linuxmint.com qiana/import Translation-en_US
Ign http://packages.linuxmint.com qiana/import Translation-en
Ign http://packages.linuxmint.com qiana/main Translation-en_US
Ign http://packages.linuxmint.com qiana/main Translation-en
Ign http://packages.linuxmint.com qiana/upstream Translation-en_US
Ign http://packages.linuxmint.com qiana/upstream Translation-en
Ign http://packages.linuxmint.com rafaela/import Translation-en_US
Ign http://packages.linuxmint.com rafaela/import Translation-en
Ign http://packages.linuxmint.com rafaela/main Translation-en_US
Ign http://packages.linuxmint.com rafaela/main Translation-en
Ign http://packages.linuxmint.com rafaela/upstream Translation-en_US
Ign http://packages.linuxmint.com rafaela/upstream Translation-en
Get:62 http://archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:63 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:64 http://archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:65 http://archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Get:66 http://archive.ubuntu.com trusty/universe Translation-en [4,089 kB]
Get:67 http://archive.ubuntu.com trusty-updates/main amd64 Packages [569 kB]
Get:68 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [11.8 kB]
Get:69 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [295 kB]
Get:70 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
Get:71 http://archive.ubuntu.com trusty-updates/main i386 Packages [554 kB]
Get:72 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [11.8 kB]
Get:73 http://archive.ubuntu.com trusty-updates/universe i386 Packages [296 kB]
Get:74 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Get:75 http://archive.ubuntu.com trusty-updates/main Translation-en [274 kB]
Get:76 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6,148 B]
Get:77 http://archive.ubuntu.com trusty-updates/restricted Translation-en [2,774 B]
Get:78 http://archive.ubuntu.com trusty-updates/universe Translation-en [156 kB]
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 24.2 MB in 42s (567 kB/s)
W: Failed to fetch http://download.virtualbox.org/virtualb ... 4/Packages Hash Sum mismatch

W: Failed to fetch http://download.virtualbox.org/virtualb ... 6/Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
wick@p7-1414 ~ $
dynaguy
Posts: 8
Joined: 14. Sep 2010, 21:17
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WinXP

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by dynaguy »

Perryg wrote:You need to fix the key. See here https://www.virtualbox.org/wiki/Linux_Downloads or manually download and install.
I had the key installed coz I was using 4.3. Anyway I reinstalled the key:

Code: Select all

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
Sitll has the same problem.
dynaguy
Posts: 8
Joined: 14. Sep 2010, 21:17
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WinXP

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by dynaguy »

It seems to me that the repository is not ready, at least for our debian/ubuntu user.

So why the announcement for the official release?
FuturePilot
Posts: 3
Joined: 9. Jul 2015, 16:56

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by FuturePilot »

Are you using apt-cacher-ng by chance or perhaps a proxy?
enilkciw
Posts: 21
Joined: 4. Mar 2009, 01:47

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by enilkciw »

FuturePilot wrote:Are you using apt-cacher-ng by chance or perhaps a proxy?
No
pepitogrillo
Posts: 4
Joined: 10. Jul 2015, 00:18

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by pepitogrillo »

Same problem and no solution works for me. I think the problem is in server repository.
jar349
Posts: 1
Joined: 10. Jul 2015, 00:31

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by jar349 »

enilkciw wrote:Having the same issue with Mint 17.2
Also on Mint 17.2. Also do have the key added. Also having the Hash Sum Mismatch problem.
Eradan
Posts: 3
Joined: 10. Sep 2014, 21:25

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by Eradan »

pepitogrillo wrote:Same problem and no solution works for me. I think the problem is in server repository.
Same here. Lubuntu Trusty, Linux Mint 17.1 & 17.2, Peppermint 5 & 6; pretty much anything Ubuntu Trusty-based is unable to update/install, because of this "Hash Sum mismatch". I have tried all the troubleshooting steps above, nothing has helped.

Just now, out of curiousity (I'm wondering why I didn't try this earlier), opening http://download.virtualbox.org/virtualbox/debian in a browser brings up the expected page, with the typical-looking repo setup. However, try clicking on "dists" or "pool". It's coughing up a 404 for both. THAT'S why we can't update! The REPO'S broken!

Edit: My bad, if I manually go to http://download.virtualbox.org/virtualb ... sts/trusty, it comes up in the browser just fine. Also, wget seems to be able to hit these directories without any problems, so I guess it's not due to a 404 on the repo. :oops:
Last edited by Eradan on 10. Jul 2015, 08:49, edited 1 time in total.
Edmund Laugasson
Posts: 16
Joined: 2. Feb 2015, 23:31
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu derivates

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by Edmund Laugasson »

Same also here - using 64-bit Linux Mint 17.2 'Rafaela' with kernel 4.0.7:

Code: Select all

# sudo apt-get update
....
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/trusty/contrib/binary-amd64/Packages  Hash Sum mismatch
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/trusty/contrib/binary-i386/Packages  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
.....
# wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
.....
# sudo apt-get update
.....
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/trusty/contrib/binary-amd64/Packages  Hash Sum mismatch
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/trusty/contrib/binary-i386/Packages  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by loukingjr »

FWIW, here's what I did to update my Ubuntu 15.04 and Linux Mint 17.2 hosts. Downloaded VirtualBox and its extension pack from here… https://www.virtualbox.org/wiki/Downloads
Uninstalled the previous version w/synaptic. Installed the new version w/gdebi
Last edited by loukingjr on 10. Jul 2015, 08:40, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Eradan
Posts: 3
Joined: 10. Sep 2014, 21:25

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by Eradan »

Okay, I've manually downloaded the InRelease & Release files from http://download.virtualbox.org/virtualb ... an/trusty/, and the Contents-* files. Comparing the hashes of the actual files to the hashes in InRelease, they all fail. Filesizes listed in these files are off, too. And, these files haven't been updated since 19 May 2015, so of COURSE they're the wrong hashes for the new release.

This is why those of us on Ubuntu Trusty-based OS's are getting this error when trying to update. The hashes & filesizes of the new files don't match what's in the Release & InRelease files.

Oracle needs to finish updating the repo. We'll either need to do like loukingjr did, or wait a while longer to update.
Edmund Laugasson
Posts: 16
Joined: 2. Feb 2015, 23:31
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu derivates

Re: Cant install VirtualBox 5.0 on Ubuntu

Post by Edmund Laugasson »

I also announced the mentioned problem at IRC channel and at #vbox channel and then the user fmehnert announced around half an hour ago: "Just download the deb/rpm manually and install it. We are trying to fix the repos". So probably it would be helpful also to talk a bit also there.

So I downloaded from https://www.virtualbox.org/wiki/Linux_Downloads and uninstalled 4.3.x beforehand and then manually (sudo dpkg -i virtualbox-5.0_5.0.0-101573~Ubuntu~trusty_amd64.deb) new version and everything works for now.
Post Reply