[Users] Debian libc update requres newer kernel ( was no subject)

Kir Kolyshkin kir at openvz.org
Sat May 7 15:20:24 EDT 2011


On 05/07/2011 12:12 AM, Hristo Benev wrote:
>
> Will that work...?
>
> I do not know what functionality is required from kernel and is it backported to RHEL kernel.
>
> Maybe I should just bite the bullet and try?!

It should work, we have forward-ported all the features required by 
newer distros.

More to say, latest vzctl (since 3.0.25) sets this on a per-CT basis, 
using the table from
/etc/vz/osrelease.conf. If you run vzctl-3.0.25 or later, just add the 
following line to this
file:

debian-6.0    2.6.32

I will fix it in vzctl-3.0.26.3 soon.

> Thanks
>
> P.S. Putting Subject
>
>
>   >-------- Оригинално писмо --------
>   >От:  tim Doyle
>   >Относно: Re: [Users] (no subject)
>   >До: users at openvz.org
>   >Изпратено на: Петък, 2011, Май 6 22:37:15 EEST
>
>   >It is possible to change the kernel version reported by OpenVZ here:
>   >
>   >/proc/sys/kernel/virt_osrelease
>   >
>   >http://forum.openvz.org/index.php?t=msg&goto=15144&
>   >
>   >
>   >-- 
>   >Timothy Doyle
>   >CEO
>   >Quantact Hosting Solutions, Inc.
>   >tim at quantact.com
>   >http://www.quantact.com
>   >
>   >
>   >On 05/06/2011 10:53 AM, Hristo Benev wrote:
>   >>    Hi,
>   >>
>   >>  I have following issue.
>   >>  My Host is running CentOS
>   >>  ============================================================
>   >>  cat /etc/redhat-release
>   >>  CentOS release 5.6 (Final)
>   >>
>   >>  uname -a
>   >>  Linux server 2.6.18-238.9.1.el5.028stab089.1PAE #1 SMP Thu Apr 14 14:38:02 MSD 2011 i686 athlon i386 GNU/Linux
>   >>  ===========================================================
>   >>
>   >>  and some guests are Debian
>   >>
>   >>  ===========================================================
>   >>  cat /etc/debian_version
>   >>  wheezy/sid
>   >>  ===========================================================
>   >>
>   >>  Upgraded to Squeeze
>   >>
>   >>  ==========================================================
>   >>    cat /etc/apt/sources.list
>   >>  deb http://ftp.de.debian.org/debian squeeze main contrib non-free
>   >>  deb http://ftp.de.debian.org/debian-security squeeze/updates main contrib non-free
>   >>  deb http://ftp.de.debian.org/debian unstable main non-free contrib
>   >>  #deb http://www.backports.org/debian squeeze-backports main contrib non-free
>   >>  deb http://mirrors.kernel.org/debian squeeze-updates main contrib
>   >>  ============================================================================
>   >>
>   >>  When I try to upgrade I get following
>   >>
>   >>  ============================================================================
>   >>    apt-get upgrade
>   >>  Reading package lists... Done
>   >>  Building dependency tree
>   >>  Reading state information... Done
>   >>  You might want to run 'apt-get -f install' to correct these.
>   >>  The following packages have unmet dependencies:
>   >>    libc-dev-bin : Depends: libc6 (>   2.13) but 2.11.2-11 is installed
>   >>    libc6 : Depends: libc-bin (= 2.11.2-11) but 2.13-2 is installed
>   >>    libc6-dev : Depends: libc6 (= 2.13-2) but 2.11.2-11 is installed
>   >>    locales : Depends: glibc-2.13-1
>   >>    nscd : Depends: libc6 (>   2.13) but 2.11.2-11 is installed
>   >>  E: Unmet dependencies. Try using -f.
>   >>  ===========================================================================
>   >>
>   >>  When using -f I get
>   >>
>   >>  ==========================================================================
>   >>  WARNING: this version of the GNU libc requires kernel version
>   >>  2.6.26 or later. Please upgrade your kernel before installing
>   >>  glibc.
>   >>
>   >>  The installation of a 2.6 kernel _could_ ask you to install a new libc
>   >>  first, this is NOT a bug, and should *NOT* be reported. In that case,
>   >>  please add lenny sources to your /etc/apt/sources.list and run:
>   >>     apt-get install -t lenny linux-image-2.6
>   >>  Then reboot into this new kernel, and proceed with your upgrade
>   >>  dpkg: error processing /var/cache/apt/archives/libc6_2.13-2_i386.deb (--unpack):
>   >>    subprocess new pre-installation script returned error exit status 1
>   >>  configured to not write apport reports
>   >>                                         Errors were encountered while processing:
>   >>    /var/cache/apt/archives/libc6_2.13-2_i386.deb
>   >>  E: Sub-process /usr/bin/dpkg returned an error code (1)
>   >>  ============================================================================
>   >>
>   >>  So how to fix that?
>   >>  CentOS does not have more recent kernel (official/stable)?!
>   >>
>   >>  Thanks,
>   >>
>   >>
>   >>
>   >>  _______________________________________________
>   >>  Users mailing list
>   >>  Users at openvz.org
>   >>  https://openvz.org/mailman/listinfo/users
>   >>
>   >>
>   >_______________________________________________
>   >Users mailing list
>   >Users at openvz.org
>   >https://openvz.org/mailman/listinfo/users
>   >
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users




More information about the Users mailing list