I have an OpenVZ VPS, and am trying to upgrade Ubuntu Server from 11.10 to 12.04. But the upgrade aborts half-way with this error:
WARNING: this version of the GNU libc requires kernel version 2.6.24 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.15-0ubuntu10_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 No apport report written because MaxReports is reached already Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). Upgrade complete The upgrade has completed but there were errors during the upgrade process. To continue please press [ENTER] === Command detached from window (Thu Apr 26 10:31:16 2012) === === Command terminated with exit status 1 (Thu Apr 26 10:31:16 2012) ===