debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #03523
[Bug 2116147] [NEW] [sudo-rs] Ubuntu 25.10: Dependency conflict prevents sudo-rs installation (ubuntu-minimal depends on old sudo)
Public bug reported:
Problem Description
I am trying to install `sudo-rs` on my Ubuntu 25.10 (Questing Quokka) WSL instance, but I am encountering a dependency conflict that prevents the installation. The package manager (apt) gets into a loop where `sudo-rs` breaks `sudo` (old version), but core packages like `ubuntu-minimal` still depend on `sudo`.
Steps to Reproduce
1. Ensure Ubuntu 25.10 (Questing Quokka) is installed (WSL in my case).
2. Run system updates:
`sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y`
3. Attempt to install `sudo-rs`:
`sudo apt install sudo-rs -y`
Expected behaviour
`sudo-rs` should install successfully, replacing the old `sudo` package, and `ubuntu-minimal` (or other core dependencies) should recognize `sudo-rs` as fulfilling its dependency on `sudo`.
Actual behaviour
The installation fails with an "Unsatisfied dependencies" error, stating that `sudo-rs` breaks `sudo`, but `ubuntu-minimal` depends on `sudo`. The system refuses to make a conflicting decision, preventing `sudo-rs` from being installed.
Relevant Output
My current sudo version:
sudo -V
Sudo version 1.9.16p2
Sudoers policy plugin version 1.9.16p2
Sudoers file grammar version 50
Sudoers I/O plugin version 1.9.16p2
Sudoers audit plugin version 1.9.16p2
My Ubuntu version:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Questing Quokka (development branch)
Release: 25.10
Codename: questing
Output when trying to install `sudo-rs`:
apt install sudo-rs -y
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
sudo-rs : Breaks: sudo (< 1.9.16p2-1ubuntu2~)
Error: Unable to satisfy dependencies. Reached two conflicting decisions:
1. ubuntu-minimal:amd64 is selected for install
2. ubuntu-minimal:amd64 Depends sudo
but none of the choices are installable:
- sudo:amd64=1.9.16p2-1ubuntu1 is not selected for install because:
1. sudo-rs:amd64=0.2.5-5ubuntu1 is selected for install
2. sudo-rs:amd64 Breaks sudo (< 1.9.16p2-1ubuntu2~)
- sudo-ldap:amd64=1.9.16p2-1ubuntu1 is not selected for install because:
1. sudo-rs:amd64=0.2.5-5ubuntu1 is selected for install as above
2. sudo-rs:amd64 Breaks sudo-ldap (< 1.9.16p2-1ubuntu2~)
Additional Notes
This issue prevents the installation of `sudo-rs` which is expected to be the default `sudo` implementation in Ubuntu 25.10. I have attempted various manual `dpkg` and `apt` `--force` commands, including trying to force removal of old `sudo` (which resulted in `Command 'sudo' not found` but then `apt --fix-broken install` reinstalled the old `sudo` due to `ubuntu-minimal`'s dependency).
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: sudo 1.9.16p2-1ubuntu1
Uname: Linux 6.6.87.2-microsoft-standard-WSL2 x86_64
ApportVersion: 2.33.1-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jul 8 13:46:48 2025
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: sudo
UpgradeStatus: Upgraded to questing on 2025-07-08 (0 days ago)
VisudoCheck:
/etc/sudoers: parsed OK
/etc/sudoers.d/README: parsed OK
** Affects: sudo (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug questing wayland-session
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/2116147
Title:
[sudo-rs] Ubuntu 25.10: Dependency conflict prevents sudo-rs
installation (ubuntu-minimal depends on old sudo)
Status in sudo package in Ubuntu:
New
Bug description:
Problem Description
I am trying to install `sudo-rs` on my Ubuntu 25.10 (Questing Quokka) WSL instance, but I am encountering a dependency conflict that prevents the installation. The package manager (apt) gets into a loop where `sudo-rs` breaks `sudo` (old version), but core packages like `ubuntu-minimal` still depend on `sudo`.
Steps to Reproduce
1. Ensure Ubuntu 25.10 (Questing Quokka) is installed (WSL in my case).
2. Run system updates:
`sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y`
3. Attempt to install `sudo-rs`:
`sudo apt install sudo-rs -y`
Expected behaviour
`sudo-rs` should install successfully, replacing the old `sudo` package, and `ubuntu-minimal` (or other core dependencies) should recognize `sudo-rs` as fulfilling its dependency on `sudo`.
Actual behaviour
The installation fails with an "Unsatisfied dependencies" error, stating that `sudo-rs` breaks `sudo`, but `ubuntu-minimal` depends on `sudo`. The system refuses to make a conflicting decision, preventing `sudo-rs` from being installed.
Relevant Output
My current sudo version:
sudo -V
Sudo version 1.9.16p2
Sudoers policy plugin version 1.9.16p2
Sudoers file grammar version 50
Sudoers I/O plugin version 1.9.16p2
Sudoers audit plugin version 1.9.16p2
My Ubuntu version:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Questing Quokka (development branch)
Release: 25.10
Codename: questing
Output when trying to install `sudo-rs`:
apt install sudo-rs -y
Solving dependencies... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
sudo-rs : Breaks: sudo (< 1.9.16p2-1ubuntu2~)
Error: Unable to satisfy dependencies. Reached two conflicting decisions:
1. ubuntu-minimal:amd64 is selected for install
2. ubuntu-minimal:amd64 Depends sudo
but none of the choices are installable:
- sudo:amd64=1.9.16p2-1ubuntu1 is not selected for install because:
1. sudo-rs:amd64=0.2.5-5ubuntu1 is selected for install
2. sudo-rs:amd64 Breaks sudo (< 1.9.16p2-1ubuntu2~)
- sudo-ldap:amd64=1.9.16p2-1ubuntu1 is not selected for install because:
1. sudo-rs:amd64=0.2.5-5ubuntu1 is selected for install as above
2. sudo-rs:amd64 Breaks sudo-ldap (< 1.9.16p2-1ubuntu2~)
Additional Notes
This issue prevents the installation of `sudo-rs` which is expected to be the default `sudo` implementation in Ubuntu 25.10. I have attempted various manual `dpkg` and `apt` `--force` commands, including trying to force removal of old `sudo` (which resulted in `Command 'sudo' not found` but then `apt --fix-broken install` reinstalled the old `sudo` due to `ubuntu-minimal`'s dependency).
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: sudo 1.9.16p2-1ubuntu1
Uname: Linux 6.6.87.2-microsoft-standard-WSL2 x86_64
ApportVersion: 2.33.1-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jul 8 13:46:48 2025
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: sudo
UpgradeStatus: Upgraded to questing on 2025-07-08 (0 days ago)
VisudoCheck:
/etc/sudoers: parsed OK
/etc/sudoers.d/README: parsed OK
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2116147/+subscriptions
Follow ups