Closed redbarra closed 4 years ago
Thanks for opening your first issue here! Be sure to follow the issue template and include your OS/Vagrant/VVV versions! Don't forget you can get support in the VVV slack at https://varyingvagrantvagrants.org/docs/en-US/slack/
Varying Vagrant VagrantsJoin the VVV Slack Workspace
Seems an issue with mariadb repo. How did you tried with a new provision?
I tried the following:
1 - Git branch Master new provision - got his error 2 - Git branch Develop new provision - got this error 3 - Vagrant destroy and then provision again - still got the same error.
Sounds like the people who maintain that mirror server have made a mistake or are having issues. However we don’t run those servers so there’s not much we can do to change that.
We can however use different servers and that’s exactly what we do on the develop branch. We will need to see the output from a reprovision on that branch if that isn’t working for you.
I would note though, that the domain/server mentioned in that log is unfamiliar to me
On Mon, 18 May 2020 at 00:04, redbarra notifications@github.com wrote:
I tried the following:
1 - Git branch Master new provision - got his error 2 - Git branch Develop new provision - got this error 3 - Vagrant destroy and then provision again - still got the same error.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Varying-Vagrant-Vagrants/VVV/issues/2153#issuecomment-629874863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOLZYS72WJIA3JLYUZPFDRSBUQNANCNFSM4NDQSGIA .
Also, on the develop branch we switched to 10.4, but those errors mention 10.3 in the URLs, the error cannot be identical/the same
Ok so ran it again on the develop branch and this is what I got:
default: Get:265 http://archive.ubuntu.com/ubuntu bionic/universe amd64 dos2unix amd64 7.3.4-3 [351 kB] default: Get:266 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-php-tools all 1.35ubuntu1 [27.8 kB] default: Fetched 181 MB in 9min 7s (331 kB/s) default: Unable to correct missing packages. default: E: Failed to fetch https://mirror.wtnet.de/mariadb/repo/10.4/ubuntu/pool/main/g/galera-4/galera-4_26.4.4-bionic_amd64.deb Hash Sum mismatch default: Hashes of expected file: default: - SHA256:1a4b37d2b9c7b42723e9e9e3b6e8c679077af348fe60957a13b0765674a5b66f default: - SHA1:b8c55061d683f46a9b5c1bda235a617766324299 [weak] default: - MD5Sum:9b0339b6d8fd4649d2eed5dc3535e5c1 [weak] default: - Filesize:9443088 [weak] default: Hashes of received file: default: - SHA256:2dd5cb3ebf871aed697fa8a1baecbab9b5ebc615418a9f0b58840d5b34964fed default: - SHA1:5201499b5b220d478d6a1bf8039288cea4711dff [weak] default: - MD5Sum:eb443e1a1d1667e8c6fa5837cab76e06 [weak] default: - Filesize:9443088 [weak] default: Last modification reported: Mon, 11 May 2020 21:44:51 +0000 default: E: Failed to fetch https://mirror.wtnet.de/mariadb/repo/10.4/ubuntu/pool/main/m/mariadb-10.4/libmariadb3_10.4.13+maria~bionic_amd64.deb Hash Sum mismatch default: Hashes of expected file: default: - SHA256:737c8987458e395a173b42184aab45482c1d159b67f031f3361366870aaa1c2d default: - SHA1:f29fda2507ddadbd14940695b7429f1cd5975499 [weak] default: - MD5Sum:a01e2fe4541102ee23ef463cf66013e9 [weak] default: - Filesize:147704 [weak] default: Hashes of received file: default: - SHA256:76454aa2d3e0aef5f524bf9475857e4753c76133c6c57c0719fa0aca1eecdd25 default: - SHA1:63265fef06c4c4c6f3f1d7ec5a28c7d674aba147 [weak] default: - MD5Sum:e076dae0cf16a51b12758e4e3735b0ad [weak] default: - Filesize:147704 [weak] default: Last modification reported: Mon, 11 May 2020 21:43:13 +0000 default: E: Failed to fetch https://mirror.wtnet.de/mariadb/repo/10.4/ubuntu/pool/main/m/mariadb-10.4/mariadb-client-10.4_10.4.13+maria~bionic_amd64.deb Hash Sum mismatch default: Hashes of expected file: default: - SHA256:1eaff7f53a2be895429b1728b93b17e8702469ddc6befe7c153f4a854efc00c0 default: - SHA1:a9b3fe80a1b351ee813f6e44393b544682ea8113 [weak] default: - MD5Sum:cada9171966ffb0204ba2f5caf9a497b [weak] default: - Filesize:1173304 [weak] default: Hashes of received file: default: - SHA256:0ca75bc8059754cf35deaaf57d208e581c660909f371391224d7422633d6ddf7 default: - SHA1:23332d3da0f85cfccc52aff9fa131e52bdec5fc5 [weak] default: - MD5Sum:f81f83c94813de8d7c8c4128b5a66b9c [weak] default: - Filesize:1173304 [weak] default: Last modification reported: Mon, 11 May 2020 21:43:09 +0000 default: E: Failed to fetch https://mirror.wtnet.de/mariadb/repo/10.4/ubuntu/pool/main/m/mariadb-10.4/mariadb-server-core-10.4_10.4.13+maria~bionic_amd64.deb Hash Sum mismatch default: Hashes of expected file: default: - SHA256:69e88f7e65c18827c0ba5d7823d01d47c45f29e5e93b94512061e7da3d7e39a6 default: - SHA1:742915b1d2448284197fa10a2b60a4249d664984 [weak] default: - MD5Sum:cf725dd25e70c380f823f651cd251730 [weak] default: - Filesize:6310216 [weak] default: Hashes of received file: default: - SHA256:2fe9d21ec55df3123ddd39ac380871e3e38daeac8887fac91ace343602fbfc46 default: - SHA1:7032d6e0cb8cce84bbf24f3c2d684388ed6c98db [weak] default: - MD5Sum:6b007acb186a9941e737668a54854716 [weak] default: - Filesize:6310216 [weak] default: Last modification reported: Mon, 11 May 2020 21:43:01 +0000 default: E: Failed to fetch https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.20.1-1nodesource1_amd64.deb Hash Sum mismatch default: Hashes of expected file: default: * Installing apt-get packages returned a failure code, cleaning up apt caches then exiting default: default: - SHA256:233544192588e8a4c5c906acbcb890a80e5be4a4a837e1a8942c177bbab6b411 default: - SHA1:7ef4a54df581b330aba79befda918684b8e2e383 [weak] default: - MD5Sum:0ef09ec26ff3410d22e1ede80ab2ce36 [weak] default: - Filesize:16210060 [weak] default: Hashes of received file: default: - SHA256:0b38fc0b1076871cee3872e50af63466b0e179ce04ebf8c68e99d6a07beb275f default: - SHA1:e695845acabeb4bbce5b6f8a1f87dc84ee913cc4 [weak] default: - MD5Sum:04853e91833962e7b21382e5d3f5d678 [weak] default: - Filesize:16210060 [weak] default: Last modification reported: Mon, 13 Apr 2020 12:50:38 +0000 default: E: Aborting install. default: ! Main packages check and install failed, halting provision default: ------------------------------------------------------------------------------------ default: ! The 'main' provisioner ran into problems, check the full log for more details! It completed in 655 seconds. default: ------------------------------------------------------------------------------------ The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.
Sorry - here is the full log: provisioner-main.log
I tested now with develop and this problems is not happening to me, maybe in the meantime they fixed the repository issue.
Man I guess it is just me - I still can't get it working. Thanks for your help chaps, I'm going to have to try another option I think. provisioner-main.log
@redbarra are you using a VPN or on a restrictive ISP? Your problem basically boils down to this:
apt
goes to download a package, it knows in advance this package will hash to XYZapt
has downloaded the package, and checks that it's valid by hashing itEither the sources are misreporting something, which is extremely unlikely as other people have not had this issue, or, something is meddling with things, such as an ISP or security software.
Thank you for following up. In the end I got it working by destroying the vagrant box, reinstalling vagrant and starting again. This time it worked out. So I am up and running.
I just did a clean install of Vagrant 2.2.6, VirtualBox 6.1, and VVV v3.3.0-git::master on a Win10 x64 host which has never had any of this software on it before. On the initial vagrant up
as well as a subsequent vagrant halt
/vagrant up --provision
, I'm receiving hash mismatches for the nodejs
package, interrupting provisioning.
No VPN or restrictive ISP (Comcast Xfinity).
Destroying and switching to VVV v3.4.0-git::develop yielded the same result:
default: Processing triggers for php7.2-fpm (7.2.31-1+ubuntu18.04.1+deb.sury.org+1) ...
default: E
default: : Failed to fetch https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.21.0-1nodesource1_amd64.deb Hash Sum mismatch
default: Hashes of expected file:
default: - SHA256:3423d89ea1df2457e4fe52b04bfef542d999f004334814dd25170aa62966a04d
default: - SHA1:6c6198d7b2586103755f48fc7b5e998a22f59d28 [weak]
default: - MD5Sum:03107006ef817c69665f37ae5088d64d [weak]
default: - Filesize:16208070 [weak]
default: Hashes of received file:
default: - SHA256:6145d9f9483696c4530bfa65dee5aacf3a899358ed73c0329b82f752b4093013
default: - SHA1:5503b875fa1aaeaf9672bf4484c4ab346d72570c [weak]
default: - MD5Sum:dabffc9adb9dab91b79b209bbb4c9c4b [weak]
default: - Filesize:16208070 [weak]
default: Last modification reported: Tue, 02 Jun 2020 19:15:07 +0000
default: * Installing apt-get packages returned a failure code, cleaning up apt caches then exiting
default: ! Main packages check and install failed, halting provision
I'll try reinstalling Vagrant as worked for redbarra tomorrow.
Reinstalling vagrant itself should be unnecessary, but, if you're not using the latest version I'd recommend updating. Reinstalling vagrant is like buying a new PC when a WP plugin doesn't work, it's an extreme measure and unnecessary.
Right now there are a number of known issues that have been fixed on the develop
branch, and we're currently trying to fix a non-breaking blocker related to terminal output before a release of 3.4 can be made.
Hey Tom - thanks for the quick reply!
VVV v3.4.0-git::develop on Vagrant 2.2.9 came up without a hitch on a separate Win10 host running Hyper-V and Docker.
I can update my Vagrant installation and otherwise continue to fiddle with VVV on the original host if you would like me to try and explore this issue any further.
Switch to the develop
branch and reprovision, I'm only interested in the develop
branch at the moment. If you can reproduce on develop
then we have a bug, if you cannot then the bug has been fixed and this issue can be closed
I am using the develop branch and running into this exact same issue. I have 2 fresh Windows 10 systems I am trying to install this on.
default: E: Failed to fetch https://d28dx6y1hfq314.cloudfront.net/1358/1665/ubuntu/package_files/1503644.deb?t=1593542796_75f273f848f43d045a4aaf2e9d3d385dae1ee5a0 Hash Sum mismatch default: Hashes of expected file: default: - SHA512:a06efd98b40b94dcde15e618f6cbbbb75ae91a06f5eff29f8750ce2ccbadff47fe5d53f6428e36d5b3b06251e735ea71ee3724043965ea16ca9b2ff9b67644c2 default: - SHA256:04599677487e4b0251c98b232757ef539d4fcfa48d6ff5b1fcb9688083e31cc8 default: - SHA1:21b731498c071eed9e159cbb8268ec20f7315873 [weak] default: - MD5Sum:adebfd22cb983e639236a57b16de144c [weak] default: - Filesize:6876554 [weak] default: Hashes of received file: default: - SHA512:9679d7c7315ccbb0f12a1e4739c7300483240a38028d3855414f7c1f756440c71eb05a1e306ecfadf9fcb83a53056f4990396ab6c5a4cacce092e1fa016e3422 default: - SHA256:0813bbc0fa50e7fdc053173d871746e60105d820b5be0d5c1b63b932fd1adb97 default: - SHA1:06b11564f4357d3bc7a15775fd0a62ce9009fc94 [weak] default: - MD5Sum:de529cf5ed2b71f2e3f2a68c1b35b12c [weak] default: - Filesize:6876554 [weak] default: Last modification reported: Fri, 08 May 2020 17:15:40 +0000 default: E: Failed to fetch https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.21.0-1nodesource1_amd64.deb Hash Sum mismatch default: Hashes of expected file: default: - SHA256:3423d89ea1df2457e4fe52b04bfef542d999f004334814dd25170aa62966a04d default: - SHA1:6c6198d7b2586103755f48fc7b5e998a22f59d28 [weak] default: - MD5Sum:03107006ef817c69665f37ae5088d64d [weak] default: - Filesize:16208070 [weak] default: Hashes of received file: default: - SHA256:45b7f6ae1f019788dee5824060c9a96000dfd5b9531015ff2b5d92bd195e379f default: - SHA1:de025e0a9cd41058fff079d47bc45e0b1dec8fc4 [weak] default: - MD5Sum:6dca1745d9adc7116d45794332935538 [weak] default: - Filesize:16208070 [weak] default: Last modification reported: Tue, 02 Jun 2020 19:15:07 +0000 default: * Installing apt-get packages returned a failure code, cleaning up apt caches then exiting
@obsidiannonparity is that on the develop
branch? Usually people post their versions of OS/Vagrant/VBox/VVV but all that information is missing for you :(
The TLDR:
apt
problem
Unable to provision VVV due to problems downloading 3 packages - here is output:
I have tried several times on both the master and develop versions. Any ideas on what I need to do?