Re: rpmforge repo for centos5

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



On 5/8/07, MrKiwi <mrkiwi@xxxxxxxxx> wrote:
Ralph Angenendt wrote:
> MrKiwi wrote:
>> <snip>
>> rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm
>> wget
>> http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
>> rpm -Uhv $rpmforge_version
>
> Uhm.
>
> Why not
>
> rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
>
> directly?
>
> Ralph
>
>
Good question - i said the same when i saw it on a site and
tried to consolidate wget + rpm into a one line command.

The problem (from memory) is that rpm -Uvh blah.rpm does not
handle redirections nicely (is that a return code of 302?
from memory) however wget is a champ at that sort of thing.

I went to http://dag.wieers.com/rpm/FAQ.php#B, copied the line for my
release and executed it.  Worked perfectly.  For CentOS 5.0 on x86_64,
that's:

rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

--
Mark Hull-Richter
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA  92656
949-680-3082 - Office     949-330-7691 - fax
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux