On 15.07.2024 21:22, Eduardo Miranda via samba wrote:> Hello > > The repos of the backports branch for version 4.20 of Samba are giving > me the following error: > > apt-get install -t bookworm-backports samba samba-ad-dc krb5-user > krb5-config samba-a > d-provision samba-dsdb-modules samba-vfs-modules winbind > libnss-winbind smbclient tdb-tools > Reading package lists... Done > Building dependency tree... Done > Reading state information... 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 : Depends: samba-common (= 2:4.20.2+dfsg-5~bpo12+1) but > 2:4.20.2+dfsg-7 is to be installed > ???????? Depends: samba-common-bin (= 2:4.20.2+dfsg-5~bpo12+1) but it > is not going to be installed > ???????? Breaks: samba-ad-provision (< 2:4.20.2+dfsg) but > 2:4.17.12+dfsg-0+deb12u1 is to be installed > ???????? Recommends: attr but it is not going to be installed > ?samba-ad-dc : Breaks: samba-ad-provision (< 2:4.20.2+dfsg) but > 2:4.17.12+dfsg-0+deb12u1 is to be installed > ?smbclient : Depends: samba-common (= 2:4.20.2+dfsg-5~bpo12+1) but > 2:4.20.2+dfsg-7 is to be installed > ?winbind : Depends: samba-common (= 2:4.20.2+dfsg-5~bpo12+1) but > 2:4.20.2+dfsg-7 is to be installed > ?????????? Depends: samba-common-bin (= 2:4.20.2+dfsg-5~bpo12+1) but > it is not going to be installed > E: Unable to correct problems, you have held broken packages. > > > I have used it recently and it had not caused any problems, but today > I have not been able to > > Best regards > > Eduardo > > >Hi Eduardo, It happened to me also yesterday. I wanted to update samba backports from 4.20.2-dfsg-2 to 4.20.2-dfsg-5, and everything ended up in a mess. When I couldn't get anywhere, I waited until this morning, cleaned the apt cache, and made a new installation, and got 4.20.2-dfsg-6 instead. I had to rejoin the member server to the domain, so do backup smb.conf and nsswitch.conf, in case things go wrong. HTH, Peter
Just trying now on a brean new container and I see no issues: apt-get update && apt-get install --no-install-recommends samba samba-ad-dc krb5-user krb5-config samba-ad-provision samba-dsdb-modules samba-vfs-modules winbind libnss-winbind smbclient tdb-tools -t bookworm-backports Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://deb.debian.org/debian bookworm-backports InRelease Reading package lists... Done N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware' N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: ??dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libarchive13 libassuan0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2 ??libgpgme11 libgssrpc4 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libksba8 libldb2 libncurses6 libnpth0 libpython3.11 libsmbclient libtalloc2 libtdb1 libtevent0 liburing2 ??libwbclient0 pinentry-curses python3-dnspython python3-ldb python3-markdown python3-samba python3-talloc python3-tdb samba-common samba-common-bin samba-libs Suggested packages: ??dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon krb5-k5tls lrzip cups-common krb5-doc libpam-winbind pinentry-doc python3-sniffio python3-trio python3-aioquic ??python-markdown-doc ctdb ufw samba-vfs-ceph samba-vfs-glusterfs bind9 bind9utils ldb-tools ntp | chrony heimdal-clients cifs-utils Recommended packages: ??libgpm2 python3-cryptography python3-h2 python3-httpx python3-requests-toolbelt python3-pygments python3-yaml python3-gpg attr libpam-winbind The following NEW packages will be installed: ??dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm krb5-config krb5-user libarchive13 libassuan0 libavahi-client3 libavahi-common-data ??libavahi-common3 libcups2 libgpgme11 libgssrpc4 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libksba8 libldb2 libncurses6 libnpth0 libnss-winbind libpython3.11 libsmbclient ??libtalloc2 libtdb1 libtevent0 liburing2 libwbclient0 pinentry-curses python3-dnspython python3-ldb python3-markdown python3-samba python3-talloc python3-tdb samba samba-ad-dc ??samba-ad-provision samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient tdb-tools winbind 0 upgraded, 53 newly installed, 0 to remove and 18 not upgraded. Need to get 25.3 MB of archives. After this operation, 112 MB of additional disk space will be used. Do you want to continue? [Y/n] On Jul 16, 2024 at 15:54 +0100, Peter Milesson via samba <samba at lists.samba.org>, wrote:> > > > It happened to me also yesterday. > > instructions: https://lists.samba.org/mailman/options/samba