I tried that with --dry-run, but it just sits there and does nothing after this output.
$ sudo system-image-cli -vn -p 0 --progress dots
[systemimage] Jan 09 19:09:17 2021 (14794) No valid image master key found, downloading
[systemimage] Jan 09 19:09:17 2021 (14794) [0x7f8a04f2e8] Requesting group download:
https://system-image.ubports.com/gpg/image-master.tar.xz -> /android/cache/recovery/keyring.tar.xz
https://system-image.ubports.com/gpg/image-master.tar.xz.asc -> /android/cache/recovery/keyring.tar.xz.asc
[systemimage] Jan 09 19:09:17 2021 (14794) Allow GSM? Yes
[systemimage] Jan 09 19:09:17 2021 (14794) [/com/canonical/applications/download/d29afe0d54bd4ff491b888d395f48287] Running group download reactor
[systemimage] Jan 09 19:09:17 2021 (14794) self: <UDMDownloadManager at 0x7f8a04f2e8>, self._iface: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x7f8a0404c0> :1.134 /com/canonical/applications/download/d29afe0d54bd4ff491b888d395f48287 at 0x7f8a04f358> implementing 'com.canonical.applications.GroupDownload' at 0x7f8a04f3c8>
Then it times out with:
Exception occurred during dry-run; see log file for details
[systemimage] Jan 09 19:19:17 2021 (14794) system-image-cli exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/main.py", line 365, in main
state.run_until('download_files')
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 179, in run_until
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 210, in _get_blacklist_1
'image-master', 'gpg/image-master.tar.xz', 'archive-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 107, in get_keyring
(ascxz_src, ascxz_dst),
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 209, in get_files
self._get_files(records, pausable, signal_started)
File "/usr/lib/python3/dist-packages/systemimage/udm.py", line 179, in _get_files
raise TimeoutError
TimeoutError
Just running system-image-cli --list-channels also just freezes.