Public bug reported: apt mentioned a root password is required before sudo can be removed. I was attempting to reinstall sudo due to a uid 0 error. I managed to recreate the issue a second time by changing the owner to my ID and then back, which is shown in the screenshot below.
ProblemType: Package DistroRelease: Ubuntu 20.10 Package: sudo 1.9.1-1ubuntu1.1 ProcVersionSignature: Ubuntu 5.8.0-49.55-generic 5.8.18 Uname: Linux 5.8.0-49-generic x86_64 ApportVersion: 2.20.11-0ubuntu50.5 Architecture: amd64 CasperMD5CheckResult: skip Date: Sat Apr 17 13:21:18 2021 ErrorMessage: installed sudo package pre-removal script subprocess returned error exit status 1 InstallationDate: Installed on 2021-04-13 (3 days ago) InstallationMedia: Ubuntu 20.10.0 2021.04.12 amd64 "Bloody Bong" (20210412) Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1 PythonDetails: N/A RebootRequiredPkgs: network-manager RelatedPackageVersions: dpkg 1.20.5ubuntu2 apt 2.1.10ubuntu0.3 SourcePackage: sudo Title: package sudo 1.9.1-1ubuntu1.1 failed to install/upgrade: installed sudo package pre-removal script subprocess returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) VisudoCheck: /etc/sudoers: parsed OK /etc/sudoers.d/README: parsed OK ** Affects: sudo (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package groovy ** Attachment added: "Screenshot from 2021-04-17 13-36-15.png" https://bugs.launchpad.net/bugs/1924864/+attachment/5489330/+files/Screenshot%20from%202021-04-17%2013-36-15.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1924864 Title: package sudo 1.9.1-1ubuntu1.1 failed to install/upgrade: installed sudo package pre-removal script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1924864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs