smokey@darkstar:~% 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: WARNING: using insecure memory!
gpg: please see
http://www.gnupg.org/faq.html for more information
gpg: failed to create temporary file `/home/smokey/.gnupg/.#lk0x80e8fb8.darkstar.18846': No such file or directory
gpg: keyblock resource `/home/smokey/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/home/smokey/.gnupg/.#lk0x80e8fb8.darkstar.18846': No such file or directory
gpg: keyblock resource `/home/smokey/.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?
how can i fix these errors??