[tools] mrepo and rhns
LEVEAU Stanislas
stanislas.leveau at ac-caen.fr
Fri May 9 18:34:24 CEST 2008
Thanks for your answer
I Copy the contents from rhel4_system:/usr/share/rhn to
rhel5_system:/usr/share/mrepo/rhn
and after :
sed -i s,/usr/share/rhn/,/usr/share/mrepo/rhn/,g /usr/bin/rhnget
Now i have this error
#mrepo -ugvvv
4AS-i386: Mirror packages from rhns:///rhel-i386-as-4 to
/var/ftp/pub/mrepo/4AS-i386/updates
No rhnuuid config option found in /etc/sysconfig/rhn/up2date-uuid.
rhnget: 1
mrepo: Mirroring failed for rhns:///rhel-i386-as-4 with message:
Failed with return code: 256
It's normal if i have an error for the rhnuuid because i don't use
up2date with rhel5
Did you have I idea?
Thanks
Dag Wieers a écrit :
> On Fri, 25 Apr 2008, LEVEAU Stanislas wrote:
>
>> I create a repository For redhat AS4.0, AS3.0 and AS5.0
>> My server where mrepo is installed under a Redhat AS5.0
>>
>> mrepo configuration : mrepo.conf for redhat AS4.0 for example. It's
>> the same problem for AS3.0 et 5Server
>>
>>
>> [4AS]
>> name = Red Hat Enterprise Linux AS $release Update 5 ($arch)
>> release = 4
>> arch = i386
>> metadata = repomd yum repoview
>> iso = RHEL$release-U5-$arch-AS-disc?.iso
>> updates = rhns:///rhel-$arch-as-$release
>> rpmforge =
>> rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el$release/en/$arch/RPMS.dag/
>>
>>
>> Everything works well except for the part: updates = rhns: / / /
>> rhel-arch-$-as-release
>>
>>
>> I register my server on redhat network :
>>
>> #gensystemid --release=4AS --arch=i386 /var/ftp/pub/mrepo/4AS-i386/
>>
>> But when I start to recover mrepo updates i've got an error for this
>> line : rhns :///....:
>>
>> # mrepo -ugvvv
>>
>> 4AS-i386: Mirror packages from rhns: / / / rhel-i386-as-4 to /
>> var/ftp/pub/mrepo/4AS-i386/updates
>> Rhnget:* No module named repoBackends *
>> Mrepo: Mirroring failed for rhns: / / / rhel-i386-as-4 with message:
>> Failed with return code: 256
>>
>> an idea??
>>
>> Is it necessary have a proxy server satelllite our redhat?
>
> You need to install the up2date code from RHEL4 onto RHEL5 to make
> this work. It is documented in the mrepo documentation.
>
> You also need the latest version from subversion.
>
--
*LEVEAU Stanislas**
*Rectorat de Caen
SIAC
168, rue Caponière
B.P. 6184
14061 CAEN Cedex
/
Service Informatique de l'académie de Caen
Département Systèmes & Réseaux/
Tel : 02.31.30.17.86
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpmforge.net/pipermail/tools/attachments/20080509/99024862/attachment.html
More information about the tools
mailing list