My GPG is throwing errors. Any idea what's going on? "SQL library used incorrectly" Shall I open a bug report against gpg? $ gpg --import contact%40zerotier.com.gpg gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: keydb_get_keyblock failed: Value not found gpg: error writing keyring '[keyboxd]': SQL library used incorrectly gpg: error reading 'contact%40zerotier.com.gpg': SQL library used incorrectly gpg: import from 'contact%40zerotier.com.gpg' failed: SQL library used incorrectly gpg: Total number processed: 0 Thanks!
W dniu 25.07.2024 o 10:59, lst7cqtfws--- via openSUSE Users pisze:
My GPG is throwing errors. Any idea what's going on? "SQL library used incorrectly"
Shall I open a bug report against gpg?
$ gpg --import contact%40zerotier.com.gpg gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: keydb_get_keyblock failed: Value not found gpg: error writing keyring '[keyboxd]': SQL library used incorrectly gpg: error reading 'contact%40zerotier.com.gpg': SQL library used incorrectly gpg: import from 'contact%40zerotier.com.gpg' failed: SQL library used incorrectly gpg: Total number processed: 0
Thanks!
This looks like related: https://www.reddit.com/r/debian/comments/cdgrik/gpg_e_hangs_checking_the_tru... 1) Check if there is a process with PID 3126 holding the lock. 2) If not, check if there is a stale lock file.
No such process. I followed your idea but, since this is a new system, just deleted ~/.gnupg . Everything works fine now! Thanks!! On Thu, Jul 25, 2024 at 10:25 AM Adam Mizerski via openSUSE Users <users@lists.opensuse.org> wrote:
W dniu 25.07.2024 o 10:59, lst7cqtfws--- via openSUSE Users pisze:
My GPG is throwing errors. Any idea what's going on? "SQL library used incorrectly"
Shall I open a bug report against gpg?
$ gpg --import contact%40zerotier.com.gpg gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: keydb_get_keyblock failed: Value not found gpg: error writing keyring '[keyboxd]': SQL library used incorrectly gpg: error reading 'contact%40zerotier.com.gpg': SQL library used incorrectly gpg: import from 'contact%40zerotier.com.gpg' failed: SQL library used incorrectly gpg: Total number processed: 0
Thanks!
This looks like related: https://www.reddit.com/r/debian/comments/cdgrik/gpg_e_hangs_checking_the_tru...
1) Check if there is a process with PID 3126 holding the lock. 2) If not, check if there is a stale lock file.
On Thu, 25 Jul 2024 09:59:58 +0100 lst7cqtfws--- via openSUSE Users wrote:
My GPG is throwing errors. Any idea what's going on? "SQL library used incorrectly"
Shall I open a bug report against gpg?
$ gpg --import contact%40zerotier.com.gpg gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: keydb_get_keyblock failed: Value not found gpg: error writing keyring '[keyboxd]': SQL library used incorrectly gpg: error reading 'contact%40zerotier.com.gpg': SQL library used incorrectly gpg: import from 'contact%40zerotier.com.gpg' failed: SQL library used incorrectly gpg: Total number processed: 0
Thanks!
PID 3126 belongs to what running program? (Or did the running program crash and the lock is simply stale?) First identify the program which is blocking access to the database: ps ax | grep 3126
No such process. I followed Adam Mizerski's idea but, since this is a new system, just deleted ~/.gnupg . Everything works fine now! On Thu, Jul 25, 2024 at 10:34 AM Carl Hartung <opensuse@cehartung.com> wrote:
On Thu, 25 Jul 2024 09:59:58 +0100 lst7cqtfws--- via openSUSE Users wrote:
My GPG is throwing errors. Any idea what's going on? "SQL library used incorrectly"
Shall I open a bug report against gpg?
$ gpg --import contact%40zerotier.com.gpg gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: Note: database_open 134217901 waiting for lock (held by 3126) ... gpg: keydb_get_keyblock failed: Value not found gpg: error writing keyring '[keyboxd]': SQL library used incorrectly gpg: error reading 'contact%40zerotier.com.gpg': SQL library used incorrectly gpg: import from 'contact%40zerotier.com.gpg' failed: SQL library used incorrectly gpg: Total number processed: 0
Thanks!
PID 3126 belongs to what running program? (Or did the running program crash and the lock is simply stale?) First identify the program which is blocking access to the database:
ps ax | grep 3126
participants (3)
-
Adam Mizerski
-
Carl Hartung
-
lst7cqtfws@ol1y.com