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

GPGME error: No data after 'yay -Syu' on port-restricted networks #2497

Open
tjavdar opened this issue Sep 8, 2024 · 0 comments
Open

GPGME error: No data after 'yay -Syu' on port-restricted networks #2497

tjavdar opened this issue Sep 8, 2024 · 0 comments

Comments

@tjavdar
Copy link

tjavdar commented Sep 8, 2024

Affected Version

yay v12.3.5 - libalpm v14.0.0 (Arch packages: yay-bin 12.3.5-1, pacman 6.1.0-3)

Describe the bug

When I try to update my archlinux system using yay -Syu on a port-restrictive network, I get a GPGME error: No data.

This error persiststs afterwards when updating on my non-restricted home network.

None of sudo pacman-key --refresh-keys or sudo pacman-key --init && sudo pacman-key --populate archlinux did help.

The problem is solved only by:

  `sudo rm -R /var/lib/pacman/sync`

Afterwards, issuing yay updates the system properly.

Reproduction Steps

  1. Be on a port restrictive network, e.g. public library, hospital, etc.
  2. Issue yay
  3. Get GPGME error: No data

Expected behavior

Is GpgMe used internally by yay communicates on some fancy ports?

In such case yay should first poll to see if these ports are available and not allow signatures corruption.

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

1 participant