rpm -ivh should still work on a .src.rpm package.  It won't install the
binaries on your system the way it would with a regular rpm file, but it
shouldn't terminate with an error.

Where did the package come from, and how did you download it?  This
usually happens to me when I use Netscape to download packages from busy
sites (like rpmfind.net) and the file I get is an html page saying that
the server is too busy, but named with the title of the package file.

What's the output of 'file ipchains-1.3.9-17.src.rpm'?

Once you have a real copy of the .src.rpm file, you can do 'rpm
--rebuild <packagename>' and watch the output.  Shortly before it's done
you'll see one or more messages telling you that a binary rpm package is
being written to the filesystem, usually under
/usr/src/redhat/RPMS/<archname>/.  You can then issue an rpm -ivh
command pointed at that new package file to install the functionality on
your system.


Drew Hunt wrote:
> 
> You are using the *.src.rpm, or source RPM.  I think you have to build the
> binary *.rpm version before you can install.  'man rpm' should have more
> information about how to do this.
> 
> Drew
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tanner, Robby
> Sent: Thursday, January 25, 2001 10:52 AM
> To: 'Linux Group (Saskatoon)'; '[EMAIL PROTECTED]'; 'Linux (LOSURS
> Q&A)'
> Subject: Latest IPCHAINS
> 
> I want to upgrade to the lastest version (1.3.9-x) but am a little uncertain
> regarding which RPM I should use.  I am using RH6.0 with kernel 2.2.16-3.
> 
> I tried the ipchains-1.3.9-17.src.rpm but received "error:
> ipchains-1.3.9-17.src.rpm does not appear to be a RPM package" when I ran
> rpm -ivh on it.  I found a number of .i386 and .i586 rpms from the likes of
> trustix etc and can't decide which to use.
> 
> I found an RPM at one of the mirrors but it was under a RH6.2 subdirectory.
> Is it OK to use that one?  Why can't I install the SRPM?
> 
> Any advice greately appreciated.
> 
> -------------------------------------
> 
> Robby Tanner B.E., B.Sc.
> Project Engineer
> Wardrop Engineering, Inc.
> 203-2121 Airport Dr.
> Saskatoon, SK
> Canada
> S7L 6W5
> 
> Phone: (306) 244-4712
> Fax:     (306) 244-4754
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation

Unix is the worst operating system; except for all others.
                -- Berry Kercheval



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to