dpkg -i --force-overwrite /var/cache/apt/archives/kdelibs-data_4%3a3.2.1-1_all.deb and then dpkg --configure -a to make sure no packages were left unconfigured when the error happened.