pkgupdate exits when (custom) feeds are unavailable (offline)
{"kernel":"4.14.113","hostname":"to","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"armada-385-turris-omnia","release":{"distribution":"TurrisOS","version":"4.0-beta1","revision":"0663455801","target":"mvebu/cortexa9","description":"TurrisOS 4.0-beta1 0663455801"}}
Having previously installed some packages via custom feed and latter node currently facing some connectivity issues
WARN:Download failed for repository index (foo)_repo (domain): OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to host
ERROR:
inconsistent: Requested package (foo) that is not available.
the user is left with undesriable choices:
- disable the custom feed, which is no issue, but then being forced by
pkgupdate
to uninstall the (foo) package(s) or else pkgupdate does not proceed and exits, or - wait until the custom feed becomes available again, whenever that might be, and only then being able to finish
pkgupdate
, or - abondon
pkgupdate
and utilizeopkg
instead
Not sure what the reckoning behind that logic is but let us say that a user got such packages installed from custom feed and the custom feed gets offline at some point and stays that way but the user would like to continue to use such package and not being minded by pkgupdate
to remove packages.
IMHO the updater should notify the user that such and such (custom) feed is not available (print the error) and continue onto the next available feed and not as currently just exit or mind the user to uninstall said packages.