Re: [vserver] Problem with RHEL6 on Ubuntu 10.4

From: Vladislav Geller <vladislav.geller_at_gmail.com>
Date: Fri 11 Mar 2011 - 13:26:14 GMT
Message-ID: <AANLkTinuhMHJaDyUJyp4gmMYxYL3ApqNxiCc_nW9nXG6@mail.gmail.com>

Thank you everyone for your help.

It seems like a waste of time at the moment - trying to get this thing to
run since it would only be used to create a template - and i always
internalize package management. Thank you for your help yet again.

Regards,
Vladislav

On Fri, Mar 11, 2011 at 3:20 AM, Herbert Poetzl <herbert@13thfloor.at>wrote:

> On Fri, Mar 11, 2011 at 03:02:29AM +0100, Vladislav Geller wrote:
> > HI Jeff,
>
> > Thanks a lot! it did recompile a working version of yum
>
> > However ... coming back to the original problem - it has not solved it.
> > I'm still getting the issue with it not liking the libc.so.6
>
> > quote
>
> > ERROR with rpm_check_debug vs depsolve:
> > libc.so.6 is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686
>
> > Can this be because my OS is using apt therefore rpm database has no
> > knowledge of libc installed?
>
> sounds like you're happily mixing inside and outside the guest
> in your mind ...
>
> I presume the to be installed guest will use rpm and yum, so
> the newly created rpm database (inside the guest chroot) will
> soon contain the proper entries ...
>
> I also assume that apt has nothing to do with the guest install
> at all ...
>
> but note that debian is known for a broken rpm as well, and
> while a patched and working yum is a good start, you should
> make sure that ubuntu (which is based on debian to some extend)
> has a proper and working rpm as well ...
>
> if that still doesn't solve the issues, I'd really make sure
> that the repository is working with the arguments specified
> to yum (on install)
>
> HTH,
> Herbert
>
> PS: the simplest way to test if it is ubuntu related or not
> is to install centos/redhat (e.g. in kvm) and try the very
> same build line there ...
>
> > Regards,
> > V.
>
> > On Fri, Mar 11, 2011 at 2:37 AM, Jeff Jansen <jeff.jansen@kkoncepts.net
> >wrote:
>
> > > On Friday 11,March,2011 09:09 AM, Vladislav Geller wrote:
> > > > So I've just spent an hour trying to compile yum with rpmbuild under
> > > > Ubuntu with a lot of .spec trickery.
>
> > > > I didn't realize how hard it will be to build a tool that is not
> > > > really made to work with that system.
>
> > > I think you need to patch and compile the version of yum that comes
> with
> > > ubuntu using the "normal" debian tools, not create a new one using
> > > rpmbuild.
>
> > > Here's what I just did to rebuild yum-3.2.25 on Lucid. I *think* this
> > > is what you need to do. (You'll need a working build environment, of
> > > course as well as git to get the util-vservers sources.)
>
> > > apt-get source yum
> > > sudo apt-get build-dep yum
> > > git clone http://git.linux-vserver.org/git/util-vserver.git
> > > cd yum-3.2.25
> > > patch -p1 < ../util-vserver/contrib/yum-3.2.22-chroot.patch
> > > dpkg-buildpackage -b -uc -rfakeroot
>
> > > Now you've got a new "yum_3.2.25-1ubuntu2_all.deb" file one level up
> > > that you can install on your machine(s). Once that version of yum is
> > > installed, you should be able to create vservers using yum.
>
> > > HTH
>
> > > Jeff Jansen
>
> > --
> > Vladislav Geller
> >
> > Tel. 078 820 56 09
>

-- 
Vladislav Geller
Tel. 078 820 56 09
Received on Fri Mar 11 13:26:28 2011
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 11 Mar 2011 - 13:26:28 GMT by hypermail 2.1.8