pmb: sideload: Handle ssh_install_apks() errors
Bug
user@localhost:~$ pmbootstrap sideload linux-postmarketos-qcom-msm8916
[22:13:21] Copying packages to user@172.16.42.1
[22:13:32] Installing packages at user@172.16.42.1
ERROR: Unable to lock database: temporary error (try again later)
ERROR: Failed to open apk database: temporary error (try again later)
Connection to 172.16.42.1 closed.
[22:13:34] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[22:13:34] DONE!
Fixed
user@localhost:~$ pmbootstrap sideload linux-postmarketos-qcom-msm8916
[22:13:50] Copying packages to user@172.16.42.1
[22:14:03] Installing packages at user@172.16.42.1
ERROR: Unable to lock database: temporary error (try again later)
ERROR: Failed to open apk database: temporary error (try again later)
Connection to 172.16.42.1 closed.
[22:14:03] ERROR: The package 'linux-postmarketos-qcom-msm8916' could not be installed
[22:14:03] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
Edited by Administrator