Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Maximum file size exceeded" error when downloading linux-surface-6.5.5-1-aarch64.pkg.tar.zst #12

Open
mctest389 opened this issue Oct 20, 2023 · 2 comments

Comments

@mctest389
Copy link

mctest389 commented Oct 20, 2023

Hello! I tried running the script, but unfortunately it fails to download the required files from the surface-linux mirror.

:: Retrieving packages...
 linux-surface-6.5.5-1-aarch64.pkg.tar.zst failed to download
 Total (1/6)                               102.8 MiB   140 MiB/s 00:01 [#######################################] 100%
error: failed retrieving file 'linux-surface-6.5.5-1-aarch64.pkg.tar.zst' from pkg.surfacelinux.com : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
failed to install linux-surface linux-surface-headers, trying again in 10 seconds

The error occurs with and without docker.

@qzed
Copy link
Member

qzed commented Dec 9, 2023

Does it fail there and not re-try? We've had this issue in #5 and I ended up writing a re-try loop to try and avoid it. So now it should re-try for a total of 5 times with some increasing timeout in-between.

Unfortunately I have no idea how to properly fix it, since the actual files are hosted on GitHub (as releases) and our repo just redirects to those.

@mctest389
Copy link
Author

It did re-try automatically, but it always failed consistently. I eventually managed to make it work by downloading the packages with wget and installing them manually using pacman -U.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants