I'm running into an issue while trying to do a fresh install of Virtualmin on an Ubuntu VM for the past couple of days. I have tried recreating the VM, rebooting, refreshing repos, all to no avail. Please see the error log below where the Virtualmin install fails. Any assistance would be much appreciated.
Get:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpackage-stash-xs-perl amd64 0.28-3build2 [16.4 kB] Get:60 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libreadonly-perl all 2.050-1 [19.8 kB] Get:61 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libref-util-perl all 0.203-1 [14.8 kB] Get:62 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libref-util-xs-perl amd64 0.116-1 [11.5 kB] Fetched 1662 kB in 5s (363 kB/s) E: Failed to fetch http://software.virtualmin.com/vm/6/gpl/apt/pool/main/w/webmin-ruby-gems... File has unexpected size (8586 != 8840). Mirror $ Hashes of expected file: - SHA512:064b7605020d2f4caa9e691fd2dbdd17b3a52ea4d48f74490f38cdcd101db852f929179d983a2fa8aa0ad720d35b22f9f3f7f8506e01068ce8c2b0d83b54332b - SHA256:7ae44e5e6e0de1c934cf98f7ff372c10586b9387ec67a178c1b27fe9fd74686c - SHA1:ee12160189d76022017328645ba9c8a0651d7c5c [weak] - MD5Sum:3971aefce7dd3695bdbea45a8236123b [weak] - Filesize:8840 [weak] E: Failed to fetch http://software.virtualmin.com/vm/6/gpl/apt/pool/main/w/webmin-virtual-s... File has unexpected size (8840 !=$ Hashes of expected file: - SHA512:c5fcaa15fde90baf6ba0a9ff259000e133d3ceb024090fb206752a6f966ce55ee6969cf128215d6f752feb66b18d0ba71e254c616e307ff42b91d7ca5cf91a2a - SHA256:ed2ff3809b804a772acafd95d688afba518ba2edd2ec3dd759aced316d8dc9a9 - SHA1:8a5c963c14a2b4c7da0dd09ba9ea1f44c07b2814 [weak] - MD5Sum:f0e417b960a5dbb178d94144d2fb4456 [weak] - Filesize:1796508 [weak] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdynaloader-functions-... File has unexpected size (10$ Hashes of expected file: - SHA256:b036e8e400cf40466a5022dfe59714ee3d836211fe74e381f41f9b88d06b3b48 - SHA1:a93a0a285b5a83fbd8cd0fad8aa13e878a661cc2 [weak] - MD5Sum:b5fcdf409fc795528083dd601cb37766 [weak] - Filesize:11924 [weak] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdevel-callchecker-per... File has unexpected size ($ Hashes of expected file: - SHA256:914a2b842063d21c8f7f3c790b0d5b023b0d470cd743f8d0099032c34b89bcb9 - SHA1:88ad8622fe79374305137e2cd9fd3b2cbf3ab0ee [weak] - MD5Sum:14f28e2c76cf6a6305ca3fa3fa3b263b [weak] - Filesize:14104 [weak] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdevel-globaldestructi... File has unexpected siz$ Hashes of expected file: - SHA256:cacd54d156e0489618eb8b63ec3b99e64ad6190f0a0f26cc316b74b44b7eeee2 - SHA1:8f539d66260dfa863fc8c0f13531a7ea5e6bde6e [weak] - MD5Sum:c7e9dcf89e2da79e8ba28e17058c5b20 [weak] - Filesize:6752 [weak] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdevel-stacktrace-perl... File has unexpected size (6752 != 2$ Hashes of expected file: - SHA256:744969e130b2f3efd7a015e63215d7a6fb3b75f78434d62255af0850c1def047 - SHA1:71cf8d46d04e306e02f94397ef069ad6f817caa0 [weak] - MD5Sum:3cb43855fcbf1c2d64f738d8d3569218 [weak] - Filesize:22356 [weak] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Installing Virtualmin and plugins: Failed with error: 100 [2019-11-30 22:29:48 EST] [ERROR] Something went wrong with the previous command. Exiting.
Comments
Submitted by andreychek on Sun, 12/01/2019 - 10:28 Comment #1
Passing this one to Joe for further comment.
We haven't received any similar reports though -- I don't imagine there's a proxy server in front of your system there? I wondered if maybe there's something like that changing something along the way. But we'll look further into that.
Submitted by andreychek on Sun, 12/01/2019 - 10:28 Comment #2
Passing this one to Joe for further comment.
We haven't received any similar reports though -- I don't imagine there's a proxy server in front of your system there? I wondered if maybe there's something like that changing something along the way. But we'll look further into that.
Submitted by colwhackamole on Sun, 12/01/2019 - 18:13 Comment #3
Thanks so much! No proxy server in front of my system. Other packages & repos install without issue as well. I will await comment from Joe. Thanks again for your assistance.
Submitted by JamieCameron on Sun, 12/01/2019 - 20:42 Comment #4
Also, trying clearing your APT cache with the command
apt-get clean
Submitted by colwhackamole on Mon, 12/02/2019 - 19:07 Comment #5
found the issue. it appears the host the vm was on was routing traffic weird. once i fixed the routing, virtualmin installed without issue. my apologies for the false alarm. thank you all for your efforts.