I am trying to setup a signed apt repository. When I run reprepro, it is
failing with error

$ reprepro includedeb xenial /tmp/mod-pagespeed-stable_current_amd64.deb
Exporting indices...
gpgme gave error Pinentry:32849:  No such file or directory
ERROR: Could not finish exporting 'xenial'!

I tried enabling debug log by setting GPGME_DEBUG=9:/data/mygpgme.log

But I can't decipher which file is missing from the debug log

------------
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_run_io_cb: call:
item=0xe61e30, handler (0xe593d0, 8)
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: enter: fd=0x8,
buffer=0xe57420, count=1024
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
5b474e5550473a5d 2050524f47524553 [GNUPG:] PROGRES
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
53202d263132203f 203020300a5b474e S -&12 ? 0 0.[GN
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
5550473a5d204245 47494e5f5349474e UPG:] BEGIN_SIGN
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
494e472048380a5b 474e5550473a5d20 ING H8.[GNUPG:]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
50524f4752455353 202d263132203f20 PROGRESS -&12 ?
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check: 3135313620300a
                   1516 0.
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: leave: result=87
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: enter:
fds=0xe61e60, nfds=10, nonblock=0
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0xe61e60, select on [ r0x8 r0xe ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0xe61e60, select OK [ r0x8 ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: leave: result=1
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_run_io_cb: call:
item=0xe61e30, need to check
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: enter:
fds=0x7ffe918a8f10, nfds=1, nonblock=1
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0x7ffe918a8f10, select on [ r0x8 ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0x7ffe918a8f10, select OK [ r0x8 ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: leave: result=1
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_run_io_cb: call:
item=0xe61e30, handler (0xe593d0, 8)
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: enter: fd=0x8,
buffer=0xe57420, count=1024
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
5b474e5550473a5d 2050494e454e5452 [GNUPG:] PINENTR
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
595f4c41554e4348 454420393436310a Y_LAUNCHED 9461.
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
5b474e5550473a5d 204641494c555245 [GNUPG:] FAILURE
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: check:
207369676e203833 3931383932390a    sign 83918929.
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: leave: result=63
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: enter:
fds=0xe61e60, nfds=10, nonblock=0
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0xe61e60, select on [ r0x8 r0xe ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0xe61e60, select OK [ r0x8 r0xe ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: leave: result=2
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_run_io_cb: call:
item=0xe61e30, need to check
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: enter:
fds=0x7ffe918a8f10, nfds=1, nonblock=1
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0x7ffe918a8f10, select on [ r0x8 ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: check:
fds=0x7ffe918a8f10, select OK [ r0x8 ]
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_select: leave: result=1
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_run_io_cb: call:
item=0xe61e30, handler (0xe593d0, 8)
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: enter: fd=0x8,
buffer=0xe57420, count=1024
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_io_read: leave: result=0
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_cancel_with_err: enter:
ctx=0xe3f890, ctx_err=83918929, op_err=0
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: enter: fd=0xb
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: check: fd=0xb,
invoking close handler 0x7f4418b35800/0xe593d0
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: leave: result=0
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: enter: fd=0x8
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: check: fd=0x8,
invoking close handler 0x7f4418b35800/0xe593d0
GPGME 2017-02-18 12:36:07 <0x24e7>        _gpgme_remove_io_cb: call:
data=0xe61e10, setting fd 0x8 (item=0xe61e30) done
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: leave: result=0
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: enter: fd=0xe
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: check: fd=0xe,
invoking close handler 0x7f4418b35800/0xe593d0
GPGME 2017-02-18 12:36:07 <0x24e7>        _gpgme_remove_io_cb: call:
data=0xe61fb0, setting fd 0xe (item=0xe61fd0) done
GPGME 2017-02-18 12:36:07 <0x24e7>      _gpgme_io_close: leave: result=0
GPGME 2017-02-18 12:36:07 <0x24e7>      gpgme:gpg_io_event: call:
gpg=0xe593d0, event 0x7f4418b26960, type 1, type_data 0x7ffe918a8f20
GPGME 2017-02-18 12:36:07 <0x24e7>    _gpgme_cancel_with_err: leave
GPGME 2017-02-18 12:36:07 <0x24e7>  gpgme_op_sign:476: error: No such file
or directory <Pinentry>
GPGME 2017-02-18 12:36:07 <0x24e7>  gpgme_data_release: call: dh=0xe5f4d0
GPGME 2017-02-18 12:36:07 <0x24e7>  gpgme_release: call: ctx=0xe3f890
---------------------

Full log - http://pastebin.com/9i6AA9QQ

Can someone please tell me why the above command is failing? The command is
being run inside a docker container.

Thanks & Regards,
Joyce Babu
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to