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

Aptly support for resume downloads like wget #1289

Open
sgtcoder opened this issue May 10, 2024 · 2 comments · May be fixed by #1296
Open

Aptly support for resume downloads like wget #1289

sgtcoder opened this issue May 10, 2024 · 2 comments · May be fixed by #1296

Comments

@sgtcoder
Copy link

aptly mirror update Max Retries should support resume download like wget has. This would allow a download from Spotify to complete successfully
image

Detailed Description

Spotify repo can only be downloaded with multiple retries with resume support. It would be nice for aptly to support resume support.

Context

We can then download repos like Spotify where the connection keeps terminating

Others can then download updates to Spotify and other apps

Possible Implementation

Depending on what you use to download the deb files, it would be nice to enable resume support like wget has by default.

Your Environment

OS: Debian 12
Kernel: 6.6.28-x64v3-xanmod2
aptly version: 1.5.0+ds1-1+b4

@neolynx neolynx linked a pull request Jun 1, 2024 that will close this issue
6 tasks
@neolynx
Copy link
Member

neolynx commented Jun 4, 2024

what downloader did you use ? there is the default and grab. The latter is supposed to continue download in a wget -c fashion.

could you try to configure the downloader to grab in either the config or in as argument in the mirror update command ?

@sgtcoder
Copy link
Author

sgtcoder commented Jun 4, 2024

I used whatever the default was. Spotify likes to disconnect every couple seconds so it needs to reconnect and resume.

I am using this command

aptly mirror update -keyring trustedkeys.gpg ${repo_name}

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

Successfully merging a pull request may close this issue.

3 participants
@neolynx @sgtcoder and others