Here is the error:
dpkg: dependency problems prevent configuration of libcurl3-gnutls:^M libcurl3-gnutls depends on libldap-2.4-2 (>= 2.4.7); however:^M Package libldap-2.4-2 is not configured yet.^M dpkg: error processing libcurl3-gnutls (--configure):^M dependency problems - leaving unconfigured^M
this looks like the ordering is incorrect, I try to reproduce now.
Do you have /var/log/dist-upgrade/system_state.tar.gz ? That would help me reproducing.
Here is the error:
dpkg: dependency problems prevent configuration of libcurl3-gnutls:^M
libcurl3-gnutls depends on libldap-2.4-2 (>= 2.4.7); however:^M
Package libldap-2.4-2 is not configured yet.^M
dpkg: error processing libcurl3-gnutls (--configure):^M
dependency problems - leaving unconfigured^M
this looks like the ordering is incorrect, I try to reproduce now.
Do you have /var/log/ dist-upgrade/ system_ state.tar. gz ? That would help me reproducing.