We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f40f24 commit e6d5065Copy full SHA for e6d5065
1 file changed
src/run/runner/valgrind/setup.rs
@@ -98,7 +98,13 @@ async fn install_valgrind(system_info: &SystemInfo) -> Result<()> {
98
download_file(&Url::parse(valgrind_deb_url.as_str()).unwrap(), &deb_path).await?;
99
100
run_with_sudo(&["apt-get", "update"])?;
101
- run_with_sudo(&["apt-get", "install", "-y", deb_path.to_str().unwrap()])?;
+ run_with_sudo(&[
102
+ "apt-get",
103
+ "install",
104
+ "--allow-downgrades",
105
+ "-y",
106
+ deb_path.to_str().unwrap(),
107
+ ])?;
108
109
Ok(())
110
}
0 commit comments