[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1095450: marked as done (`fwupdmgr --json update` outputs invalid JSON)



Your message dated Wed, 09 Apr 2025 16:49:56 +0000
with message-id <E1u2Yce-00BcMj-Bi@fasolo.debian.org>
and subject line Bug#1095450: fixed in fwupd 2.0.8-1
has caused the Debian Bug report #1095450,
regarding `fwupdmgr --json update` outputs invalid JSON
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1095450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095450
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fwupd
Version: 2.0.5-1
Severity: minor
X-Debbugs-Cc: debian@rocketjump.eu

Hi,

at least one command outputs invalid JSON despite the --json flag:

randall@batou:~$ fwupdmgr --json get-devices | jsonlint
<stdin>: ok
randall@batou:~$ fwupdmgr --json update | jsonlint
<stdin>:1:0: Error: Unknown identifier: 'Devices'
   |  At line 1, column 0, offset 0 (AT-START)
<stdin>:1:8: Error: Unexpected text after end of JSON value
   |  At line 1, column 8, offset 8
<stdin>: has errors
randall@batou:~$ fwupdmgr --json update
Devices with no available firmware updates:
 • USB3.1 Hub
 • USB3.1 Hub
 • MZVLB1T0HBLR-000L7
 • Prometheus
 • Prometheus IOTA Config
 • System Firmware
 • ThinkPad USB-C Dock Gen2
 • ThinkPad USB-C Dock Gen2 PD Controller
 • ThinkPad USB-C Dock Gen2 USB Audio
 • Thunderbolt host controller
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • USB2.0 Hub
 • USB2.0 Hub
{
  "Error" : {
    "Domain" : "FwupdError",
    "Code" : 9,
    "Message" : "No updatable devices"
  }
}

would be nice if the "update" command would output valid JSON, and maybe we
could add some autopkgtest to test it?

Greets,
Lee

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fwupd depends on:
ii  libarchive13t64             3.7.4-1.1
ii  libblkid1                   2.40.4-2
ii  libc6                       2.40-6
ii  libcbor0.10                 0.10.2-2
ii  libcurl3t64-gnutls          8.11.1-1+b1
ii  libdrm-amdgpu1              2.4.123-1
ii  libdrm2                     2.4.123-1
ii  libflashrom1                1.4.0-3
ii  libfwupd3                   2.0.5-1
ii  libglib2.0-0t64             2.82.4-2
ii  libgnutls30t64              3.8.8-2
ii  libjcat1                    0.2.0-2+b3
ii  libjson-glib-1.0-0          1.10.6+ds-1
ii  liblzma5                    5.6.3-1+b1
ii  libmbim-glib4               1.30.0-1+b2
ii  libmbim-proxy               1.30.0-1+b2
ii  libmm-glib0                 1.22.0-3+b2
ii  libpolkit-gobject-1-0       126-2
ii  libprotobuf-c1              1.5.1-1
ii  libqmi-glib5                1.34.0-2+b2
ii  libqmi-proxy                1.34.0-2+b2
ii  libsqlite3-0                3.46.1-1
ii  libsystemd0                 257.2-3
ii  libtss2-esys-3.0.2-0t64     4.1.3-1.2
ii  libusb-1.0-0                2:1.0.27-2
ii  libxmlb2                    0.3.21-1
ii  shared-mime-info            2.4-5+b2
ii  systemd [systemd-sysusers]  257.2-3
ii  zlib1g                      1:1.3.dfsg+really1.3.1-1+b1

Versions of packages fwupd recommends:
ii  bolt                               0.9.8-1
ii  dbus [default-dbus-system-bus]     1.16.0-1
ii  fwupd-amd64-signed [fwupd-signed]  1:1.7+1
ii  jq                                 1.7.1-3+b1
ii  python3                            3.13.1-2
pn  secureboot-db                      <none>
ii  udisks2                            2.10.1-11

Versions of packages fwupd suggests:
pn  gir1.2-fwupd-2.0  <none>

-- Configuration Files:
/etc/fwupd/fwupd.conf [Errno 13] Permission denied: '/etc/fwupd/fwupd.conf'

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: fwupd
Source-Version: 2.0.8-1
Done: Mario Limonciello <superm1@gmail.com>

We believe that the bug you reported is fixed in the latest version of
fwupd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1095450@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mario Limonciello <superm1@gmail.com> (supplier of updated fwupd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 09 Apr 2025 11:29:23 -0500
Source: fwupd
Built-For-Profiles: noudeb
Architecture: source
Version: 2.0.8-1
Distribution: unstable
Urgency: medium
Maintainer: Debian EFI <debian-efi@lists.debian.org>
Changed-By: Mario Limonciello <superm1@gmail.com>
Closes: 1095450 1102318
Changes:
 fwupd (2.0.8-1) unstable; urgency=medium
 .
   * New upstream version (2.0.8)
     - Fixes reboot issue (Closes: #1102318)
     - Fixes json output for `fwupdmgr update --json` (Closes: #1095450)
   * Drop 0001-trivial-motd-correct-fwupd-refresh.service-man-page-.patch
     (upstream)
Checksums-Sha1:
 fb619759698c89612ac5ef3857b416a5f6c7d9eb 3430 fwupd_2.0.8-1.dsc
 72a37ef2fb26e1334e73de2a247eb930e26500bb 6353050 fwupd_2.0.8.orig.tar.gz
 596ec8591e819cc14d9f3030bc1b04fc3415a795 27868 fwupd_2.0.8-1.debian.tar.xz
 d313ccdf40197049d5f3345466720342f915ac48 21594 fwupd_2.0.8-1_source.buildinfo
Checksums-Sha256:
 d1ac53c6c87ceecc94f4cc9dbb0b66b05de1ddc31921b2b3fedda6ad46ac3a95 3430 fwupd_2.0.8-1.dsc
 354f2e217a5e87bb153815268430d7407c59a27f56acbfa8a3c7f34e6c5fd2da 6353050 fwupd_2.0.8.orig.tar.gz
 ab52776b254dea431af6dfcbfe2b8b101b5a5b92c52d305ab12c198548006064 27868 fwupd_2.0.8-1.debian.tar.xz
 4093291924fef1b9814000b5b2f5f889fe3d70d02a3465ee033ab2df2d10a678 21594 fwupd_2.0.8-1_source.buildinfo
Files:
 b4225b27e56e6a1445517a138c41ec48 3430 admin optional fwupd_2.0.8-1.dsc
 70cc603d6f77336f56243fbf9e0f8be9 6353050 admin optional fwupd_2.0.8.orig.tar.gz
 b093e82ed11cb3ff72994a087c6859b4 27868 admin optional fwupd_2.0.8-1.debian.tar.xz
 72c02ace2df0595c4f086dbddb807a44 21594 admin optional fwupd_2.0.8-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEECwtuSU6dXvs5GA2aLRkspiR3AnYFAmf2oIwSHHN1cGVybTFA
Z21haWwuY29tAAoJEC0ZLKYkdwJ23G8P/0CvJepbb/d9KEgihA9XXyZUzUJTRbtt
0d+rm5//9uYaaGNERQSbOIEGjZ4M4xidisAkoJVqpNR9s1v/SGuuHHT9wHFm2ML4
/aJMxb9r2TzWmaEhfQC+s8gOuwuXbAdWCDG01lTjum7NqLNIfBoyEYt9qnQtd91k
NF/wGMaMwoCo8ORxRNwVFU1JxH+JO4UWb+CJEfIt/PIe13SNb9h3JcK5RVta2+fW
xZaeAQ7eEw3/2S9iD+71cKx8lp4LxtE1d1U8jOf4yC0156qTcXOFdzrUeuTw3W9V
o6qJ8sobC3IZpz8PuWZIgVq7rGWKUrV64kHo2wK/DWgPeK89V5gG98b8/1n4t+rL
TJ8nWhNrntkwfZB1VJKqM0RW/LlhDKQVS7TbG3weG8qq5hM2mtnOwcaDj27z78tZ
7sOylLzpgDUju9IxfK23w7Ryjwz5COm44e7LF22W5tEetXugtAH/wbBKN7201t08
2EAn8Hktm5veCZlmfcVlpPhx3eCyuOeTfZZb/u6CdmPOtYVug2AjhMrR/UPRgwZE
ngYFeNJiCQfto+50h4Yf3+U0aLQ9riy/0CsxcpTceDFckFssVNACp84kZfIi+HH9
EVuzYyXfTapdvcILyaY/CjAXzMRLwjuJ5exW+Mr//+TgBrWVabrzTFnISXPXQd0S
PaxWXWry/sMe
=9dgG
-----END PGP SIGNATURE-----

Attachment: pgpsrCZUoQ2ws.pgp
Description: PGP signature


--- End Message ---

Reply to: