Package: flashrom Version: 1.1-1 Severity: minor flashrom 1.0 and 1.1, as packaged in Debian, do not correctly show the expected version number in the -R output:
anarcat@angela:~(master)$ flashrom --version flashrom on Linux 4.19.0-6-amd64 (x86_64) flashrom is free software, get the source code at https://flashrom.org The first line shows where the version number should come up, because there's two spaces (instead of one surrounding the version number) between "flashrom" and "on". This breaks, probably among other things, the Purism coreboot upgrade script, which tries to detect the version number: https://source.puri.sm/coreboot/utility This patch on the said utility works around the problem: diff --git i/coreboot_util.sh w/coreboot_util.sh index 2b4b2e2..e323bdc 100644 --- i/coreboot_util.sh +++ w/coreboot_util.sh @@ -333,6 +333,7 @@ get_flashrom () { echo "Checking for usable version of flashrom" FLASHROM_CMD=$(which flashrom) if [ ! -z "$FLASHROM_CMD" ]; then + return #check version version=$($FLASHROM_CMD -R | awk -F" " '{print $2;exit}' | grep "1.") if [ ! -z "$version" ]; then but that's not really relevant to this bug report. -- System Information: Debian Release: 10.2 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages flashrom depends on: ii libc6 2.28-10 ii libftdi1-2 1.4-1+b2 ii libpci3 1:3.5.2-1 ii libusb-0.1-4 2:0.1.12-32 ii libusb-1.0-0 2:1.0.22-2 flashrom recommends no packages. flashrom suggests no packages. -- no debconf information