[xen-tools] Re: installing centos5
Steve Kemp
steve at steve.org.uk
Tue Aug 7 21:00:46 CEST 2007
On Tue Aug 07, 2007 at 20:52:18 +0200, Anton Melser wrote:
> > rinse --distribution=centos-5 --arch=amd64 --directory=/tmp/f
> >
> > Use --arch=i386, or --arch=amd64 as appropriate.
>
> Aha! This seems to indeed be the gotcha. Here is the output (shouldn't
> need to be gzipped this time :-))
:)
> root at rux:~# rinse --distribution=centos-5 --arch=i386 --directory=/tmp/f
> [: 32: ==: unexpected operator
> BUGFIX
That seems to be a strange error. What is your /bin/sh pointing to?
The code in question reads:
arch=i386
if [ $ARCH == "amd64" ] ; then
arch=x86_64;
fi
I *think* that is portable shell - providing $ARCH is set..
> root at rux:~# chroot /tmp/f
> bash-3.1# rpm -qa
At this point I think that the previous failure means that
/etc/yum.conf is not valid (inside the chroot).
If if it is valid you can run:
yum install yum
If that gives errors then we'll know something is broken.
> However, at least the rinse part works flawlessly with centos-4.
:)
> There is at least one bug (unless I'm missing somethin' big), and that is:
> root at rux:~# ls /tmp/fusr/lib/python2.4/site-packages/urlgrabber.skx/keepalive.py
> keepalive.py keepalive.pyc keepalive.pyo
> I don't know if this is the issue..., these seem to be getting put
> where they shouldn't.
That one is a manual thing. There was an issue with urlgrabber not
honouring keepalives, so I removed it. :)
> I might try another repo or a bit of a debug.
Either might be good.
> ps, updated (?) rinse to the 0.6.tar.gz
:)
Steve
--
# Kink-Friendly Dating
http://ctrl-alt-date.com/
More information about the xen-tools-discuss
mailing list