(address . bug-guix@gnu.org)
Dear GNU Guix developers,
I just tried to install guix on top of a fresh debian10 system, which
has been installed from debian-live-10.0.0-amd64-gnome.iso and updated.
The guix install script fails in function chk_gpg_keyring(), although
the key is present.
If I remove the discard redirection >/dev/null 2>&1 from the gpg
command, the following message occurs:
gpg: keyblock resource '/root/.gnupg/pubring.kbx': No such file or directory
gpg: Fatal: /root/.gnupg: directory does not exist!
Of course these files do not exist, as I imported the key to the user
account, not to the root account. Then I executed the script as user,
using sudo.
This procedure works fine on trisquel7 or 8, but it fails on debian10.
I wonder why ‘sudo gpg’ does not make a difference between being called
via sudo versus being called as root.
Do I use debian the wrong way?
best regards
Kai
--
Kai Mertens <kmx@posteo.net>
OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net
Key fingerprint = 7C83 0A80 01FF 679C 6E8E AFD3 40B1 5AB4 B05B 5BF1
What is that? Please check: https://emailselfdefense.fsf.org/en/
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfIMKgAH/Z5xujq/TQLFatLBbW/EFAl21XHsACgkQQLFatLBb
W/FefRAApEiOMID58UFXkMKpcOUiZdRpu69W2IbMb2/pXm3mJfJ/inmIqU/TVSyD
/Xt3/vuy0YjoVJhkf35FYG7WAAy9/Yvfw6LEHDHJXQ5na/Cn+0JNuL46BkBBUcjx
N59C+muL/n5Sz8SuIsrO1NY/ltNgBoYoQt1/yCa6m0xA1I0LHDQtKdtV6EAykia4
d3jDVB7G01UY4asm2rjXfelgypI/Yol8x0RciXXQzHZLKl25lqAob4IjG31sAQ1Z
R8AVufgerQEk/+k1ysDPxbknRFCqUVZ810JPx/lohKH401V8SPrz4yGyhSQhhk20
XZ+8CmnAYmejDbGpzgj2+bfC9jsrdsH40DfqIthcYbjSLlPU7H1cbDCLCvTCiDIq
a2utjUMymRDo+AYTIrSpDmx24NsJxLTm7PNqatwxqMjN50PPnkNerSSL2ltYvmes
/oUc5cg3/PnHQvFPi8YRb5NqPuI75Tot5XnZJDnjRO75203iPwUXUnW26k49hfyt
T8qYTGn2abkqBO9f6YStwpLejnNY1g4i0C3vqLdYj/StKsGaQlsj8sf+FlToA8kg
C4Pzxke0SG16lftJPF05cv+23B03CJciqIlAvMTphzDCTsac7nFr34cGIdKUvesB
DuwjDmSylNwQgnm2uwcGNduU+mb3UZvggtbX7zu7WisK9YgmHb0=
=hD7n
-----END PGP SIGNATURE-----