To everyone who is trying to upgrade Debian Squeeze to Wheezy as it will reach end-of-life soon. I got this error when preparing the update:
My solution was to install the packages this way:
This solves the problem, but be aware that I am not saying that this will also give you a flawless upgrade, so test it on a development server first, if possible.
Any further errors+solutions regarding the upgrade to Debian Wheezy greatly appreciated.
Code:
# apt-get dist-upgrade --download-only
Calculating upgrade... Failed
The following packages have unmet dependencies:
odbcinst1debian2 : Breaks: libmyodbc (< 5.1.6-2) but 5.1.6-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
My solution was to install the packages this way:
Code:
apt-get install libmyodbc odbcinst1debian2 initscripts keyboard-configuration klibc-utils gcc-4.4
This solves the problem, but be aware that I am not saying that this will also give you a flawless upgrade, so test it on a development server first, if possible.
Any further errors+solutions regarding the upgrade to Debian Wheezy greatly appreciated.