My Ubuntu 24.04.1 is a broken "sudo input: /usr/bin/sudo"

I need a serious answer I checked everything!
I think I worked out after a system Upate!

@zrock23 Welcome to the ubuntu discourse community.
Could you expand a little on what your issue is?
What are you trying to accomplish?
What command did you use?
What response did you get?

3 Likes

After I deleted the sudo file in/usr/bin/sudo($ /usr/bin/ rm sudo maybe!)
without apt reinstall sudo I just removed, it again from “1.9.14p2-1ubuntu1 : sudo : amd64 : Noble (24.04) : Ubuntu” and checked his version!

So to be clear, the issue is that you deleted the sudo command?

If so, AskUbuntu has your answer. tl;dr:

  1. Boot into recovery
  2. Drop into a root shell
  3. Remount the file system read-write
  4. Set up networking (if you have Ethernet, this is easy, as shown. WiFi is a lot more complicated)
  5. Reinstall the sudo package. The instructions included suggest purging and then installing. I suggest doing apt install --reinstall sudo

BTW, the most recent version is 1.9.15p5-3ubuntu5.

2 Likes