Thomas Lamprecht b282557563 api: apt: factor out and improve calling apt update
apt changes some of its state/cache also if it errors out, most of
the time, so we actually want to print both, stderr and stdout.

Further, only warn if its exit code is non-zero, for the same
rationale, it may bring updates available even if it errors (e.g.,
because a future pbs-enterprise repo is additionally configured but
not accessible).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-31 21:31:59 +01:00
..
2020-10-29 15:11:39 +01:00
2020-10-29 15:11:39 +01:00
2020-04-30 09:30:00 +02:00
2020-10-29 15:11:39 +01:00
2020-10-15 12:18:34 +02:00
2020-10-29 15:11:39 +01:00
2020-07-10 11:08:53 +02:00