[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: plasma-discover (Ubuntu Focal) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
** Changed in: oem-priority Importance: High => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Based on this new result, SRU libjcat back to focal is optional. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
OK so KDE discover in 5.18 version downloads natively in QT using a QNetworkRequest. AFAICT QNetworkRequest doesn't by default request a compressed file, but needs to explicitly request this to the server: https://stackoverflow.com/questions/2340548/does-qnetworkmanager-get- accept-compressed-replies-by-default Because of that this bug occurs with KDE discover. KDE discover 5.20.90 and newer have adopted libfwupd for doing the download and should no longer encounter this. ** No longer affects: libjcat (Ubuntu Focal) ** No longer affects: libjcat (Ubuntu Hirsute) ** No longer affects: libjcat (Ubuntu Impish) ** Also affects: fwupd (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: plasma-discover (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: libjcat (Ubuntu Focal) Importance: Undecided Status: New ** No longer affects: plasma-discover (Ubuntu Jammy) ** Changed in: plasma-discover (Ubuntu) Status: New => Fix Released ** No longer affects: libjcat (Ubuntu Focal) ** Changed in: fwupd (Ubuntu Focal) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
OK so comparing the good and bad - the downloads are both "good" downloads but the bad is an already extracted tarball! Unpacking the good, the good and bad both have the same checksums. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
full journal log from fwupd, most are not verbose, just for reference. ** Attachment added: "fwupd.journal.all.log" https://bugs.launchpad.net/oem-priority/+bug/1943833/+attachment/737/+files/fwupd.journal.all.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Below is the log of fwupd during running discover in verbose mode. (-v) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(acpi_dmar) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuCommon reading /sys/firmware/acpi/tables/DMAR with 184 bytes 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPluginAcpiDmar OemTableId: Dell Inc 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPluginAcpiDmar CreatorId: 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPluginAcpiDmar Flags: 0x05 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(linux_lockdown) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(pci_bcr) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(uefi_pk) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(acpi_facp) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuCommon reading /sys/firmware/acpi/tables/FACP with 276 bytes 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPluginAcpiFacp Flags: 0x20c4f5 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(linux_tainted) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(linux_sleep) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(tpm) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(cpu) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(pci_mei) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0328 FuPlugin add_security_attrs(linux_swap) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0343 FuPluginLinuxSwap/swapfile file is unencrypted 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0343 FuPlugin add_security_attrs(iommu) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0343 FuPlugin add_security_attrs(msr) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0343 FuPlugin add_security_attrs(tpm_eventlog) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0343 FuPlugin add_security_attrs(uefi_capsule) 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0346 FuMain Called GetRemotes() 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0391 FuMain Called GetDevices() 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0393 FuMain Called GetRemotes() 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0400 FuBackendadding rate-limited timeout for /sys/devices/virtual/block/loop0 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0428 FuBackendre-adding rate-limited timeout for /sys/devices/virtual/block/loop0 一 20 11:53:11 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:11:0929 FuPlugin udev_device_changed(synaptics_mst) 一 20 11:53:12 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:12:0426 FuMain Called UpdateMetadata(lvfs,31,36) 一 20 11:53:12 ycheng-Latitude-7330-Rugged-Extreme fwupd[2317]: 03:53:12:0446 FuMain Called GetDevices() -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
all good and bad files attached ** Attachment added: "lvfs.tar" https://bugs.launchpad.net/oem-priority/+bug/1943833/+attachment/735/+files/lvfs.tar -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
And does the daemon verbose log show anything? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Can you upload those bad files that discover fetched? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
** Changed in: oem-priority Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
fwupd 1.5.11 + libjcat 0.1.3 on kubuntu/focal 1. fwupdmgr refresh (with non-root account) metadata.xml.gz metadata.xml.gz.jcat goes to /var/lib/fwupd/remotes.d/lvfs sha1sum and sha256sum: match # sha1sum * a6a3e64a224ff04142c1d693f3c6e201a79d2dbb metadata.xml.gz 8a72e4e6b2280d81bc630807e58a1eef852dc595 metadata.xml.gz.jcat 2. clean up /var/lib/fwupd/remotes.d/lvfs and run discover metadata.xml.gz metadata.xml.gz.jcat goes to ~/.cache/fwupd/remotes.d/lvfs sha1sum and sha256sum: not match $ sha1sum * ebda81ea07252679f402904c6172e4707fc60884 metadata.xml.gz 8a72e4e6b2280d81bc630807e58a1eef852dc595 metadata.xml.gz.jcat PS: this is not consistent with my 2nd statement in #19. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
fwupd 1.7.3 + jcat 0.1.9 on kubuntu/focal 1. fwupdmgr refresh (with non-root account) metadata.xml.gz metadata.xml.gz.jcat goes to /var/lib/fwupd/metadata/lvfs sha1sum and sha256sum: match # sha1sum * a6a3e64a224ff04142c1d693f3c6e201a79d2dbb metadata.xml.gz 8a72e4e6b2280d81bc630807e58a1eef852dc595 metadata.xml.gz.jcat 2. clean up /var/lib/fwupd/metadata/lvfs and run discover metadata.xml.gz metadata.xml.gz.jcat goes to /var/lib/fwupd/metadata/lvfs sha1sum and sha256sum: not match $ sha1sum * ebda81ea07252679f402904c6172e4707fc60884 metadata.xml.gz 8a72e4e6b2280d81bc630807e58a1eef852dc595 metadata.xml.gz.jcat Based on the above result, it's likely that discover downloaded the wrong metadata.xml.gz AI: revert to fwupd 1.5.11 + jcat 0.1.3 and test again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
> Note the sha1sum and sha256sum are different from those above. Are you sure these files got updated using fwupd 1.7.3? Can you please confirm timestamps updated for them and these aren't old stale files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Mario, sorry that I didn't manage to collect all log you need, yet. Will try when I can. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Note #23 and #24 is tested with fwupd 1.7.3 and libjcat1 0.1.9~20.04.1 from ppa https://launchpad.net/~ycheng-twn/+archive/ubuntu/fwupd-17x-jcat -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
# sha256sum metadata.xml.gz b404fbe5d61c7b1c530c748db81f54215b2a759f2a247410de10dbe5708a115d metadata.xml.gz # sha1sum metadata.xml.gz 30c4401b2b36b65943b878fd173ee94035e57af8 metadata.xml.gz There is no firmware-02863-stable.xml.gz not firmware.xml.gz in ~/.cache/fwupd/remotes.d/lvfs There only have metadata.xml.gz metadata.xml.gz.jcat. Note the sha1sum and sha256sum are different from those above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
~/.cache/fwupd/remotes.d/lvfs # jcat-tool info metadata.xml.gz.jcat --public-keys /etc/pki/fwupd-metadata/ --verbose (jcat-tool:2361): GLib-GIO-DEBUG: 14:25:51.627: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ JcatFile: Version: 0.1 JcatItem: ID: firmware-02863-stable.xml.gz AliasId: firmware.xml.gz JcatBlob: Kind: sha1 Flags: is-utf8 Timestamp: 2022-01-18T04:06:33Z Size: 0x28 Data: 8cc4c03942af0835b85b38aee2f48227f91a1695 JcatBlob: Kind: sha256 Flags: is-utf8 Timestamp: 2022-01-18T04:06:33Z Size: 0x40 Data: 566d21eceb00017ade5d20fdfcf64efd81b3d20ac6f5c8d1b55df3b8846f6bfe JcatBlob: Kind: gpg Flags: is-utf8 Timestamp: 2022-01-18T04:06:33Z Size: 0x1e8 Data: -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEEP8a4BEEO0IQNjy+XSKbYDkU4usIFAmHmPMkACgkQSKbYDkU4 usIogwf+OdBsBsj9WoBtcT1EumbopbUY6ul2azjQvPXGw+gCJrDbeokgEBUUuy5I bnakPYKchg0HENviWKN+md2aMAu/ZoDl/eYdiKA6Hcz6daiumbDL0/jOU/SP9VOI pgtdwTmmGIKz2PISuaiGN78jxfgDe02m7TAP/P7TK7ND7Yp7zMg+I7HZokPpM0+L xllNsgMb7y7nIjAc4fTefdZkX88tyZHlDiwrJJbCjg8VcQX6M0eCGAl1vNTrIWGp VBk3Du95+p5zWTvtJthYjuvewH2KwgJvetxB/5uG/VOBjHW6Kpf1mXr51Ippn7Hs 8qObBSW3fSsDtLJR+ifgCf3qIpYh/g== =DW2w -END PGP SIGNATURE- JcatBlob: Kind: pkcs7 Flags: is-utf8 Timestamp: 2022-01-18T04:06:34Z Size: 0x8c0 Data: -BEGIN PKCS7- MIIGUgYJKoZIhvcNAQcCoIIGQzCCBj8CAQExDTALBglghkgBZQMEAgEwCwYJKoZI hvcNAQcBoIIEOjCCBDYwggKeoAMCAQICDFprhisibP88kP07YjANBgkqhkiG9w0B AQsFADA6MRAwDgYDVQQDEwdMVkZTIENBMSYwJAYDVQQKEx1MaW51eCBWZW5kb3Ig RmlybXdhcmUgUHJvamVjdDAeFw0xODAxMTYwMDAwMDBaFw0yODAxMTYwMDAwMDBa MBkxFzAVBgNVBAMTDlJpY2hhcmQgSHVnaGVzMIIBIjANBgkqhkiG9w0BAQEFAAOC AQ8AMIIBCgKCAQEArR5nseG3+Zs+o41P9LTspiVSGVcp6ifNHhbKKxBvZZXsy0gX +P/VRlsHLiKQrFulQ8GbPODytFv0o+y/0MkiJxv/fY3yEZ2bwNpsSeXFQSGHI6yz jaVNeNCu8lnnDtD7kiC8UNUNHcnA4+2h/Yv4k+KPqYF+Qb6nWAEIID1ObMnjeJUb dbPPvy12aasV3gZcZ+goYNFc0ua6OU/CNEuzAVVCTAJ/EpCdGpll1+6BGU5ImIUG TlMTWq2xmCfCPugakHrmWA66yHWwE6LmC/U7qQDWFemsSNnmzyBB9HPkqsW1DjHr +ZmNUPj3+q2UGnNwP/Cne462XbsZB569w7pnzQIDAQABo4HcMIHZMAwGA1UdEwEB /wQCMAAwNwYDVR0RBDAwLoYXaHR0cHM6Ly9md3VwZC5vcmcvbHZmcy+BE3JpY2hh cmRAaHVnaHNpZS5jb20wEwYDVR0lBAwwCgYIKwYBBQUHAwMwDwYDVR0PAQH/BAUD AweAADAdBgNVHQ4EFgQUMcrnDWk3DM1GJCqJK7EbAycgB+UwHwYDVR0jBBgwFoAU sY3q5COnfgmOte4x4GrdnjQ3ZawwKgYDVR0fBCMwITAfoB2gG4YZaHR0cDovL3d3 dy5md3VwZC5vcmcvcGtpLzANBgkqhkiG9w0BAQsFAAOCAYEAjoXBOtVb1qPLuE7I ShdSkk66JMNmzZnODbun3BaViUF3PPhuRiJ2y7Bu7loCnxHwzKpq5Hn4Untg1WhQ SsPEv6H2oc2E4HU1Gds2HEE1UL0VzulPEwaOFX0OZ37LmJ2VFvfgwfNmjAWZ+ngN sjuff3PWeHNsOwbS3To0CBlHqz9LlcA7Gxpxbz4DbUEvgTTKZFbasgUS6/QmbpPy 880ThgD93yCg6Q002AooPMw8zW6gGUP7/2D4aKBjgM/IJDrJEicTdKDFtUacsN+d CfIEcn6F1rzPgwo0B/yLYVMpbL8WzxSS7cX5dBlkreH6Nf7g+A2NTryU/6FxoFxo nWJmLssNQCgx42Ywc8CgJRt1yWXxoZXOPap8zPvFAAmrfUlqfZlr2Wzcf2nxpSZJ oQRzGDXDRiYNt28xjX408cJ+Wy+0oWwgnXCkfzMDnJQB8MX6+5Ah4v4mS/XjmOIi Q+hKCT99Yf0Eq3TWzFhyYducqLU904FbrrUSoi07DfxXa/8RMYIB3jCCAdoCAQEw SjA6MRAwDgYDVQQDEwdMVkZTIENBMSYwJAYDVQQKEx1MaW51eCBWZW5kb3IgRmly bXdhcmUgUHJvamVjdAIMWmuGKyJs/zyQ/TtiMAsGCWCGSAFlAwQCAaBpMBgGCSqG SIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTIyMDExODA0MDYz M1owLwYJKoZIhvcNAQkEMSIEIFZtIezrAAF63l0g/fz2Tv2Bs9IKxvXI0bVd87iE b2v+MA0GCSqGSIb3DQEBAQUABIIBAIxqQXfJhTrAq6oB181+4gLK3oSgKOp4ymd4 6ejDobGMHprZvR8ltGmHjIelqkrTSN12fq3gVgAbcZUrreg4MCSEXplnrox9zyu8 9BNS7KVGjGvOM/46+89PYQfpU5JJjdb3NgLsBA9bcn2hB0+mFTzg6B/GNkZ8wxtM WfiiOmCNBTGbpoMWCHEAMQEwzaJmYqmu3RD0rBcOutc3hnxpxYZSetM8HmIKXMUS 1jpoG0uVdWEw40O2hG4vb9C3preFva44OJwPHluLZG5QPj
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
I was looking and have reason to believe this failure shouldn't occur on libjcat 0.1.6, which contains this: https://github.com/hughsie/libjcat/commit/98f747fb5d41e3e0d2a09a2c58adbd5f3df3a567 If you see it with newer version than 0.1.6, I want to see that daemon verbose output and the jcat-tool commands. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
One more thing. Please run daemon in verbose mode (sudo /usr/libexec/fwupd/fwupd --verbose) Share daemon log output specifically what is new while failure occurs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
> Hi Mario, Could you share the command to verify? $ jcat-tool info firmware.xml.gz.jcat --public-keys /etc/pki/fwupd-metadata/ --verbose Compare the sha1/sha256 output from this to: $ sha1sum firmware.xml.gz.jcat $ sha256sum firmware.xml.gz.jcat Then run this and make sure it passes: $ jcat-tool verify firmware.xml.gz.jcat --public-keys /etc/pki/fwupd-metadata/ --kind pkcs7 --verbose If that passes run this: $ jcat-tool verify firmware.xml.gz.jcat --public-keys /etc/pki/fwupd-metadata/ --kind pkcs7 --verbose > A quick cross-check, the file in ~/cache/fwupd/remotes.d/lvfs is the same if I compare the one downloaded by plasma-discover and "fwupdmgr refresh" Good, so we don't have a downloader problem most likely. >One thing I can see is: new code just use fwupd_client_get_remotes_async, while old code seems download file and call fwupd_client_update_metadata. But in both cases it's using daemon and libjcat to do the verification. I think we need to fixate on the downloaded files to see what makes them complain from libjcat. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Hi Mario, Could you share the command to verify? A quick cross-check, the file in ~/cache/fwupd/remotes.d/lvfs is the same if I compare the one downloaded by plasma-discover and "fwupdmgr refresh" One more thing, it looks like the backends/FwupdBackend/FwupdBackend.cpp has been through lots of re-factoring. Mind have a look at the source code for the one used in focal. One thing I can see is: new code just use fwupd_client_get_remotes_async, while old code seems download file and call fwupd_client_update_metadata. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
Yeah; perhaps there is actually multiple bugs here. One of them is definitely in the engine, using libjcat 0.1.3 or later (at compile time) will change daemon behavior: https://github.com/fwupd/fwupd/blob/d7b682430efb8f0718306579f64ed4bda423b4a0/src/fu-engine.c#L3963 It needs this commit to be able to verify the timestamp properly: https://github.com/hughsie/libjcat/commit/6fa790b2f458557cbf0c5caf573a9d377ce4bd44 So the engine has been built against 0.1.3 in the most recent release in Ubuntu focal: https://launchpadlibrarian.net/549854359/buildlog_ubuntu- focal-amd64.fwupd_1.5.11-0ubuntu1~20.04.2_BUILDING.txt.gz libjcat 0.1.4 fixes some ABI problems introduced by 0.1.3. I however don't find a reason to believe compiling against it (vs runtime) will fix this issue. I looked at KDE discover source code (at least the latest version). https://github.com/KDE/discover/blob/master/libdiscover/backends/FwupdBackend/FwupdBackend.cpp#L294 Looking at that I don't see any reason to think it's a problem in their code. They use the libfwupd client library for the update process, so any problems should be contained into that library and it's interaction with the daemon's engine. That is both fwupdmgr and KDE discover use the exact same libfwupd for the refreshing of metadata. I think we should approach debugging this a different way. YC can you take the files from ~/.cache that fail and see if they fail in jcat-tool as well? If so, it should be easier to walk through why they're failing with a debugger. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
I install Kubuntu 20.04.3 iso, I can reproduce this issue by remove files in ~/.cache/fwupd/remotes.d/lvfs/* and re-run discovery. Then I install the libjcat in the ppa in #15, and reboot (just in case something not updated). Then I run the test again, it still failed. I think the failure might come from something hard-coded in plasma- discovery, but not in libjcat itself. Well, maybe libjcat also needs an update but also needs to check source code for discovery. ** Changed in: oem-priority Status: In Progress => Incomplete ** Also affects: plasma-discover (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
** Tags added: oem-priority -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
I create a ppa with libjcat 0.1.9-1~20.04.1 for focal (and other debs). https://launchpad.net/~ycheng-twn/+archive/ubuntu/fwupd-17x-v2 If you can reproduce this issue on focal (maybe with kubuntu?), could you just upgrade the libjcat1 from the ppa and update your test result? Note: the PPA is for testing only, don't use it for production. And I will not provide future upgrade paths not downgrade paths. It's on your own. ** Changed in: oem-priority Importance: Critical => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
lower priority to high as the reproduce step seems unclear yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
As we are going to SRU fwupd 1.7.13 all the way back to focal, it seems to be more natural and will give consistent behaviors if we also SUR libjcat, and given the dependency of libjcat is quite simple. I'll proceed in that way and we will see what the SRU team thinks then. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1943833] Re: fwupd failed to update metadata for lvfs
create a pull request on upstream debian/control just to make the story complete https://github.com/fwupd/fwupd/pull/4182 ** Changed in: oem-priority Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1943833 Title: fwupd failed to update metadata for lvfs To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1943833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs