I'm trying to upgrade a debian squeeze system to wheezy. I've done an apt-get update && apt-get -V upgrade on squeeze, then changed my source.list to reference wheezy not squeeze.
then, apt-get update (works fine)
then,
apt-get dist-upgrade
or
aptitude full-upgrade
no matter what I try the dist-upgrade fails with the message
Could not perform immediate configuration on 'perl'
for good measure i've also tried
apt-get install perl -o APT::Immediate-Configure=0
which some bug reports mention working, but it doesn't work for me.
I've found no way to upgrade from squeeze to wheezy without the upgrade failing because of this error using either apt-get or aptitude.
Does anyone know of a work around or fix?