[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?



Le lundi 21 décembre 2020 à 11:30:06 UTC+1, Gregor Zattler a écrit :

> thanks. The alternatives mechanism was OK all the time, atm it is: 
> $ update-alternatives --display pinentry 
> pinentry - auto mode 
> link best version is /usr/bin/pinentry-fltk 
> link currently points to /usr/bin/pinentry-fltk 
> link pinentry is /usr/bin/pinentry 
> slave pinentry.1.gz is /usr/share/man/man1/pinentry.1.gz 
> /usr/bin/pinentry-curses - priority 50 
> slave pinentry.1.gz: /usr/share/man/man1/pinentry-curses.1.gz 
> /usr/bin/pinentry-fltk - priority 70 
> slave pinentry.1.gz: /usr/share/man/man1/pinentry-fltk.gz 

Ordinarily,  on my system, only pinentry-gnome3 is installed as I use Gnome.
To have an idea of your situation, I just installed other versions of pinentry.

didier@hp-notebook14:~$ update-alternatives --display pinentry-x11
pinentry-x11 - mode automatique
  link best version is /usr/bin/pinentry-gnome3
 le lien pointe actuellement sur /usr/bin/pinentry-gnome3
  link pinentry-x11 is /usr/bin/pinentry-x11
  slave pinentry-x11.1.gz is /usr/share/man/man1/pinentry-x11.1.gz
/usr/bin/pinentry-fltk - priorité 70
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-fltk.gz
/usr/bin/pinentry-gnome3 - priorité 90
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-gnome3.1.gz
/usr/bin/pinentry-gtk-2 - priorité 85
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-gtk-2.1.gz
/usr/bin/pinentry-qt - priorité 80
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-qt.1.gz
/usr/bin/pinentry-qt4 - priorité 80
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-qt4.1.gz

I would say that your system is not aware of an alternative version of pinentry-x11 other than pinentry-fltk.
So unless the end-user program you are using is overwriting the default setting, it seems adequate to me that pinentry-fltk is used.

You probably need to create alternatives entries (normally, that is automatically made by installing a particular version of pinentry-*, but you can try an apt reinstall or a dpkg-reconfigure of the problematic package), and then to declare priorities between alternatives in order to favor the flavor (qt?) you prefer.


Reply to: