[Users] (no subject)

tim Doyle tim at quantact.com
Fri May 6 15:37:15 EDT 2011


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
>
>    


More information about the Users mailing list