I’ve been following the guide to install from source on Debian 12. I got as far as openvas-scanner sources and hit the wall. After verifying the signature, there is the cargo build and that is where it fails. Seems it requires a version of rustc (1.67 and 1.71) that is newer than what is in the debian repository (1.63).
error: package `icu_provider v1.5.0` cannot be built because it requires rustc 1.67 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.67 or newer, or use
cargo update -p icu_provider@1.5.0 --precise ver
where `ver` is the latest version of `icu_provider` supporting rustc 1.63.0
error: package `rustls v0.23.23` cannot be built because it requires rustc 1.71 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.71 or newer, or use
cargo update -p rustls@0.23.23 --precise ver
where `ver` is the latest version of `rustls` supporting rustc 1.63.0
I am not very familiar with the rust toolchain and the current scanner part but the docs propose to use rustup instead of the rustc packages from Debian. As always Debian Stable packages are often too old for development related tools.
yeah i see it now…2 sections after the section i’m currently working on
i tried building in fedora but hit the wall with a cmake parse error so will try the rust install they have here then go back to where it failed and (try to) move on
well, it doesn’t seem like they tested their documentation. i tried with fedora but didn’t make it as far as i did with debian as one of the cmake commands failed with a parsing error (stating that a certain value should be something different) so I tried debian again with a new install. got to the same point where i hit the wall before and manually installed rustup. had to specify the full path to cargo but was able to move on from there and finish the installation