Open Un1q32 opened 2 years ago
Do you have a sudo
command? If not, can you perhaps install one and try again?
Your options are
https://github.com/r-darwish/topgrade/blob/4e6f48caefa42c5cf418bbcd34296e88e749c2a0/src/utils.rs#L106-L109
Do you have a
sudo
command? If not, can you perhaps install one and try again? Your options are
I was using a basic docker container to build for another platform and did not have a sudo command. You should really add a proper error message when none is found, and maybe skip the check when already running as root.
also you should add su
as a fallback if theres nothing else, since basicly everything has su
I can't speak for the developer, but personally I'd like to see this reopened. At the very least, topgrade should produce a proper error instead of a panic.
I can't speak for the developer, but personally I'd like to see this reopened. At the very least, topgrade should produce a proper error instead of a panic.
True. I'll reopen.
What did you expect to happen?
topgrade to run normally
What actually happened?
It didn't
Additional Details