root@precise:/var/cache/apt/archives# dpkg --force-depends -i libc6_2.15-0ubuntu5_amd64.deb
(Reading database ... 22165 files and directories currently installed.)
Preparing to replace libc6 2.13-20ubuntu5 (using libc6_2.15-0ubuntu5_amd64.deb) ...
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by locale)
Checking for services that may need to be restarted...
Checking init scripts...
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 libc6_2.15-0ubuntu5_amd64.deb (--install):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
libc6_2.15-0ubuntu5_amd64.deb
root@precise:/var/cache/apt/archives# dpkg --force-all -i libc6_2.15-0ubuntu5_amd64.deb
(Reading database ... 22165 files and directories currently installed.)
Preparing to replace libc6 2.13-20ubuntu5 (using libc6_2.15-0ubuntu5_amd64.deb) ...
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by locale)
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by locale)
Checking for services that may need to be restarted...
Checking init scripts...
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 libc6_2.15-0ubuntu5_amd64.deb (--install):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
libc6_2.15-0ubuntu5_amd64.deb