Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] [SOLVED] Problem upgrading samba on multiarch  (Read 792 times)

Offline finotti

  • User
  • Posts: 296
[EN] [SOLVED] Problem upgrading samba on multiarch
« on: 2025/01/13, 10:14:38 »
DISCLAIMER: This happened with my aptosid box, but I'd assume it might also be a problem for siduction.

Today I did a DU.  With straight apt, hplip was to be removed, so I tried solver 3.0, and there only python3-samba and python3-ldb (I am pretty sure that this second package was the python3 one to be removed, but not 100% sure, but I am sure about python3-samba).  But the update finished with an error.  Here is the error when I try apt -f install:

Code: [Select]
# apt -f install
Summary:                       
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 39
  12 not fully installed or removed.
  Space needed: 0 B / 14.5 GB available

dpkg: dependency problems prevent configuration of libtevent0t64:amd64:
 libtevent0t64:i386 (2:0.16.1+samba4.21.3+dfsg-5) breaks libtevent0 (<< 2:4.21.3+dfsg-5) and is unpacked but not configured.
  libtevent0t64:amd64 (2:0.16.1+samba4.21.3+dfsg-5) provides libtevent0.

dpkg: error processing package libtevent0t64:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libtevent0t64:i386:
 libtevent0t64:amd64 (2:0.16.1+samba4.21.3+dfsg-5) breaks libtevent0 (<< 2:4.21.3+dfsg-5) and is unpacked but not configured.
  libtevent0t64:i386 (2:0.16.1+samba4.21.3+dfsg-5) provides libtevent0.

dpkg: error processing package libtevent0t64:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
 samba depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:amd64 is not configured yet.

dpkg: error processing package samba (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of winbind:
 winbind depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:amd64 is not configured yet.

dpkg: error processing package winbind (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-libs:amd64:
 samba-libs:amd64 depends on libtevent0t64 (>= 2:0.16.1+samba4.21.3+dfsg-5); however:
  Package libtevent0t64:amd64 is not configured yet.

dpkg: error processing package samba-libs:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-libs:i386:
 samba-libs:i386 depends on libtevent0t64 (>= 2:0.16.1+samba4.21.3+dfsg-5); however:
  Package libtevent0t64:i386 is not configured yet.

dpkg: error processing package samba-libs:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smbclient:
 smbclient depends on samba-libs (= 2:4.21.3+dfsg-5); however:
  Package samba-libs:amd64 is not configured yet.
 smbclient depends on libndr5 (>= 2:4.20.0~rc1); however:
  Package libndr5 is not installed.
  Package samba-libs:amd64 which provides libndr5 is not configured yet.
 smbclient depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:amd64 is not configured yet.

dpkg: error processing package smbclient (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
 samba-common-bin depends on libndr5 (>= 2:4.20.0~rc1); however:
  Package libndr5 is not installed.
  Package samba-libs:amd64 which provides libndr5 is not configured yet.
 samba-common-bin depends on libsmbldap2 (>= 2:4.16.6); however:
  Package libsmbldap2 is not installed.
  Package samba-libs:amd64 which provides libsmbldap2 is not configured yet.
 samba-common-bin depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:amd64 is not configured yet.
 samba-common-bin depends on samba-libs (= 2:4.21.3+dfsg-5); however:
  Package samba-libs:amd64 is not configured yet.

dpkg: error processing package samba-common-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsmbclient0:amd64:
 libsmbclient0:amd64 depends on samba-libs (= 2:4.21.3+dfsg-5); however:
  Package samba-libs:amd64 is not configured yet.
 libsmbclient0:amd64 depends on libndr5 (>= 2:4.17.2); however:
  Package libndr5 is not installed.
  Package samba-libs:amd64 which provides libndr5 is not configured yet.
 libsmbclient0:amd64 depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:amd64 is not configured yet.

dpkg: error processing package libsmbclient0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsmbclient0:i386:
 libsmbclient0:i386 depends on samba-libs (= 2:4.21.3+dfsg-5); however:
  Package samba-libs:i386 is not configured yet.
 libsmbclient0:i386 depends on libndr5 (>= 2:4.17.2); however:
  Package samba-libs:i386 which provides libndr5 is not configured yet.
 libsmbclient0:i386 depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:i386 is not configured yet.

dpkg: error processing package libsmbclient0:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libldb2:amd64:
 libldb2:amd64 depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:amd64 is not configured yet.

dpkg: error processing package libldb2:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libldb2:i386:
 libldb2:i386 depends on libtevent0t64 (>= 0.15.0); however:
  Package libtevent0t64:i386 is not configured yet.

dpkg: error processing package libldb2:i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libtevent0t64:amd64
 libtevent0t64:i386
 samba
 winbind
 samba-libs:amd64
 samba-libs:i386
 smbclient
 samba-common-bin
 libsmbclient0:amd64
 libsmbclient0:i386
 libldb2:amd64
 libldb2:i386
Error: Sub-process /usr/bin/dpkg returned an error code (1)

dpkg --configure -a gives me pretty much the same.

I found the following bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092881  A fix might be coming soon.
« Last Edit: 2025/01/16, 01:26:46 by finotti »

Offline eriefisher

  • User
  • Posts: 334
Re: Problem upgrading samba on multiarch
« Reply #1 on: 2025/01/13, 12:13:09 »
Your running both 32 and 64bit and they seem to be conflicting. Try removing one of them. the 32bit version.

Offline seasons

  • User
  • Posts: 282
Re: Problem upgrading samba on multiarch
« Reply #2 on: 2025/01/14, 05:20:03 »
It was fixed today. The hplip issue is something different: https://release.debian.org/transitions/html/python3.13-default.html

Offline finotti

  • User
  • Posts: 296
Re: Problem upgrading samba on multiarch
« Reply #3 on: 2025/01/16, 01:27:35 »
It was fixed today. The hplip issue is something different: https://release.debian.org/transitions/html/python3.13-default.html

Indeed it was fixed.  I could dist-upgrade without problems.