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

Arch linux needs extra options in gpg profile #2242

Closed
glitsj16 opened this issue Nov 5, 2018 · 0 comments · Fixed by #2243
Closed

Arch linux needs extra options in gpg profile #2242

glitsj16 opened this issue Nov 5, 2018 · 0 comments · Fixed by #2243

Comments

@glitsj16
Copy link
Collaborator

glitsj16 commented Nov 5, 2018

Hi, seeing two issues with the current gpg profile from git master. The first is that gpg never exits cleanly in CLI. This seems to be caused by shell none. The second issue only shows on Arch, which has a package called archlinux-keyring, vital for pacman's functioning.

$ sudo pacman -S archlinux-keyring
warning: archlinux-keyring-20181018-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20181018-1

Total Download Size: 0,60 MiB
Total Installed Size: 0,84 MiB
Net Upgrade Size: 0,00 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
archlinux-keyring-20181018... 615,8 KiB 1400K/s 00:00 [###############################] 100%
(1/1) checking keys in keyring [###############################] 100%
(1/1) checking package integrity [###############################] 100%
(1/1) loading package files [###############################] 100%
(1/1) checking for file conflicts [###############################] 100%
:: Processing package changes...
(1/1) reinstalling archlinux-keyring [###############################] 100%
==> Appending keys from archlinux.gpg...
gpg: error writing keyring '/etc/pacman.d/gnupg/pubring.gpg': Read-only file system
gpg: can't connect to the agent: IPC connect call failed
gpg: error reading '/usr/share/pacman/keyrings/archlinux.gpg': Read-only file system
gpg: import from '/usr/share/pacman/keyrings/archlinux.gpg' failed: Read-only file system
==> Locally signing trusted keys in keyring...
...
==> Importing owner trust values...
gpg: Note: trustdb not writable
==> Disabling revoked keys in keyring...
...
==> Updating trust database...
gpg: Note: trustdb not writable

These issues are easily fixed, but it might be nice to add a note to the profile for Arch users, as adding read-write /etc/pacman.d/gnupg + read-write /usr/share/pacman/keyrings makes dealing with archlinux-keyring extremely slow.

Regards.

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.

1 participant