[tools] Problems

mogruith mogruith at free.fr
Fri Oct 10 12:48:55 CEST 2008


Dag Wieers a écrit :
> On Fri, 10 Oct 2008, mogruith wrote:
>
>> hem ... yes ..
>>
>> Is it bad ? :)
>
> Not really. I think it is good, but that will never work :)
>
> In essence you can use a single entitlement for different versions of 
> RHEL, but not for different architectures. You pay for the support for 
> a system, regardless of what version the system is running. But the 
> system is bound to a single architecture.
>
> Also, I would not advise to use a single entitlement for using more 
> than one RHEL version because it may have issues with the channel 
> subscriptions. Besides we're not in this game to rip off Red Hat.
>
> Whatever you are needing those updates for, there is at least one 
> system you're deploying it to. So you might as well pay for that 
> service like you ought to according to your RHN contract.
>
> If you do not agree with that, you can always move to CentOS.
Well. It's better if I remove i386 ... but is my repo finally up2date ?

[root at avil004 libexec]# mrepo -uvvv
Verbosity set to level 3
Using configfile /etc/mrepo.conf
Reading config file /etc/mrepo.conf
Setting option confdir in section [main] to: /etc/mrepo.conf.d
Setting option srcdir in section [main] to: /data/mrepo
Setting option wwwdir in section [main] to: /data/mrepo/www
Setting option mailto in section [main] to: XXX at XX.XX
Setting option smtp-server in section [main] to: localhost
Setting option arch in section [main] to: x86_64
Setting option shareiso in section [main] to: yes
Setting option hardlink in section [main] to: yes
Setting option rhnlogin in section [main] to: XXX:XXX
Setting option arch in section [5Server] to: x86_64
5Server-x86_64: No ISO files found !
5Server-x86_64: Updating Red Hat Enterprise Linux 5 Server (x86_64)
5Server-x86_64: Mirror packages from 
rhns:///rhel-x86_64-server-fastrack-5 to /data/mrepo/5Server-x86_64/fastrack
5Server-x86_64: Mirror packages from rhns:///rhel-x86_64-server-hts-5 to 
/data/mrepo/5Server-x86_64/hts
5Server-x86_64: Mirror packages from 
rhns:///rhn-tools-rhel-x86_64-server-5 to 
/data/mrepo/5Server-x86_64/rhn-tools
5Server-x86_64: Mirror packages from 
rhns:///rhel-x86_64-server-supplementary-5 to 
/data/mrepo/5Server-x86_64/supplementary
5Server-x86_64: Mirror packages from rhns:///rhel-x86_64-server-5 to 
/data/mrepo/5Server-x86_64/updates
5Server-x86_64: Mirror packages from rhns:///rhel-x86_64-server-vt-5 to 
/data/mrepo/5Server-x86_64/vt

then ,

[root ~]# vim /etc/yum.repos.d/mrepo.conf
/[base]
name=Red Hat Enterprise Linux $releasever - $basearch - base
baseurl=http://192.168.2.6/var/mrepo/rhel5es-x86_64-$basearch/RPMS.os
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[updates]
name=Red Hat Enterprise Linux $releasever - $basearch - updates
baseurl=http://192.168.2.6/var/mrepo/rhel5el-x86_64-$basearch/RPMS.updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

/[root ~]# vim /etc/yum/pluginconf.d/rhnplugin.conf
/[main]
enabled = 0
gpgcheck = 1

/[root ~]# yum update
Setting up Update Process
No Packages marked for Update  => strange ?? ...

thanks



More information about the tools mailing list