I have an issue mentioned here: during update from 10.04 to 12.04
The workaround:
apt-get -f install -o APT::Immediate-Configure=false python-minimal
seems to work, but there are two problems with it:
- We're using
apt-get dist-upgrade
to deliver new versions of our product and it would be great to perform OS update the same way, without any struts like the one mentioned above. - I'm not comfortable with installing packages without a proper configuration, who knows what problems it might cause in future
The preferred way to update Ubuntu is using update manager but we're also using custom repository and for some reason they don't want to work together :) This is another question that requires more investigation but I like apt-get dist-upgrade more.
I would like to understand what is the problem with python-minimal package (we don't mind fixing it and deliver our own version of the package) I haven't been able to get any debug information neither from apt-get nor from aptitude, all they say is:
E: Could not perform immediate configuration on 'python-minimal'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
which is not enough to fix the problem.
I also tried Debug::pkgProblemResolver
and Debug::pkgDPkgPM
apt flags but haven't got any additional info. There is a --log-level
parameter in aptitude but lucid's version does not seem to support it.
So, the question is: how can I get as much as possible debug info from apt/aptitude - dpkg error code, control script that causes the problem and so on?