Skip to content

Commit b868067

Browse files
committed
Revert "fix(oma-pm)!: workaround downgrade apt solver (#590)"
This reverts commit b9d108d.
1 parent 0278fd2 commit b868067

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

oma-pm/src/apt.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,14 @@ impl OmaApt {
320320
debug!("{k}={v} is set");
321321
}
322322

323+
#[cfg(feature = "aosc")]
324+
if another_apt_options
325+
.iter()
326+
.all(|kv| !kv.starts_with("APT::Solver"))
327+
{
328+
config.set("APT::Solver", "3.0");
329+
}
330+
323331
Ok(config)
324332
}
325333

0 commit comments

Comments
 (0)