samba:installing-from-backports
Install Samba binaries from backports
Remember that Debian does not upgrade to major Samba versions. For example, Debian 12 is and will remain at 4.17.x. Debian Backports (Jun 24) is providing 4.19.6
Let's see where you are at. Example:
# As of June 2024 apt-cache policy samba samba: Installed: (none) Candidate: 2:4.17.12+dfsg-0+deb12u1 Version table: 2:4.19.6+dfsg-3~bpo12+1 100 100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages 2:4.17.12+dfsg-0+deb12u1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 500 http://security.debian.org bookworm-security/main amd64 Packages 2:4.17.9+dfsg-0+deb12u3 500 500 http://deb.debian.org/debian bookworm-updates/main amd64 Packages
Check builds first, see what you can expect from this repo:
https://buildd.debian.org/status/package.php?p=samba&suite=bookworm-backports
For Debian 12, add this source:
echo "deb http://deb.debian.org/debian bookworm-backports main contrib non-free" >> /etc/apt/sources.list
Run:
apt-get update && apt-cache policy samba samba: Installed: (none) Candidate: 2:4.17.10+dfsg-0+deb12u1 Version table: 2:4.19.3+dfsg-1~bpo12+1 100 100 http://deb.debian.org/debian bookworm-backports/main arm64 Packages 2:4.17.10+dfsg-0+deb12u1 500 500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages 2:4.17.9+dfsg-0+deb12u3 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 500 http://deb.debian.org/debian bookworm-updates/main arm64 Packages
We are not yet ready to install version 4.19.3, as apt-cache (candidate) insists on using 4.17. Therefore it is necessary to add -t bookworm-backports
to the apt-get install command.
After that, you can proceed with the installation of either a DC or a member server.
Caponato's Samba notebook. Start here or else Main menu
samba/installing-from-backports.txt ยท Last modified: 2024/06/02 14:03 by caponato