From: Michael Prokop Date: Sat, 9 Jun 2012 13:10:47 +0000 (+0200) Subject: GRMLBASE/95-package-information: drop field width option in dpkg-query command X-Git-Tag: v0.19.4~1 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=11fd80a246f79b851b0a98881e105563734d5325 GRMLBASE/95-package-information: drop field width option in dpkg-query command dpkg v1.16.4 has a regression, failing the dpkg-query command to execute correctly. Because of that our daily builds fail, no need to force usage of the field width option, so let's just drop it. See Debian's BTS #676796 --- diff --git a/etc/grml/fai/config/scripts/GRMLBASE/95-package-information b/etc/grml/fai/config/scripts/GRMLBASE/95-package-information index 1d148e3..0a7a430 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/95-package-information +++ b/etc/grml/fai/config/scripts/GRMLBASE/95-package-information @@ -18,7 +18,7 @@ else COLUMNS=200 $ROOTCMD dpkg --get-selections > "${LOGDIR}"/dpkg.selections # store list of packages sorted by size: if [ -x $target/usr/bin/dpkg-query ] ; then - $ROOTCMD dpkg-query -W --showformat='${Package}\t${Installed-Size;10}\n' > \ + $ROOTCMD dpkg-query -W --showformat='${Package}\t${Installed-Size}\n' > \ "${LOGDIR}"/packages.size fi fi