Denis Pynkin
Denis Pynkin
btw, what if instead of shadowing devices with equivalent id, I'll try another approach, set virtual parent and update it via any available child (by priority): ``` dongle (grandpa) ->...
> Or another idea instead of relationship you can use a proxy I thought about it. But I already using proxies to distinguish devices in https://github.com/fwupd/fwupd/pull/7488. And that might be...
@hughsie confirmed. The issue is here: https://github.com/fwupd/fwupd/blob/main/libfwupd/fwupd-client.c#L3387 Blob size returned by `fwupd_client_download_bytes_finish()` is `149919` bytes, while the actual size: ``` $ stat --printf="%s\n" 9881ab0f42c7dbb6b131149ec48b1a744836b003321be1840db7ba405ba2908b-aerox-3-wireless-dongle.cab 150137 ```
@hughsie tbh, I don't think the problem is on LVFS side: ``` Fwupd-INFO: 14:59:07.740: downloading https://fwupd.org/downloads/9881ab0f42c7dbb6b131149ec48b1a744836b003321be1840db7ba405ba2908b-aerox-3-wireless-dongle.cab ``` ``` $ wget https://fwupd.org/downloads/9881ab0f42c7dbb6b131149ec48b1a744836b003321be1840db7ba405ba2908b-aerox-3-wireless-dongle.cab --2025-01-07 14:59:44-- https://fwupd.org/downloads/9881ab0f42c7dbb6b131149ec48b1a744836b003321be1840db7ba405ba2908b-aerox-3-wireless-dongle.cab Resolving fwupd.org (fwupd.org)... 54.212.102.150, 52.38.164.39, 2600:1f14:414:5602::9c36,...
Nothing changed: ``` $ LANGUAGE=C fwupdmgr refresh --force WARNING: This package has not been validated, it may not work properly. Updating lvfs Downloading… [***************************************] Successfully downloaded new metadata: Updates have...
@hughsie I checked the downloaded file in HEX viewer, the full size is `150137` and looks correct, since the end of the CAB file contains `firmware.jcat`, so I don't think...
@swarming1905 OOC do you still on the same `fwupd` version? It would be great if you provide the fwupd version information for the working variant, thanks.
@swarming1905 Please provide the version of the daemon and client: ```shell fwupdtool get-report-metadata ``` **or** ```shell fwupdtool --version ```
Hmmm.... I did the update and it works for me. Used the `fwupd` from the distro: ``` $ sudo fwupdtool --version compile info.libusb 1.0.27 compile org.freedesktop.fwupd 2.0.4 compile org.freedesktop.Passim 0.1.8...
@Flat good catch, thank you! @hughsie indeed -- different behavior for downloading via `fwupdtool` and `fwupdmgr`, tested with the current main as well.