[tools] up2date on FC7
Drew Myers
drew.myers at innerwireless.com
Tue Jun 26 18:02:04 CEST 2007
Thanks again Johan.
For anyone following along at home, this is not going well. I installed
up2date (with a requirement of rhnlib from redhat and pyopenssl from
fedora).
I then noticed that rhnlib was installed against python2.3, rather than
the python2.5 distributed with fc7. I created a link
/usr/lib/python2.3/site-packages/rhn
/usr/lib/python2.5/site-packages/rhn, and tried again.
I now get the following error:
4ES-x86_64: Updating Red Hat Advanced Server 4 U8 (x86_64)
4ES-x86_64: Mirror packages from rhns:///rhel-x86_64-es-4-extras to
/var/mrepo/4ES-x86_64/extras
rhnget: SafeTransport instance has no attribute '_use_datetime'
mrepo: Mirroring failed for rhns:///rhel-x86_64-es-4-extras with
message:
Failed with return code: 256
Any ideas?
> -----Original Message-----
> From: Johan Booysen [mailto:johan at matrix-data.co.uk]
> Sent: Tuesday, June 26, 2007 8:50 AM
> To: Drew Myers; tools at lists.rpmforge.net
> Subject: RE: [tools] up2date on FC7
>
> Ah, sorry - I think I completely misread your email...
>
> However, mrepo's documentation states: "For RHN support to work, you
> need to install the up2date package that comes with your RHEL
> distribution. It may not work with another up2date package (eg.
> Fedora
> Core)."
>
> So there's that.
>
> But, it also states that you can user "several types of protocols or
> URL
> identifiers", such as:
>
> http://
> https://
> Rsync://
> Sftp://
> etc.
> etc.
>
> Maybe using http:// or https:// instead of rhns:// will work.
> Otherwise
> I guess try to install up2date and see how it goes...
>
> Johan
>
> -----Original Message-----
> From: tools-bounces at lists.rpmforge.net
> [mailto:tools-bounces at lists.rpmforge.net] On Behalf Of Drew Myers
> Sent: 26 June 2007 14:19
> To: tools at lists.rpmforge.net
> Subject: RE: [tools] up2date on FC7
>
>
> Thanks Johan.
>
> I think the problem is because mrepo expects to find up2date installed
> on the same machine it (mrepo) runs from. Because I'm using FC7 to run
> mrepo which lacks up2date, mrepo fails when trying to download RPMs
> from
> RedHat.
>
> So the question is, can I install up2date on FC7, or should I go the
> route of nrh-up2date? How well does it integrate with mrepo, if at
> all?
>
> > -----Original Message-----
> > From: Johan Booysen [mailto:johan at matrix-data.co.uk]
> > Sent: Tuesday, June 26, 2007 8:14 AM
> > To: Drew Myers; tools at lists.rpmforge.net
> > Subject: RE: [tools] up2date on FC7
> >
> > Hi,
> >
> > I'm no expert on mrepo, but have set it up primarily to test
> updating
> > RHEL3 servers (for now). It seems to me that mrepo sets up 'n yum-
> > type repository, from which clients then update (even clients using
> > up2date).
> >
> > So I would think that you could set up mrepo, and then add its yum
> > repository to your FC7 boxes, and that it should work just fine.
> >
> > Mrepo tells me: 'Add
> > "baseurl=http://server/mrepo/rhel3es-i386/RPMS.repo" to
> > /etc/yum.conf'.
> > I of course had to make changes to my test client's
> > /etc/sysconfig/rhn/sources file, so the above must apply to clients
> > that have yum installed.
> >
> > Johan
> >
> > -----Original Message-----
> > From: tools-bounces at lists.rpmforge.net
> > [mailto:tools-bounces at lists.rpmforge.net] On Behalf Of Drew Myers
> > Sent: 26 June 2007 13:58
> > To: tools at lists.rpmforge.net
> > Subject: [tools] up2date on FC7
> >
> >
> > I'm running a few RHEL systems (with up to date subscriptions
> > purchased from RedHat), as well as several Fedora Core 7 machines. I
> > have my firewall locked down to only allow outbound http|https
> access
> > from one
> > FC7 machine. Is it possible to install up2date on FC7, so I can use
> > mrepo to download updates from redhat?
> >
> > When I try to run it now, I get errors like this:
> >
> > 4ES-x86_64: Mirror packages from rhns:///rhel-x86_64-es-4-extras to
> > /var/mrepo/4ES-x86_64/extras Traceback (most recent call last):
> > File "/usr/bin/rhnget", line 24, in <module>
> > die(1,'up2date is not installed. Aborting execution')
> > NameError: name 'die' is not defined
> > mrepo: Mirroring failed for rhns:///rhel-x86_64-es-4-extras with
> > message:
> > Failed with return code: 256
> > 4ES-x86_64: Mirror packages from rhns:///rhel-x86_64-es-4 to
> > /var/mrepo/4ES-x86_64/updates Traceback (most recent call last):
> > File "/usr/bin/rhnget", line 24, in <module>
> > die(1,'up2date is not installed. Aborting execution')
> > NameError: name 'die' is not defined
> > mrepo: Mirroring failed for rhns:///rhel-x86_64-es-4 with message:
> > Failed with return code: 256
> >
> > Thanks,
> >
> > Drew
> > _______________________________________________
> > tools mailing list
> > tools at lists.rpmforge.net
> > http://lists.rpmforge.net/mailman/listinfo/tools
> _______________________________________________
> tools mailing list
> tools at lists.rpmforge.net
> http://lists.rpmforge.net/mailman/listinfo/tools
More information about the tools
mailing list