OpenSuse 11.4 / KDE & TB: OpenPGP-gnuPG as a preliminary to get Enigmail running not installable

Hello dear community,

i got stuck with a serious problem which cannot be solved. I have checked and asked for help on various places but the discussion got on halt over there. Guess that this is a topic that cannot be solved easily:

so here we go: on OpenSuse 11.4 (32 Bit ver) with KDE and Thunderbird plus Enigmail i have serious problems in activating and configuriing enigmail

When Thunderbird is started i choose OpenPGP - to get Enigmail configured - and to import the keys.

Then i get an error-message:

your GnuPG-Version 2.0.18 cannot start the GPG-Agent-application

well - i tried allmost everything: I have tried to install pinentry - (/guess with success ) but i do not get rid of the

error-Message: your GnuPG-Version 2.0.18 cannot start the GPG-Agent-application

Note i ve downloaded the pinentry qt4 from here: pinentry-qt4-0.8.0-8.1.i586.rpm - openSUSE 11.4 - Download

i needing gpg-connect-agent installed, and a friend of mine suggested to try
to do some simple signing or decryption from the command line to discover whats missing. I also noticed:

Well strange thing is: I have not ilinux-nvrv:/home/martin # gpgconf --check-programs


gpg:GPG for OpenPGP:/usr/bin/gpg2:1:1:
gpgconf: Fehler bei Ausführung von `/usr/bin/gpg-agent': wahrscheinlich nicht installiert
gpg-agent:GPG Agent:/usr/bin/gpg-agent:0:0:::relocation error%3a gpg-agent%3a symbol __assuan_socket%2c version LIBASSUAN_1.0 not defined in file libassuan.so.0 with link time reference:
gpgconf: Fehler bei Ausführung von `/usr/bin/scdaemon': wahrscheinlich nicht installiert
scdaemon:Smartcard Daemon:/usr/bin/scdaemon:0:0:::relocation error%3a scdaemon%3a symbol __assuan_socket%2c version LIBASSUAN_1.0 not defined in file libassuan.so.0 with link time reference:
gpgsm:GPG for S/MIME:/usr/bin/gpgsm:1:1:::Die "Keybox" `/root/.gnupg/pubring.kbx' wurde erstellt:
:::::::Importiere allgemeine Zertifikate%3a /usr/share/gnupg/com-certs.pem:
:::::::gesamte verarbeitete Anzahl%3a 15:
:::::::importiert%3a 15:
dirmngr:Directory Manager:/usr/bin/dirmngr:1:1:
installed the 

well what can i do now!?

On 2011-09-17 15:56, dilbertone wrote:
> Well strange thing is: I have not ilinux-nvrv:/home/martin # gpgconf
> --check-programs

Please repeat as: “LANG=en_US.UTF-8 gpgconf --check-programs”


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Most likely you have non-compatible packages installed. I tried to reach someone who’s running the config you’re looking for, but his answering machine says he’s away for holidays. One thing I know is, that he’s done it with openSUSE packages for his version only.

hello Carlos hello Knurpht . great to hear from you both!!

many many thanks for the quick reply!


linux-nvrv:/home/martin # LANG=en_US.UTF-8 gpgconf --check-programs
gpg:GPG for OpenPGP:/usr/bin/gpg2:1:1:
gpgconf: error running `/usr/bin/gpg-agent': probably not installed
gpg-agent:GPG Agent:/usr/bin/gpg-agent:0:0:::relocation error%3a gpg-agent%3a symbol __assuan_socket%2c version LIBASSUAN_1.0 not defined in file libassuan.so.0 with link time reference:
gpgconf: error running `/usr/bin/scdaemon': probably not installed
scdaemon:Smartcard Daemon:/usr/bin/scdaemon:0:0:::relocation error%3a scdaemon%3a symbol __assuan_socket%2c version LIBASSUAN_1.0 not defined in file libassuan.so.0 with link time reference:
gpgsm:GPG for S/MIME:/usr/bin/gpgsm:1:1:
dirmngr:Directory Manager:/usr/bin/dirmngr:1:1:
linux-nvrv:/home/martin #

strange thing! i guess that there is something wrong here… Well i donno what i can do now!?

BTW I would love to get Thunderbird with enigmail in a one click installation version… :wink:

When I check my gpg version, I see:


% gpg --version
gpg (GnuPG) 2.0.16
libgcrypt 1.4.6
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

So I am wondering how you installed gpg, since you appear to have a different version.

On 2011-09-17 16:26, dilbertone wrote:
>
> hello Carlos hello Knurpht . great to hear from you both!!
>
>
> many many thanks for the quick reply!

Welcome.

Try: “LANG=en_US.UTF-8 rpm -q gpg2 libassuan0” and then
“LANG=en_US.UTF-8 rpm -qv gpg2 libassuan0”


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

hello Carlos

many thanks for the reply! Well i guess that we are very very near to the solution… I tried the code:

linux-nvrv:/home/martin # LANG=en_US.UTF-8 rpm -q gpg2 libassuan0
gpg2-2.0.18-43.2.i586
libassuan0-2.0.1-4.1.i586
linux-nvrv:/home/martin # LANG=en_US.UTF-8 rpm -qv gpg2 libassuan0
gpg2-2.0.18-43.2.i586
libassuan0-2.0.1-4.1.i586
linux-nvrv:/home/martin # 


What does the result say … !? Love to get some hints - do i have the wrong installation -the wrong package or** are there some interactions between Tunderbird <-> Enigmail <-> and other packages.!?**

I am curious to get more insights into this problem - i am workin on for more than 6 days now…

greetings dilbertone

Are you running Tumbeweed?

I seem to recall reports of a bad gpg update for Tumbleweed, that caused problems such as XFCE not starting.

Here are a couple of the related threads:
xfce session crashes immediately after login
Can’t login to KDE on X64 tumbleweed

You might check those threads for possible solutions.

On 2011-09-17 17:56, dilbertone wrote:
>
> hello Carlos
>
> many thanks for the reply! Well i guess that we are very very near to
> the solution… I tried the code:
>
>
> PHP code:
> --------------------
> linux-nvrv:/home/martin # LANG=en_US.UTF-8 rpm -q gpg2 libassuan0
> gpg2-2.0.18-43.2.i586
> libassuan0-2.0.1-4.1.i586
> linux-nvrv:/home/martin # LANG=en_US.UTF-8 rpm -qv gpg2 libassuan0
> gpg2-2.0.18-43.2.i586
> libassuan0-2.0.1-4.1.i586
> linux-nvrv:/home/martin #
>
>
> --------------------

It verifies correctly, but you have the wrong versions. You should have:

gpg2-2.0.16-7.1. <===
libassuan0-2.0.1-4.1.

That’s what 11.4 has. Somehow, you have another version installed that is
not right, or needs another version of libraries.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hello Carlos good evening!

many thanks for the posting. Well - how to correct all the mess here.

Well i need to clean up this system - get rid of the mess/and the wrong package. But how. Should i run some specail-commands on the command line - in order to deinstall the mess.

And get the right package!? Love to hear from you

greetings dilbertone

UPDATE - i runned the following code

linux-nvrv:/home/martin # zypper in gpg2-2.0.16-7.1.libassuan0-2.0.1-4.1.
Metadaten von Repository ‘Base:System’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘Base:System’ wird erzeugt [fertig]
Metadaten von Repository ‘X11:Utilities’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘X11:Utilities’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - Datenbank’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - Datenbank’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - devel:languages:perl’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - devel:languages:perl’ wird erzeugt [fertig]
Metadaten von Repository ‘openSUSE BuildService - devel:languages:python’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘openSUSE BuildService - devel:languages:python’ wird erzeugt [fertig]
Metadaten von Repository ‘packman’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘packman’ wird erzeugt [fertig]
Metadaten von Repository ‘Packman Repository’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘Packman Repository’ wird erzeugt [fertig]
Metadaten von Repository ‘wine’ werden abgerufen [fertig]
Zwischenspeicher für Repository ‘wine’ wird erzeugt [fertig]
Daten des Repositorys laden …
Installierte Pakete lesen …
‘gpg2-2.0.16-7.1.libassuan0-2.0.1-4.1.’ wurde in den Paketnamen nicht gefunden. Fähigkeiten werden durchsucht.
Keine Anbieter von ‘gpg2-2.0.16-7.1.libassuan0-2.0.1-4.1.’ gefunden.
Paketabhängigkeiten auflösen …

**result - see the last lines: **‘gpg2-2.0.16-7.1.libassuan0-2.0.1-4.1.’ wurde in den Paketnamen nicht gefunden. Fähigkeiten werden

the needed libraries were not found - so what… .i have no glue !!

hello - i am back

in order to find the right package i googled it: and found this one here

gpg2-2.0.16-7.1.i586.rpm - openSUSE 11.4 - Download

gpg2-2.0.16-7.1. <===
libassuan0-2.0.1-4.1.

I downloadet the source and then a automated installation via yast started. So far so good.

After the installation which was told to be good and complete i runned the following code in the command line:
LANG=en_US.UTF-8 gpgconf --check-programs
linux-nvrv:/home/martin # LANG=en_US.UTF-8 gpgconf --check-programs
gpg:GPG for OpenPGP:/usr/bin/gpg2:1:1:
gpgconf: error running /usr/bin/gpg-agent': probably not installed gpg-agent:GPG Agent:/usr/bin/gpg-agent:0:0:::relocation error%3a gpg-agent%3a symbol __assuan_socket%2c version LIBASSUAN_1.0 not defined in file libassuan.so.0 with link time reference: gpgconf: error running /usr/bin/scdaemon’: probably not installed
scdaemon:Smartcard Daemon:/usr/bin/scdaemon:0:0:::relocation error%3a scdaemon%3a symbol __assuan_socket%2c version LIBASSUAN_1.0 not defined in file libassuan.so.0 with link time reference:
gpgsm:GPG for S/MIME:/usr/bin/gpgsm:1:1:
dirmngr:Directory Manager:/usr/bin/dirmngr:1:1:
linux-nvrv:/home/martin #

  • again no success!?

what can i do - it seems to be messed up
or did i get it wrong!?

**UPDATE: **the friend from Spain told me that i have the wrong version…

and i guess i know why i do have this: I downloaded lots of code - code for the gnuPG - and sometimes i noticed that it was FACTORY… And now i think that this can cause some trouble - **The FACTORY-Version does not fit in the 11.4 - does it!? **

see above** - what charles - the friend from Spain found out: **

> PHP code:
> --------------------
> linux-nvrv:/home/martin # LANG=en_US.UTF-8 rpm -q gpg2 libassuan0
> gpg2-2.0.18-43.2.i586
> libassuan0-2.0.1-4.1.i586
> linux-nvrv:/home/martin # LANG=en_US.UTF-8 rpm -qv gpg2 libassuan0
> gpg2-2.0.18-43.2.i586
> libassuan0-2.0.1-4.1.i586
> linux-nvrv:/home/martin #
>
>
> --------------------

It verifies correctly, but you have the wrong versions. You should have:

gpg2-2.0.16-7.1. <===
libassuan0-2.0.1-4.1.

That’s what 11.4 has. Somehow, you have another version installed that is
not right, or needs another version of libraries.

what do you think about this thing… How to correct it!?

hello dear community -

in order to find out what i have done on my system i runned the following code:

zypper lr -d

| Alias | Name | Aktiviert | Aktualisieren | Priorität | Typ | URI | Dienst

—±------------------------------------------±-----------------------------------------------±----------±--------------±----------±-------±----------------------------------------------------------------------------------±------
1 | Aktualisierungen-für-openSUSE-11.4-11.4-0 | Aktualisierungen für openSUSE 11.4 11.4-0 | Ja | Ja | 99 | rpm-md | Index of /update/11.4 |
2 | Base:System | Base:System | Ja | Ja | 99 | rpm-md | Index of /repositories/Base:/System/openSUSE_Factory |
3 | LibreOffice_ | LibreOffice | Ja | Ja | 99 | rpm-md | Index of /repositories/LibreOffice:/Stable/openSUSE_Factory |
4 | LibreOffice_für_OpenSuse | LibreOffice für OpenSuse | Ja | Ja | 99 | rpm-md | Index of /repositories/LibreOffice:/Stable/openSUSE_11.4. |
5 | X11:Utilities | X11:Utilities | Ja | Ja | 99 | rpm-md | Index of /repositories/X11:/Utilities/openSUSE_11.4 |
6 | download.opensuse.org-database | openSUSE BuildService - Datenbank | Ja | Ja | 99 | rpm-md | Index of /repositories/server:/database/openSUSE_11.4 |
7 | download.opensuse.org-perl | openSUSE BuildService - devel:languages:perl | Ja | Ja | 99 | rpm-md | Index of /repositories/devel:/languages:/perl/openSUSE_11.4 |
8 | download.opensuse.org-php | openSUSE BuildService - PHP | Ja | Ja | 99 | rpm-md | Index of /repositories/server:/php/openSUSE_11.4 |
9 | download.opensuse.org-python | openSUSE BuildService - devel:languages:python | Ja | Ja | 99 | rpm-md | Index of /repositories/devel:/languages:/python/openSUSE_11.4 |
10 | mozilla | mozilla | Ja | Ja | 99 | rpm-md | Index of /repositories/mozilla/SUSE_Factory |
11 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0 | Ja | Ja | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-HL-DT-STDVD-RAM_GH22NP20,/dev/sr0 |
12 | packman | packman | Ja | Ja | 99 | rpm-md | Index of /pub/mirrors/packman/suse/11.4/ |
13 | packman.inode.at-suse | Packman Repository | Ja | Ja | 99 | rpm-md | Index of /suse/openSUSE_11.4/ |
14 | repo-debug | openSUSE-11.4-Debug | Ja | Ja | 99 | yast2 | Index of /debug/distribution/11.4/repo/oss |
15 | repo-debug-update | openSUSE-11.4-Update-Debug | Ja | Ja | 99 | rpm-md | Index of /debug/update/11.4 |
16 | repo-non-oss | openSUSE-11.4-Non-Oss | Ja | Ja | 99 | yast2 | Index of /distribution/11.4/repo/non-oss |
17 | repo-oss | openSUSE-11.4-Oss | Ja | Ja | 99 | yast2 | Index of /distribution/11.4/repo/oss |
18 | repo-source | openSUSE-11.4-Source | Ja | Ja | 99 | yast2 | Index of /source/distribution/11.4/repo/oss |
19 | tbird_mozilla | tbird_mozilla | Ja | Ja | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.4 |
20 | wine | wine | Ja | Ja | 99 | rpm-md | Index of /repositories/Emulators:/Wine/openSUSE_11.4 |
linux-nvrv:/home/martin # ^C
linux-nvrv:/home/martin #

what do you think !? How to proceed - what to do now. I guess that the system is messed up :slight_smile:

Any and all help will greatly be appreciated !

greetings dilbertone

On 2011-09-17 20:26, dilbertone wrote:
>
> hello - i am back
>
> in order to find the right package i googled it: and found this one
> here
>
> ‘gpg2-2.0.16-7.1.i586.rpm - openSUSE 11.4 - Download’
> (http://tinyurl.com/3p23czs)

Why on earth google? It is part of the distro, just use YaST, plain YAST,
it is in the main repo.

I doubt you have installed the proper package.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

hello Carlos
thx for replying - sure thing i have not (!!!) the proper package. I have installed the wrong one.

and now i try to have look at the main repo.

where to find it!? i dunno


cheers dilbert-one

On 2011-09-17 23:06, dilbertone wrote:

> where to find it!? i dunno

Yast, qt software management, search, enter name of package, then select
appropiate version in the version tab.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-09-17 23:43, Carlos E. R. wrote:
> On 2011-09-17 23:06, dilbertone wrote:
>
>> where to find it!? i dunno
>
> Yast, qt software management, search, enter name of package, then select
> appropiate version in the version tab.
>
URL: http://susepaste.org/94159038


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

hello carlos manny many thanks i will try this out later the day. I come back and report all my findings.

again thanks

dilbertone

hello Carlos - now i have the following results - on a fresh installed machine:


linux-ps95:/home/martin # LANG=en_US.UTF-8 rpm -q gpg2 libassuan0
gpg2-2.0.16-7.1.i586
libassuan0-2.0.1-4.1.i586
linux-ps95:/home/martin # ^C
linux-ps95:/home/martin #

well - i also have installed enigmail

Keine auszuführenden Aktionen.
linux-ps95:/home/martin # zypper in enigmail
Daten des Repositorys laden ...
Installierte Pakete lesen ...
Paketabhängigkeiten auflösen ...

Das folgende NEUE Paket wird installiert:
  enigmail 

1 neues Paket zu installieren.
Gesamtgröße des Downloads: 714,0 KiB. Nach der Operation werden zusätzlich 3,8 MiB belegt.
Fortfahren? [j/n/?] (j): j
Paket enigmail-1.1.2+3.1.14-0.15.1.i586 wird abgerufen (1/1), 714,0 KiB (3,8 MiB entpackt)
Abruf: enigmail-1.1.2+3.1.14-0.15.1.i586.rpm [fertig (635,3 KiB/s)]
Installation von: enigmail-1.1.2+3.1.14-0.15.1 [fertig]

but the system says - when trying to configure enigmail opnpgp] that i have not the GPG-Agent application -

Die für Ihre GnuPG-Version 2.0.16 notwendige GPG-Agent-Anwendung konnte nicht gestartet werden.
Der OpenPGP-Assistent konnte die GnuPG-Anwendung nicht finden. Bitte geben Sie manuell den Pfad im folgenden Dialog an.
Wenn Sie GnuPG noch nicht installiert haben, sollten Sie dieses von The GNU Privacy Guard - GnuPG.org herunterladen und installieren

well what can i do now ? What is missing now!?

do i need to have pinentry-qt4 (oder pinentry-gtk2)

love to hear from you - - the best place would be the thread!

greeetings dilbertone

On 2011-10-01 08:36, dilbertone wrote:
>
> hello Carlos - now i have the following results - on a fresh installed
> machine:
>
>
>
> PHP code:
> --------------------
>
> linux-ps95:/home/martin # LANG=en_US.UTF-8 rpm -q gpg2 libassuan0
> gpg2-2.0.16-7.1.i586
> libassuan0-2.0.1-4.1.i586
> linux-ps95:/home/martin # ^C
> linux-ps95:/home/martin #
> --------------------

Ok.

>
>
> well - i also have installed enigmail
>
>
>
> PHP code:
> --------------------
> Keine auszuführenden Aktionen.
> linux-ps95:/home/martin # zypper in enigmail
> Daten des Repositorys laden …
> Installierte Pakete lesen …
> Paketabhängigkeiten auflösen …
>
> Das folgende NEUE Paket wird installiert:
> enigmail
>
> 1 neues Paket zu installieren.
> Gesamtgröße des Downloads: 714,0 KiB. Nach der Operation werden zusätzlich 3,8 MiB belegt.
> Fortfahren? [j/n/?] (j): j
> Paket enigmail-1.1.2+3.1.14-0.15.1.i586 wird abgerufen (1/1), 714,0 KiB (3,8 MiB entpackt)
> Abruf: enigmail-1.1.2+3.1.14-0.15.1.i586.rpm [fertig (635,3 KiB/s)]
> Installation von: enigmail-1.1.2+3.1.14-0.15.1 [fertig]
>
> --------------------

I thought that by now you should know that you have to precede all commands
with 'LANG=en_US.UTF-8 ’ to get the output in English. I can’t read German.

> but the system says - when trying to configure enigmail opnpgp] that
> i have not the GPG-Agent application -

How exactly do you try to configure enigmail? From inside Thunderbird? With
a command on the CLI? Either case, describe or print the command and the
result (using code tags). And in English, please. You know how.

>> Die für Ihre GnuPG-Version 2.0.16 notwendige GPG-Agent-Anwendung
>> konnte nicht gestartet werden.
>> Der OpenPGP-Assistent konnte die GnuPG-Anwendung nicht finden. Bitte
>> geben Sie manuell den Pfad im folgenden Dialog an.
>> Wenn Sie GnuPG noch nicht installiert haben, sollten Sie dieses von
>> ‘The GNU Privacy Guard - GnuPG.org’ (http://www.gnupg.org) herunterladen
>> und installieren

English, please…

The agent has to be run by the desktop.

In gnome it is the menu entry “Encryption and keyrings”, when you tell it
to remember the passphrases. There is another gnome app, named “passwords
and encryption keys” (seahorse) where you can see and create keys.

I KDE I don’t remember. There is “Kleopatra” that does some testings - in
my case it fails with the last one, the agent. Not that strange as I’m
using gnome. Then, click “continue” and it should show the available keys.
In options it pops up a dialog. Choose on the left “GnuPG system”. Then
there is a tab entry for “GPG Agent”. That’s as far as I can go.

(Kleopatra shows as a red minicon in the applet bar)

You need help from a KDE user that tells you how to start the agent in KDE.
With KDE3 I might know, with KDE4 not. I would have to start a new user to
find out.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hello dear Carlos, :wink:

first of all: many many thanks for the reply. I am very glad to hear from you!!

These words i get while trying to configure OpenPG within the Thunderbird

BTW i run Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7

>> Der OpenPGP-Assistent konnte die GnuPG-Anwendung nicht finden. Bitte
>> geben Sie manuell den Pfad im folgenden Dialog an.
>> Wenn Sie GnuPG noch nicht installiert haben, sollten Sie dieses von
>> ‘The GNU Privacy Guard - GnuPG.org’ (The GNU Privacy Guard - GnuPG.org) herunterladen
>> und installieren

That is:

For your GnuPG-Version 2.0.16 we cannot start the GPG-Agent-Application The OpenPGP-Assisten could not find the GnuPG-Application.
Please add the path in the following dialouge manually If you have not installed GnuPG yet. then you should do that by using the site The GNU Privacy Guard - GnuPG.org’ (The GNU Privacy Guard - GnuPG.org).

Well - what bout this package: do i need these things too:

pinentry-qt4 - Collection of Simple PIN or Passphrase Entry Dialogs.

pinentry-qt4-0.8.0-8.1.x86_64.rpm - openSUSE 11.4 - Download

This is a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol as described by the Aegypten project.Authors: Robert Bihlmeyer <robbe@orcus.priv.at> Werner Koch, g10 Code GmbH <wk@gnupg.org> Steffen Hansen, Klarälvdalens Datakonsult AB <steffen@klaralvdalens-datakonsult.se> Marcus Brinkmann, g10 Code GmbH <marcus@g10code.com>.

Well - how can i test the installation of the pinentry-qt4 - Collection of Simple PIN or Passphrase Entry Dialogs. _ can i test the installation with the terminal!?

love to hear from you