Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8670 - pinentry

Attached to Project: Arch Linux
Opened by Dylan Ferris (dylan) - Saturday, 17 November 2007, 01:37 GMT
Last edited by Hugo Doria (hdoria) - Saturday, 21 March 2009, 02:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
pinentry package is dependant on gtk package, which is not listed in the dependencies

Additional info:

Steps to reproduce:
(gtk is not installed)
pacman -S gnupg2
gpg2 --gen-key

This error occurs during the gpg process since gtk package was not installed:
pinentry: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory
gpg-agent[15427]: can't connect server: ec=4.16383
gpg-agent[15427]: can't connect to the PIN entry module: End of file
gpg-agent[15427]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: Key generation canceled.

Solution:
the problem is solved by running: pacman -S gtk
gtk should be installed as a dependency of pinentry
This task depends upon

Closed by  Hugo Doria (hdoria)
Saturday, 21 March 2009, 02:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed on pinentry-0.7.5-5
Comment by A. K. (Misery) - Sunday, 06 April 2008, 21:55 GMT
/usr/bin/pinentry is just a soft-link. You only need to link to another pinentry (like gtk2).

$ rm /usr/bin/pinentry
$ ln -s /usr/bin/pinentry-gtk-2 /usr/bin/pinentry

------------------------
$ ls -1 /usr/bin/pinentry*
/usr/bin/pinentry-curses
/usr/bin/pinentry-gtk
/usr/bin/pinentry-gtk-2
/usr/bin/pinentry-qt
Comment by A. K. (Misery) - Sunday, 06 April 2008, 23:51 GMT
by the way... I think gtk could be disabled in PKGBUILD. Does anyone still use that old gtk? If yes, he should recompile it with gtk-support.
Comment by Glenn Matthys (RedShift) - Friday, 12 December 2008, 18:54 GMT
What's the status of this issue?

Loading...