Rework script which checks for uninstallable packages
authorMichael Prokop <mika@grml.org>
Fri, 21 Mar 2014 07:49:37 +0000 (08:49 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 21 Mar 2014 07:49:37 +0000 (08:49 +0100)
commitc701eefdfc1608c1655defece1c2e3f8ff5cde66
treea78a4fac636b2775fb8d17f099208888f3ca140a
parent1b0b0caa457424cfd4f6d7634c0d5a9c3dbe43dd
Rework script which checks for uninstallable packages

While older versions of dpkg reported:

| No packages found matching ${package}.

newer ones report:

| dpkg-query: no packages found matching ${package}

Newer versions of dpkg also seem to mix stdout and stderr
(looking like buffering problems?), so the result is unreliable
for us. Therefore split handling of stdout and stderr output.

This fixes the problem that the junit output wasn't
really adequate anymore lately.
etc/grml/fai/config/scripts/GRMLBASE/01-packages