You are not logged in.

#1 2022-02-04 04:16:45

theedgie
Member
Registered: 2022-02-04
Posts: 1

VirtualBox: ArchLinux host with Ubuntu guest - Hash sum mismatch error

Hi all,

First, I want to make a disclaimer: I know some will think that the issue I will present is not related to Arch, but I tested the exact same configs in Macbook and Ubuntu hosts and it works perfectly in both of them. So this is failing only in my ArchLinux host

I have an ArchLinux host (kernel 5.16.5-arch1) with VirtualBox 6.1.32 installed and I'm trying to run a Ubuntu Focal guest machine using Vagrant and then run some software installation on it.

The Vagrantfile is simply this:

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/focal64"
end

After bringing the VM up and running a "sudo apt update" I see some "Hash Sum mismatch" errors, like the following below, that keeps me from updating the apt lists and installing things I need into the VM:

Err:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:1210180 [weak]
   - SHA256:f7480ddc305391e3277c75b8f129aa0bae63f8b2e448d655be64acf5aaabae05
   - SHA1:f85f26ffa437f9b77a541bb8686142003563208f [weak]
   - MD5Sum:23aa84d3f42ced85e251fd1c398b5bf2 [weak]
  Hashes of received file:
   - SHA256:44c71f7ad9cc42ebdad43b1edbd965e8df104f720cbdc4d7da5715df570009c7
   - SHA1:f85f26ffa437f9b77a541bb8686142003563208f [weak]
   - MD5Sum:23aa84d3f42ced85e251fd1c398b5bf2 [weak]
   - Filesize:1210180 [weak]
  Last modification reported: Thu, 03 Feb 2022 12:28:19 +0000
  Release file created at: Fri, 04 Feb 2022 03:23:13 +0000

I already tried using a different kernel, such as linux-lts, and then installing vbox modules with virtualbox-host-dkms but it didn't make a difference.
I currently have these installed:

core/linux 5.16.5.arch1-1 [installed]
community/libvirt 1:8.0.0-2 [installed]
community/virtualbox 6.1.32-1 [installed]
community/virtualbox-guest-iso 6.1.32-1 [installed]
community/virtualbox-guest-utils 6.1.32-1 [installed]
community/virtualbox-host-modules-arch 6.1.32-5 [installed]

And also checked if modules were loaded:

# lsmod | grep vbox
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxdrv               540672  3 vboxnetadp,vboxnetflt

Vbox VM logs doesn't show me anything special.

Have anyone else experienced this issue?

Thanks!

Offline

#2 2022-07-09 17:11:28

10rdP4
Member
Registered: 2022-07-09
Posts: 1

Re: VirtualBox: ArchLinux host with Ubuntu guest - Hash sum mismatch error

I have the same problem, also some applications like firefox crash continuously and many visual bugs appear.

Offline

Board footer

Powered by FluxBB