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

Update fails on unreliable connection #2526

Open
kelna opened this issue Oct 26, 2024 · 1 comment
Open

Update fails on unreliable connection #2526

kelna opened this issue Oct 26, 2024 · 1 comment

Comments

@kelna
Copy link

kelna commented Oct 26, 2024

Affected Version

yay v12.4.2 - libalpm v15.0.0

Describe the bug

When attempting to update on a slow and unreliable network (eg. on a train), the process often times out and fails with this error message: "Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds"

Reproduction Steps

  1. Get on train.
  2. Start upgrading the system.
  3. Watch as connection speed changes, and when network drops out, it fails.
  4. Repeat 2-3. endlessly.

Expected behavior

There should be a way of making yay more patient. It would be very nice to be able to set the timeout limit. Even nicer if yay would remember that it just failed and the next try would last longer.

Output

"Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds"

@jdholtz
Copy link
Contributor

jdholtz commented Oct 26, 2024

"Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds"

This output is actually from yay running pacman. Therefore, it applies to pacman too and may be worth it to make this issue at pacman’s repository. There’s not much yay can do in this scenario.

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

No branches or pull requests

2 participants