[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: --import and spec files



On Thu, Aug 21, 2003 at 07:56:42PM -0500, Darren Young wrote:
> 
> I'm trying to import an ascii copy of my key that I sign RPM's with into 
> RPM with the --import switch. The process I'm going through is:
> 
> [youngd@devweb01 ~]$ gpg --export --armor youngd > youngd.asc
> 
> Then I:
> 
> [root@devweb01 ~]# rpmsign --import /home/youngd/youngd.asc
> 
> And it just sits. and sits. and sits.
> 
> Finally as root I kill the process. Now, I tried this earlier and was 
> getting a different message, something to the effect of "file read failed" 
> but now it's doing this. Oh, and ctrl-c in the rpmsign window doesn't do 
> anything. Thoughts?
> 

Try
    rm -f /var/lib/rpm/__db*

Also, verify that the key was successfully imported. Import first and
installing will verify that the key was imported, otherwise
    rpm -qvv a-pkg-signed-with-key
or even
    rpm -qa -vv
and look for OK.

> Another one, is the format/definitions for spec files documented anywhere? 
> I've looked over the rpm.org website for it to no avail. I have an old RPM 
> book circa 1997 (black with red letters) however it seems not much in 
> there is valid anymore, other than "name".
> 

Where have you been? ;-)

Spec files have same format as always, there are now 2 books documenting
the format, and a gazllion examples.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []