As the title says, sudo is not working after the latest update (which also updated the sudo pkg, pkg releases history).
Every thing was working just fine and after updating my system yesterday and rebooting my laptop, now I can’t use sudo, it doesn’t even prompt me for password or anything.
I have also tryed to use timeshift to restore my system, but it not working properly now, I guess because of the same issue.
I also use KDE Plasma 6 DE, one thing I noticed that may help is that mounting partitions works from dolphin file manager but mounting them from terminal using sudo mount -t ext4 /dev/sda1 /path didn’t work as any other command that requires sudo permission.
Yeah I was able to update after removing the db file as @ddnn adviced, and I rebooted my system afterwards but I still have the sudo command issue. Idk if I should use run0 from now on or I can revert to the older version of the sudo pkg that was working
I get that error should I remove it first then install it again?
~ ❯ run0 pacman -Syu
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
~ ❯ run0 pacman -S sudo 4s
warning: sudo-1.9.15.p5-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
core/sudo 1.9.15.p5-2 1.9.15.p5-2 7.58 MiB
Total Installed Size: 7.58 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [--------------------------------------------] 100%
(1/1) checking package integrity [--------------------------------------------] 100%
(1/1) loading package files [--------------------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
sudo: /usr/bin/cvtsudoers exists in filesystem
sudo: /usr/bin/sudo exists in filesystem
sudo: /usr/bin/sudo_logsrvd exists in filesystem
sudo: /usr/bin/sudo_sendlog exists in filesystem
sudo: /usr/bin/sudoedit exists in filesystem
sudo: /usr/bin/sudoreplay exists in filesystem
sudo: /usr/bin/visudo exists in filesystem
sudo: /usr/include/sudo_plugin.h exists in filesystem
sudo: /usr/lib/sudo/audit_json.so exists in filesystem
sudo: /usr/lib/sudo/group_file.so exists in filesystem
sudo: /usr/lib/sudo/libsudo_util.so exists in filesystem
sudo: /usr/lib/sudo/libsudo_util.so.0 exists in filesystem
sudo: /usr/lib/sudo/libsudo_util.so.0.0.0 exists in filesystem
sudo: /usr/lib/sudo/sudo_intercept.so exists in filesystem
sudo: /usr/lib/sudo/sudo_noexec.so exists in filesystem
sudo: /usr/lib/sudo/sudoers.so exists in filesystem
sudo: /usr/lib/sudo/system_group.so exists in filesystem
sudo: /usr/lib/systemd/system/sudo_logsrvd.service exists in filesystem
sudo: /usr/lib/tmpfiles.d/sudo.conf exists in filesystem
sudo: /usr/share/doc/sudo/CONTRIBUTING.md exists in filesystem
sudo: /usr/share/doc/sudo/CONTRIBUTORS.md exists in filesystem
sudo: /usr/share/doc/sudo/ChangeLog exists in filesystem
sudo: /usr/share/doc/sudo/HISTORY.md exists in filesystem
sudo: /usr/share/doc/sudo/LICENSE.md exists in filesystem
sudo: /usr/share/doc/sudo/NEWS exists in filesystem
sudo: /usr/share/doc/sudo/README.LDAP.md exists in filesystem
sudo: /usr/share/doc/sudo/README.md exists in filesystem
sudo: /usr/share/doc/sudo/SECURITY.md exists in filesystem
sudo: /usr/share/doc/sudo/TROUBLESHOOTING.md exists in filesystem
sudo: /usr/share/doc/sudo/UPGRADE.md exists in filesystem
sudo: /usr/share/doc/sudo/examples/cvtsudoers.conf exists in filesystem
sudo: /usr/share/doc/sudo/examples/pam.conf exists in filesystem
sudo: /usr/share/doc/sudo/examples/sudo.conf exists in filesystem
sudo: /usr/share/doc/sudo/examples/sudo_logsrvd.conf exists in filesystem
sudo: /usr/share/doc/sudo/examples/sudoers exists in filesystem
sudo: /usr/share/doc/sudo/examples/syslog.conf exists in filesystem
sudo: /usr/share/doc/sudo/schema.ActiveDirectory exists in filesystem
sudo: /usr/share/doc/sudo/schema.OpenLDAP exists in filesystem
sudo: /usr/share/doc/sudo/schema.iPlanet exists in filesystem
sudo: /usr/share/doc/sudo/schema.olcSudo exists in filesystem
sudo: /usr/share/licenses/sudo/LICENSE.md exists in filesystem
sudo: /usr/share/locale/ast/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ast/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/ca/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ca/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/cs/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/cs/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/da/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/da/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/de/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/de/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/el/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/eo/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/eo/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/es/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/es/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/eu/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/eu/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/fa/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/fi/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/fi/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/fr/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/fr/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/fur/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/fur/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/gl/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/hr/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/hr/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/hu/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/hu/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/id/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/it/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/it/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/ja/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ja/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/ka/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ka/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/ko/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ko/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/lt/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/nb/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/nb/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/nl/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/nl/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/nn/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/pl/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/pl/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/pt/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/pt/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/pt_BR/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/pt_BR/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/ro/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ro/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/ru/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/ru/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/sk/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/sk/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/sl/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/sl/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/sq/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/sr/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/sr/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/sv/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/sv/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/tr/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/tr/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/uk/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/uk/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/vi/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/vi/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/zh_CN/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/zh_CN/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/locale/zh_TW/LC_MESSAGES/sudo.mo exists in filesystem
sudo: /usr/share/locale/zh_TW/LC_MESSAGES/sudoers.mo exists in filesystem
sudo: /usr/share/man/man1/cvtsudoers.1.gz exists in filesystem
sudo: /usr/share/man/man5/sudo.conf.5.gz exists in filesystem
sudo: /usr/share/man/man5/sudo_logsrv.proto.5.gz exists in filesystem
sudo: /usr/share/man/man5/sudo_logsrvd.conf.5.gz exists in filesystem
sudo: /usr/share/man/man5/sudo_plugin.5.gz exists in filesystem
sudo: /usr/share/man/man5/sudoers.5.gz exists in filesystem
sudo: /usr/share/man/man5/sudoers.ldap.5.gz exists in filesystem
sudo: /usr/share/man/man5/sudoers_timestamp.5.gz exists in filesystem
sudo: /usr/share/man/man8/sudo.8.gz exists in filesystem
sudo: /usr/share/man/man8/sudo_logsrvd.8.gz exists in filesystem
sudo: /usr/share/man/man8/sudo_sendlog.8.gz exists in filesystem
sudo: /usr/share/man/man8/sudoedit.8.gz exists in filesystem
sudo: /usr/share/man/man8/sudoreplay.8.gz exists in filesystem
sudo: /usr/share/man/man8/visudo.8.gz exists in filesystem
Errors occurred, no packages were upgraded.
Yeah, I wanted to try the zen kernel and I had two kernels installed the LTS and the stable kernel, so i removed the stable and kept the LTS along with the zen kernel which I currently use.
I also installed grub customizer because I wanted an easy way to change grub timer and to hide the extra options that appear while booting like the fallback mode