So there is a number of .dpkg-new files in /etc/ld.so.conf.d left over that might sabotage the update. Removing them now, rerunning ldconfig and trying again...
Nope. The .dpkg-new files remain gone but the upgrade still fails in the same manner and there is no /etc/ld.so.cache anymore afterwards.
Ok, here is another possible problem source: I just did 'ls /etc/ld*' by accident and got this:
$ ls /etc/ld*
/etc/ld.so.conf /etc/ld.so.nohwcap
/etc/ldap:
ldap.conf
/etc/ld.so.conf.d: i386-linux- gnu.conf i386-linux-gnu.conf libc.conf x86_64- linux-gnu. conf zz_amd64- biarch- compat. conf zz_i386- biarch- compat. conf.dpkg- new x86_64- linux-gnu. conf i386-linux- gnu.conf. dpkg-new libc.conf.dpkg-new x86_64- linux-gnu_ guile-1. 8.conf zz_i386- biarch- compat. conf zz_x32- biarch- compat. conf
fakeroot-
fakeroot-
So there is a number of .dpkg-new files in /etc/ld.so.conf.d left over that might sabotage the update. Removing them now, rerunning ldconfig and trying again...
Nope. The .dpkg-new files remain gone but the upgrade still fails in the same manner and there is no /etc/ld.so.cache anymore afterwards.