Hello friends, I'm hoping someone can help out a Laravel beginner here. I've got my Laravel App installed and configured, but when I run sail up, the script fails when it gets to RUN apt-get update. It keeps reporting File has unexpected size as it tries to download ubuntu files. The only thing I've been able to find online about this is that occasionally you may run into this error as a mirror updates, but this has been going on for a week now. Is there a way around this?
Turns out, my Mac had random screen time restrictions against ubuntu. With those restrictions turned off I was able to get passed this issue, only to run straight into another. Now, when I run sail up, I'm getting Hash Sum mismatch errors. What is strange is that it isn't always the same files.
#7 53.89 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mpdecimal/libmpdec2_2.4.2-3_amd64.deb Hash Sum mismatch
#7 53.89 Hashes of expected file:
#7 53.89 - SHA256:4e624c616de0fa1dea3571291b05b3d6fe5f75d8667b278f9503b1eca36ffbcf
#7 53.89 - SHA1:9fdbb019a3acae4e7975467e5c62522c99360f27 [weak]
#7 53.89 - MD5Sum:f476458937adb11f22614e2ec6a2b79b [weak]
#7 53.89 - Filesize:81132 [weak]
#7 53.89 Hashes of received file:
#7 53.89 - SHA256:1a4b7231ae2ca12b1cb49440303d861d10aa4e8cc012c0e18075932c1bdc5def
#7 53.89 - SHA1:492f78d07be068d2d6c08e034e0dad908becc318 [weak]
#7 53.89 - MD5Sum:97ed9c563afe26c570fd26a761685f1b [weak]
#7 53.89 - Filesize:81132 [weak]
#7 53.89 Last modification reported: Wed, 26 Feb 2020 08:58:26 +0000
#7 53.89 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/r/readline/readline-common_8.0-4_all.deb Bad header line Bad header data [IP: 91.189.88.142 80]
#7 53.89 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-1~20.04.1_amd64.deb Hash Sum mismatch
#7 53.89 Hashes of expected file:
#7 53.89 - SHA512:b8fcecd1df2759164345f6029c38e74b6e4cbc519c9ce9d8a1224f00c67f7fb96bc07962b7537080db4f8fec32f231f7338935e946e77df1f6ebf78c95aeec19
#7 53.89 - SHA256:c99d14ce605083af02df15a22c0edae667e34f16c9eff98b863d49832bb3dc53
#7 53.89 - SHA1:15240c976f1441be39b5ca46978708238b4862f2 [weak]
#7 53.89 - MD5Sum:4d17e5a7ab2517d919e4f69d827d36c7 [weak]
#7 53.89 - Filesize:1886764 [weak]
#7 53.89 Hashes of received file:
#7 53.89 - SHA512:ba0810a6bcd1145d1498957a431dd911b9741a95a9f34008f6a107993ab191ccee1320be24ffe958666832cd352534e8cd4cb8c7425b13f5b447c0191fca9910
#7 53.89 - SHA256:1d121d887b15cb8e51139674e9947f5a8491650fbc1b6c691b11ae67a2625c8b
#7 53.89 - SHA1:88db305a5511366b3257931a233b493a5fae124d [weak]
#7 53.89 - MD5Sum:1f53e4f3aeeb87aed602ed500b6a58be [weak]
#7 53.89 - Filesize:1886764 [weak]
#7 53.89 Last modification reported: Thu, 11 Mar 2021 20:18:47 +0000
I'm still stuck here. The internet seems to suggest it can be a local network issue, but I've tried at my house, I've tried at the office, and I've tried on my phone's hotspot.