diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index c1de3362..50946cca 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -361,6 +361,13 @@ fn upgrade_gentoo(ctx: &ExecutionContext) -> Result<()> { fn upgrade_debian(ctx: &ExecutionContext) -> Result<()> { if let Some(sudo) = &ctx.sudo() { let apt = which("apt-fast") + .or_else(|| { + if which("mist").is_some() { + Some(PathBuf::from("mist")) + } else { + None + } + }) .or_else(|| { if Path::new("/usr/bin/nala").exists() { Some(Path::new("/usr/bin/nala").to_path_buf())