Any idea whats wrong here:
phablet@ubuntu-phablet:~$ sudo system-image-cli -v --progress=dots --switch=devel/arm64/android9plus/daily
[sudo] password for phablet:
[systemimage] Sep 21 00:06:09 2024 (5770) running state machine [devel/arm64/android9plus/daily/FP3]
[systemimage] Sep 21 00:06:09 2024 (5770) Looking for blacklist: https://system-image.ubports.com/gpg/blacklist.tar.xz
[systemimage] Sep 21 00:06:09 2024 (5770) [0x7fa66efe80] Requesting group download:
https://system-image.ubports.com/gpg/blacklist.tar.xz -> /var/lib/system-image/keyring.tar.xz
https://system-image.ubports.com/gpg/blacklist.tar.xz.asc -> /var/lib/system-image/keyring.tar.xz.asc
[systemimage] Sep 21 00:06:09 2024 (5770) Allow GSM? Yes
[systemimage] Sep 21 00:06:09 2024 (5770) [/com/lomiri/applications/download/terminal_2eubports_5fterminal_5f2_2e0_2e2/d61afa275e8c4c6dbe0cc6abcfee7bd9] Running group download reactor
[systemimage] Sep 21 00:06:09 2024 (5770) self: <LDMDownloadManager at 0x7fa66efe80>, self._iface: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x7fa6072900> :1.154 /com/lomiri/applications/download/terminal_2eubports_5fterminal_5f2_2e0_2e2/d61afa275e8c4c6dbe0cc6abcfee7bd9 at 0x7fa618a5e0> implementing 'com.lomiri.applications.GroupDownload' at 0x7fa618a7f0>
[systemimage] Sep 21 00:06:10 2024 (5770) [/com/lomiri/applications/download/terminal_2eubports_5fterminal_5f2_2e0_2e2/d61afa275e8c4c6dbe0cc6abcfee7bd9] Group download reactor done
[systemimage] Sep 21 00:06:10 2024 (5770) uncaught exception in state machine
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 133, in __next__
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 219, in _get_blacklist_1
get_keyring('blacklist', url, 'image-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 105, in get_keyring
get_download_manager().get_files([
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 203, in get_files
self._get_files(records, pausable, signal_started)
File "/usr/lib/python3/dist-packages/systemimage/ldm.py", line 187, in _get_files
raise AssertionError(
AssertionError: Missing destination files: ['/var/lib/system-image/keyring.tar.xz', '/var/lib/system-image/keyring.tar.xz.asc']
local_paths: [dbus.String('/tmp/blacklist (2).tar.xz'), dbus.String('/tmp/blacklist (2).tar.xz.asc')]
Exception occurred during update; see log file for details
[systemimage] Sep 21 00:06:10 2024 (5770) system-image-cli exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/main.py", line 403, in main
list(state)
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 133, in __next__
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 219, in _get_blacklist_1
get_keyring('blacklist', url, 'image-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 105, in get_keyring
get_download_manager().get_files([
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 203, in get_files
self._get_files(records, pausable, signal_started)
File "/usr/lib/python3/dist-packages/systemimage/ldm.py", line 187, in _get_files
raise AssertionError(
AssertionError: Missing destination files: ['/var/lib/system-image/keyring.tar.xz', '/var/lib/system-image/keyring.tar.xz.asc']
local_paths: [dbus.String('/tmp/blacklist (2).tar.xz'), dbus.String('/tmp/blacklist (2).tar.xz.asc')]
[systemimage] Sep 21 00:06:10 2024 (5770) state machine finished
?
Edit:
Ok, never mind, I just executed the command through ADB and it now downloads the files.
My previous error was from the UT terminal directly.