[CentOS] rpmforge i386 and x86_64?

2008-11-12 Thread Marcelo M. Garcia

Hi

Is it possible to have rpmforge for both architectures? Currently is 
only for 64bit, but I need some libraries 32bit (rrdtool) to install 
ganglia.


But if I try to install rpmforge i386, I got the message:
[EMAIL PROTECTED] mgarcia]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Preparing...### 
[100%]
file /etc/smart/channels/rpmforge.channel from install of 
rpmforge-release-0.3.6-1.el5.rf conflicts with file from package 
rpmforge-release-0.3.6-1.el5.rf
file /etc/sysconfig/rhn/sources.rpmforge.txt from install of 
rpmforge-release-0.3.6-1.el5.rf conflicts with file from package 
rpmforge-release-0.3.6-1.el5.rf

[EMAIL PROTECTED] mgarcia]#


Thanks

Marcelo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpmforge i386 and x86_64? Solved

2008-11-12 Thread Marcelo M. Garcia

Mogens Kjaer wrote:

Marcelo M. Garcia wrote:

Hi

Is it possible to have rpmforge for both architectures? Currently is
only for 64bit, but I need some libraries 32bit (rrdtool) to install
ganglia.


A problem is that the /etc/yum.repos.d/mirrors-rpmforge file has
$ARCH in it, which would still be x86_64 even if installed from
i386.

Couldn't you try to make a copy of /etc/yum.repos.d/rpmforge.repo
into, say, rpmforge32.repo, and change it into:

[rpmforge32]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/i386/dag
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

and see if it works? Maybe you can pick another mirror,
but remember to replace $ARCH with i386.

Note: This is not tested, but I've done this with Livna
on a Fedora x86_64 machine without breaking anything.

Mogens


Hi

Thank you very much.

This solved the problem.

Thanks

Marcelo

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpmforge i386 and x86_64?

2008-11-12 Thread Mogens Kjaer
Marcelo M. Garcia wrote:
 Hi
 
 Is it possible to have rpmforge for both architectures? Currently is
 only for 64bit, but I need some libraries 32bit (rrdtool) to install
 ganglia.

A problem is that the /etc/yum.repos.d/mirrors-rpmforge file has
$ARCH in it, which would still be x86_64 even if installed from
i386.

Couldn't you try to make a copy of /etc/yum.repos.d/rpmforge.repo
into, say, rpmforge32.repo, and change it into:

[rpmforge32]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/i386/dag
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

and see if it works? Maybe you can pick another mirror,
but remember to replace $ARCH with i386.

Note: This is not tested, but I've done this with Livna
on a Fedora x86_64 machine without breaking anything.

Mogens
-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos