I"m trying to update the list of packages required for OSv to run on Debian 9.3 and during my tests, I had the following issue:
root@debian:/home/netto/osv# apt-get -y --fix-missing install ant autoconf build-essential gawk gdb genromfs gnutls-bin libboost-all-dev libedit-dev libmaven-shade-plugin-java libncurses5-dev libssl-dev libtool maven openssl p11-kit python-dpkt python-requests qemu-system-x86 qemu-utils tcpdump wget lib32stdc++-6-dev openjdk-8-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
Hash Sum mismatch
Hashes of expected file:
- SHA256:d32b7755a4ada83da57aa72dc272078565e75d7249f2740216b189ad7a7d93ff
- MD5Sum:30a6551c42e1b66122b00ed57a2d6d9d [weak]
- Filesize:16482724 [weak]
Hashes of received file:
- SHA256:398ee58b3c11af07d1bb62965df0ae0262b20ff70ef2d93542fb3e38221c8a1e
- MD5Sum:f627866bab6df63906e34ebb2e30a963 [weak]
- Filesize:1129071 [weak]
Last modification reported: Sun, 26 Nov 2017 17:36:08 +0000
Fetched 2,647 B in 2min 38s (16 B/s)
Unable to correct missing packages.
Hashes of expected file:
- SHA256:d32b7755a4ada83da57aa72dc272078565e75d7249f2740216b189ad7a7d93ff
- MD5Sum:30a6551c42e1b66122b00ed57a2d6d9d [weak]
- Filesize:16482724 [weak]
Hashes of received file:
- SHA256:398ee58b3c11af07d1bb62965df0ae0262b20ff70ef2d93542fb3e38221c8a1e
- MD5Sum:f627866bab6df63906e34ebb2e30a963 [weak]
- Filesize:1129071 [weak]
Last modification reported: Sun, 26 Nov 2017 17:36:08 +0000
E: Aborting install.
Is there any suggestion on how to fix this?
I have tried to change the mirror
Previously, I was using debian br mirror and I have tried others
but it seems there is a constant mismatch in the package hash