Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Jeroen on July 14, 2001, 08:39:06 PM

Title: troubles installing RPM's
Post by: Jeroen on July 14, 2001, 08:39:06 PM
I tried to install the ip portfw module from the contributed modules area. It won't seem to install.
I typed the following command: rpm -Uhv ftp://ftp.e-smith.org/pub/e-smith/contrib/CharlieBrady/SRPMS/e-smith-ipportfw-0.1.1-1.src.rpm

What am I missing here?

thanks in advance!

Jeroen
Title: Re: troubles installing RPM's
Post by: Jeroen on July 14, 2001, 08:41:21 PM
Actually....it seems to install fine. When I check the installed rpm list it isn't in the list.
Title: Re: troubles installing RPM's
Post by: Dan Brown on July 14, 2001, 08:51:01 PM
The problem is that you're installing a source RPM.  You want the .noarch version.
Title: Re: troubles installing RPM's
Post by: Jeroen on July 14, 2001, 08:53:54 PM
Thanks for your reply Dan.
What's the difference between a noarch and a source rpm?
Title: Re: troubles installing RPM's
Post by: Dan Brown on July 14, 2001, 09:16:09 PM
http://www.rpmdp.org/rpmbook/node44.html
Title: Re: troubles installing RPM's
Post by: Jeroen on July 14, 2001, 10:18:48 PM
I can just install the spec file?
Title: Re: troubles installing RPM's
Post by: Dan Brown on July 14, 2001, 11:04:50 PM
No, you need the noarch RPM.  The source RPM contains all the sources along with the spec file.  The spec file tells RPM how to assemble the binary RPM.  In this case, there aren't really binaries, but the concept is the same.  You need the noarch rpm.

Or, you could build your own binary RPM from the source RPM, but that's a lot of hassle.
Title: Re: troubles installing RPM's
Post by: Jeroen on July 16, 2001, 11:48:44 AM
Ok...thanks Dan....you have been of great help! Thank you very much.


Jeroen