pub fn apt_update(ctx: &mut HostContext) -> Result<()>Expand description
Run apt update.
In dry-run mode, records a planned action and returns Ok.
ยงErrors
Returns HortoError::CommandFailed when apt cannot be spawned or exits non-zero.
pub fn apt_update(ctx: &mut HostContext) -> Result<()>Run apt update.
In dry-run mode, records a planned action and returns Ok.
Returns HortoError::CommandFailed when apt cannot be spawned or exits non-zero.