Skip to main content

apt_update

Function apt_update 

Source
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.