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

fix: refresh pacman-keys before downloading packages [buids should not fail anymore] #6

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

Renner0E
Copy link

@Renner0E Renner0E commented Jul 16, 2024

this should fix pacman-keyring issues when the maintainer updates their signing key and the key is not yet in the preinstalled in the pacman-keyring package on the image from the registry. But still tries to download a package signed with the new key.

Builds will take a little bit longer but they should not fail anymore.

Wanted to commit these changes months ago. So the relevant build logs don't exist anymore.
Right now the builds are fine but once a maintainer updates their keys to a package that is installed in this repo it will break again.


File /var/cache/pacman/pkg/tldr-3.3.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] error: tldr: signature from "Brett Cornwall <[email protected]>" is unknown trust error: wl-clipboard: signature from "Brett Cornwall <[email protected]>" is unknown trust error: failed to commit transaction (invalid or corrupted package)

:: File /var/cache/pacman/pkg/wl-clipboard-1:2.2.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

File /var/cache/pacman/pkg/tldr-3.3.0-1-any.pkg.tar.zst is corrupted
(invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] error: tldr: signature from "Brett Cornwall <[email protected]>" is unknown trust
error: wl-clipboard: signature from "Brett Cornwall <[email protected]>" is unknown trust
error: failed to commit transaction (invalid or corrupted package)

:: File /var/cache/pacman/pkg/wl-clipboard-1:2.2.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
@Renner0E Renner0E changed the title fix: populate pacman-keys to fix this error fix: refresh pacman-keys before downloading packages [buids should not fail anymore] Jul 16, 2024
@castrojo castrojo merged commit bcd2b77 into ublue-os:main Jul 16, 2024
3 checks passed
@Renner0E Renner0E deleted the fix-keys branch August 5, 2024 13:30
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 this pull request may close these issues.

2 participants