Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have recently installed FC3 in an USB harddisk. However I cannot find .gnupg in my root directory. Here is my error message:
[root@localhost ~]# gpg
gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005998.localhost.localdomain.4402': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005ca8.localhost.localdomain.4402': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
gpg: Go ahead and type your message ...
I have already installed the gnupg-1.2.6-1.i386.rpm.
[root@localhost ~]# rpm -qa | grep gnupg
gnupg-1.2.6-1
Why is wrong wif my installation? Please advise me!
Thank you very much for your reply. I did as what you have told. But I have the following error message. I dun know why. Please help again!
# gpg --gen-key
gpg (GnuPG) 1.2.6; Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005998.localhost.localdomain.3485': No such file or directory
gpg: keyblock resource `/root/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/root/.gnupg/.#lk0xf7005ca8.localhost.localdomain.3485': No such file or directory
gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error
Please select what kind of key you want:
(1) DSA and ElGamal (default)
(2) DSA (sign only)
(4) RSA (sign only)
Your selection? 1
DSA keypair will have 1024 bits.
About to generate a new ELG-E keypair.
minimum keysize is 768 bits
default keysize is 1024 bits
highest suggested keysize is 2048 bits
What keysize do you want? (1024)
Requested keysize is 1024 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct (y/n)? y
You need a User-ID to identify your key; the software constructs the user id
from Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"
Real name: root
Name must be at least 5 characters long
Real name: XXXXX
Email address: XXXXX
Comment: Fedora 3
You selected this USER-ID:
"XXXXX (Fedora 3) <XXXX.com>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? 0
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
++++++++++.+++++.++++++++++..++++++++++.++++++++++++++++++++++++++++++++++++++++.+++++.++++++++++.++ +++++++++++++++++++++++++++++++++++++++++++>+++++................................................... ..................................................................+++++
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
+++++.+++++++++++++++.++++++++++++++++++++++++++++++++++++++++.+++++.+++++++++++++++.+++++++++++++++ .+++++..++++++++++++++++++++.++++++++++>+++++>.+++++....................................<+++++.>++++ +...............................................<+++++.........................+++++^^^
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: can't create `/root/.gnupg/random_seed': No such file or directory
I got the same error, when I tried as root user. When I tried as a non-root user, it worked fine and got the key generated! At least that solved my problem, as anyway I am not going to send emails as a root user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.