[57] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: help with SRPMS, e.g., libc-5.3.12.src.rpm

daemon@ATHENA.MIT.EDU (John Salmon)
Sun Oct 20 14:23:31 1996

To: redhat-list@redhat.com, ewt@redhat.com
From: John Salmon <johns@sockeye.fishnet.caltech.edu>
Date: 20 Oct 1996 11:21:05 -0700
In-Reply-To: Erik Troan's message of Sun, 20 Oct 1996 13:27:16 -0400 (EDT)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Erik Troan <ewt@redhat.com> writes:

> 
> On 19 Oct 1996, John Salmon wrote:
> 
> > Maybe I just don't understand how SRPMS are supposed to work.  I
> > wanted to take a look inside the libc source, so I ftp'ed
> > libc-5.3.12.src.rpm from a redhat mirror.  Everything looks fine,
> > including all the signatures, etc.  But when I try to install it, rpm
> > complains that there is no .spec file.  What am I missing??  I'm using
> > rpm 2.2.5, and redhat-4.0.
> 
> Does "rpm -K libc-5.3.12.src.rpm" work?
> 
> Erik
> 

First, to answer your question:

penguin.301% rpm -K libc-5.3.12-8.src.rpm 
libc-5.3.12-8.src.rpm: size pgp md5 OK

Second, some additional clues.  A colleague suggested that I have to
run as root because rpm -i wants to install stuff in a root-owned
directory.  Sure enough.  I was able to do rpm -i, but none of the -b
options work yet.  For example, starting with empty
/usr/src/redhat/SOURCES and SPECS directories:

[root@penguin SRPMS]# rpm -bp libc-5.3.12-8.src.rpm 
Unknown Field: \355\253\356\333

Build failed.
[root@penguin SRPMS]# rpm -i libc-5.3.12-8.src.rpm 
[root@penguin SRPMS]# rpm -bp libc-5.3.12-8.src.rpm 
Unknown Field: \355\253\356\333

Build failed.
[root@penguin SRPMS]# 

Any help appreciated,
John Salmon

P.S.  The escaped octal values above were actually in binary on stdout.
I escaped them manually for email.


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post