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

[enhancement] better handle bad downloaded source #673

Open
mattia-b89 opened this issue Nov 1, 2022 · 1 comment
Open

[enhancement] better handle bad downloaded source #673

mattia-b89 opened this issue Nov 1, 2022 · 1 comment

Comments

@mattia-b89
Copy link
Contributor

Pikaur v1.13.2
Pacman v6.0.1 - libalpm v13.0.1 - pyalpm v0.10.6
Description:

Sometimes, downloaded source files are corrupted, thus ckecksum validation fails as well.
When this happens, pikaur, before failing, prompts you a bunch of options:

[R] retry build
[p] PGP check skip
[c] checksums skip
...
[d] delete build dir and try again

This issue can be easily fixed by removing indicated sources. Unfortunately none of the above-mentioned options are able to do it, neither last option since build dir does not contain sources.

Now, I do not know if this is a wanted behaviour or a bug seeing as I have customized SRCDEST variable in /etc/makepkg.conf file.

Anyway, I think it would be a good addition since bad-downloads are quite ordinary issues.

@actionless
Copy link
Owner

so, it's more of a question if [d] delete build dir and try again should also remove srcs from SRCDEST variable in /etc/makepkg.conf file

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