Hi, what would be the right way to upgrade an existing Samba 4.22 on Trixie with the now existing Backports to 4.23. (Thanks Michael for your work!) When I try "apt install samba/trixie-backports" on a member server I get this: Selected version '2:4.23.3+dfsg-1~bpo13+1' (Debian Backports:stable-backports [arm64]) for 'samba' Selected version '2:4.23.3+dfsg-1~bpo13+1' (Debian Backports:stable-backports [arm64]) for 'samba' 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: ?samba : Depends: samba-common-bin (= 2:4.23.3+dfsg-1~bpo13+1) but 2:4.22.4+dfsg-1~deb13u1 is to be installed ? ? ? ? ?Depends: samba-libs (= 2:4.23.3+dfsg-1~bpo13+1) but 2:4.22.4+dfsg-1~deb13u1 is to be installed Error: Unable to correct problems, you have held broken packages. Error: The following information from --solver 3.0 may provide additional context: ? ?Unable to satisfy dependencies. Reached two conflicting decisions: ? ?1. samba-common-bin:arm64=2:4.23.3+dfsg-1~bpo13+1 Depends samba-libs (= 2:4.23.3+dfsg-1~bpo13+1) ? ? ? but none of the choices are installable: ? ? ? - samba-libs:arm64=2:4.23.3+dfsg-1~bpo13+1 is not selected for install ? ?2. samba-common-bin:arm64=2:4.23.3+dfsg-1~bpo13+1 is selected as an upgrade because: ? ? ? 1. samba:arm64=2:4.23.3+dfsg-1~bpo13+1 is selected as an upgrade ? ? ? 2. samba:arm64=2:4.23.3+dfsg-1~bpo13+1 Depends samba-common-bin (= 2:4.23.3+dfsg-1~bpo13+1) Shouldn't the dependencies be resolved automatically? I tried to resolve them manually and it seemed only worked partly. wbinfo gets information from my domain, but getent passwd AD\username no longer. So, what would be the right way? Unistalling 4.22 and then just install 4.23? -- Regards Ingo https://github.com/WAdama
Michael Tokarev
2025-Nov-12 11:39 UTC
[Samba] Upgrade Samba 4.22 with Trixie Backports 4.23
On 11/12/25 13:37, Ingo Asche via samba wrote:> Hi, > > what would be the right way to upgrade an existing Samba 4.22 on Trixie > with the now existing Backports to 4.23. (Thanks Michael for your work!) > > When I try "apt install samba/trixie-backports" on a member server I get > this: > > Selected version '2:4.23.3+dfsg-1~bpo13+1' (Debian Backports:stable- > backports [arm64]) for 'samba' > Selected version '2:4.23.3+dfsg-1~bpo13+1' (Debian Backports:stable- > backports [arm64]) for 'samba' > 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: > ?samba : Depends: samba-common-bin (= 2:4.23.3+dfsg-1~bpo13+1) but > 2:4.22.4+dfsg-1~deb13u1 is to be installedPlease, everyone, learn to use debian backports. This is not specific to samba, it works equally for any software you install from bpo. You tell apt to install just samba package from bpo13. But samba package needs other dependencies (like samba-common-bin) from the same bpo13. But you didn't let apt to install other deps from non-default repository.> Shouldn't the dependencies be resolved automatically?Exactly, once you let apt to do its work. apt install -t trixie-backports samba This has been discussed to death multiple times in the past. Tanks, /mjt
Michael Tokarev
2025-Nov-12 11:40 UTC
[Samba] Upgrade Samba 4.22 with Trixie Backports 4.23
On 11/12/25 13:37, Ingo Asche via samba wrote:> Hi, > > what would be the right way to upgrade an existing Samba 4.22 on Trixie > with the now existing Backports to 4.23. (Thanks Michael for your work!)And here's anther question, which I'd love to have answer for. *Why* people want to upgrade samba from 4.22 to 4.23 in this case? What new features 4.23 provides which are needed, or which shortcomings 4.22 has compared to 4.23? Thanks, /mjt
Luis Peromarta
2025-Nov-12 16:43 UTC
[Samba] Upgrade Samba 4.22 with Trixie Backports 4.23
http://samba.bigbird.es/doku.php?id=samba:installing-from-backports Do: echo "deb?http://deb.debian.org/debian?trixie-backports main contrib non-free" >> /etc/apt/sources.list And apt-get update &&??apt-get install -t trixie-backports samba On Nov 12, 2025 at 10:37 +0000, Ingo Asche <foren at asche-rz.de>, wrote:> > When I try "apt install samba/trixie-backports" on a member server I get > this: