[Samba] Upgrading from samba version 4.20.5 to 4.21.1 using Debian Bookworm-backports

spindles seven spindles7 at gmail.com
Wed Nov 6 09:50:44 UTC 2024


Hi
I tried to update a member server's samba version from 4.20.5 to 4.21.1 using Bookworm-backports and get the following error:

roy at moggy:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
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:

The following packages have unmet dependencies:
 samba : Breaks: samba-ad-dc (< 2:4.20.1+dfsg-2~) but 2:4.17.12+dfsg-0+deb12u1 is to be installed
         Breaks: samba-ad-provision (< 2:4.20.5+dfsg) but 2:4.17.12+dfsg-0+deb12u1 is to be installed
E: Broken packages

The following packages are installed:
roy at moggy:~$ sudo dpkg -l | grep samba
ii  libldb2:amd64                      2:2.9.1+samba4.20.5+dfsg-1~bpo12+1        amd64        LDAP-like embedded database - shared library
ii  python3-ldb                        2:2.9.1+samba4.20.5+dfsg-1~bpo12+1        amd64        Python 3 bindings for LDB
ii  python3-samba                      2:4.20.5+dfsg-1~bpo12+1                   amd64        Python 3 bindings for Samba
ii  samba                              2:4.20.5+dfsg-1~bpo12+1                   amd64        SMB/CIFS file, print, and login server for Unix
ii  samba-common                       2:4.20.5+dfsg-1~bpo12+1                   all          common files used by both the Samba server and client
ii  samba-common-bin                   2:4.20.5+dfsg-1~bpo12+1                   amd64        Samba common files used by both the server and the client
ii  samba-dsdb-modules:amd64           2:4.20.5+dfsg-1~bpo12+1                   amd64        Samba Directory Services Database
ii  samba-libs:amd64                   2:4.20.5+dfsg-1~bpo12+1                   amd64        Samba core libraries
ii  samba-vfs-modules                  2:4.20.5+dfsg-1~bpo12+1                   amd64        Samba Virtual FileSystem plugins (transitional package)

So not sure why it is trying to install samba-ad-dc and samba-ad-provision as this is a member server not a DC.    (I  tried it on another member server with the same result).

Any advice how to proceed please?

Thanks,

Roy




More information about the samba mailing list