Setting up libc6 (2.7-18lenny6) ...
ldconfig: /etc/ld.so.conf.d/libc6-xen.conf:6: hwcap index 0 already defined as nosegneg
dpkg: error processing libc6 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
Solution :
vim /etc/ld.so.conf.d/libc6-xen.conf
change
hwcap 1 nosegneg
to
hwcap 0 nosegneg
新装VPS先保存包状态再启用第三方源
dpkg --get-selections >selections.txt
dpkg --set-selections < selections.txt
apt-get dselect-upgrade