#566319 buildd: Don't auto give back packages that will fail anyway.

#566319#5
Date:
2010-01-22 21:47:13 UTC
From:
To:
Hi,

I got a log saying:
The following packages have unmet dependencies:
  libqt3-mt-dev: Depends: libjpeg62-dev but it is not going to be installed
                 Depends: libmng-dev (>= 1.0.3) but it is not going to be installed
  libtiff4-dev: Depends: libjpeg62-dev but it is not going to be installed
E: Broken packages
apt-get failed.
Package installation failed
Trying to reinstall removed packages:
Trying to uninstall newly installed packages:
Source-dependencies not satisfied; skipping libterralib

The current verion does an auto give-back in that case.  Atleast it's
not something we want to do in this case.  But there might be simular
cases where we do might want to do it, and I'm not sure we can tell
the difference between them.


Kurt

#566319#10
Date:
2010-01-23 00:53:30 UTC
From:
To:
I also got a:
Errors were encountered while processing:
 /var/cache/apt/archives/libhdf5-serial-1.8.4_1.8.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get failed.

Which is also a case in which it shouldn't do an give-back.


Kurt

#566319#13
Date:
2010-01-23 11:18:52 UTC
From:
To:
As that's a bug in a (build-)dependency it's not the leaf who's at fault.
So I somehow think it's not entirely insane to auto-give-back on this
condition.  It might waste time on slow architectures, though, so maybe
one would want to make this configurable?

Kind regards,
Philipp Kern