On Thu, Mar 10, 2011 at 11:09:15PM +0100, Vladislav Geller wrote: > Hello Everyone, > I'm trying to install RHEL6 on my Ubuntu 10.4 box. > I've followed the manual for building a RHEL5 on a host box and it > looks like its finally got to the point where it's trying to build > with yum. However i get the following output. > vladislav@vladislav-desktop /var/lib/vservers/.pkg/redhat > % sudo vserver redhat2 build -m yum \ > --hostname sometthingsomething \ > --interface eth0:10.0.20.30/26 -- -d rhel6 > You are using a version of yum which is insecure and broken in chroot > related operations; either apply the patches shipped in the 'contrib/' > directory of util-vserver, or ask the author of yum to apply them > (preferred). well, seems like you are using a version of yum which is insecure and broken in chroot related operations .... > In the meantime, 'vyum' will continue with dirty hacks which might not > work when the vserver is running and local DOS attacks are possible. > Execution will continue in 5 seconds... > Repository 'base' is missing name in configuration, using id > ============================================================================================================================================= > Package Arch Version > Repository Size > ============================================================================================================================================= > Installing: > glibc i686 > 2.12-1.7.el6 base 4.3 M > glibc x86_64 > 2.12-1.7.el6 base 3.7 M > Installing for dependencies: > basesystem noarch > 10.0-4.el6 base 4.6 k > bash x86_64 > 4.1.2-3.el6 base 907 k > filesystem x86_64 > 2.4.30-2.1.el6 base 1.0 M > glibc-common x86_64 > 2.12-1.7.el6 base 14 M > libgcc x86_64 > 4.4.4-13.el6 base 92 k > ncurses-base x86_64 > 5.7-3.20090208.el6 base 61 k > ncurses-libs x86_64 > 5.7-3.20090208.el6 base 246 k > nss-softokn-freebl i686 > 3.12.7-1.1.el6 base 109 k > nss-softokn-freebl x86_64 > 3.12.7-1.1.el6 base 115 k > setup noarch > 2.8.14-10.el6 base 148 k > tzdata noarch > 2010l-1.el6 base 440 k > > Transaction Summary > ============================================================================================================================================= > Install 13 Package(s) > Upgrade 0 Package(s) > Total download size: 25 M > ERROR with rpm_check_debug vs depsolve: > libc.so.6 is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libc.so.6(GLIBC_2.7) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libdl.so.2 is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.12.7-1.1.el6.i686 > libfreebl3.so()(64bit) is needed by glibc-2.12-1.7.el6.x86_64 > libfreebl3.so(NSSRAWHASH_3.12.3)(64bit) is needed by > glibc-2.12-1.7.el6.x86_64 this looks like yum cannot satisfy the dependancies from the given repository, which might be related to the fact that this yum is not prepared to work inside a chroot ... > (1, [u'Please report this error in http://yum.baseurl.org/report']) > Any help or suggestion are welcome. I'd try with a patched yum and I'd also make sure that the repository is consistant ... > PS this is a test envirment. The actual vserver envirment for > production machines is running under debian. shouldn't matter as long as the tools are working properly best, Herbert > Regards, > Vladislav