From bdcb5b79e499f2530b1335955bc34af99b4c94cd Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Fri, 18 Nov 2022 14:45:30 +0100 Subject: [PATCH] Fix debian hint As far as I can tell `protobuf3-compiler` doesn't actually exist in `apt`. --- prost-build/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prost-build/src/lib.rs b/prost-build/src/lib.rs index 3f1eda21b..6c531275e 100644 --- a/prost-build/src/lib.rs +++ b/prost-build/src/lib.rs @@ -1272,7 +1272,7 @@ pub fn protoc_from_env() -> PathBuf { let os_specific_hint = if cfg!(target_os = "macos") { "You could try running `brew install protobuf` or downloading it from https://github.com/protocolbuffers/protobuf/releases" } else if cfg!(target_os = "linux") { - "If you're on debian, try `apt-get install protobuf3-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases" + "If you're on debian, try `apt-get install protobuf-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases" } else { "You can download it from https://github.com/protocolbuffers/protobuf/releases or from your package manager." };