On Sun, 12 Jan 2025 21:29:27 +0300 Michael Tokarev <m...@tls.msk.ru> wrote:
What do you mean by "vise-versa"?

I mean that AFAIU it seems that the amd64 package breaks the i386 one, and the i386 package breaks the amd64 one.

There's no libtevent0 package anymore, so it can't break anything.

libtevent0t64 provides libtevent0.

> I had to downgrade to previous version (4.21.3+dfsg-4 and 
2.10.0+samba4.21.3+dfsg-4) of all those packages to repair the system.

What's the error message you're getting?

-----%<-----
(Reading database ... 279797 files and directories currently installed.)
Preparing to unpack .../0-libtevent0t64_2%3a0.16.1+samba4.21.3+dfsg-5_amd64.deb ... De-configuring libtevent0t64:i386 (2.10.0+samba4.21.3+dfsg-4), to allow configuration of libtevent0t64:amd64 (2:0.16.1+samba4.21.3+dfsg-5) ... Unpacking libtevent0t64:amd64 (2:0.16.1+samba4.21.3+dfsg-5) over (2.10.0+samba4.21.3+dfsg-4) ... Preparing to unpack .../1-libtevent0t64_2%3a0.16.1+samba4.21.3+dfsg-5_i386.deb ... Unpacking libtevent0t64:i386 (2:0.16.1+samba4.21.3+dfsg-5) over (2.10.0+samba4.21.3+dfsg-4) ...
Preparing to unpack .../2-libsmbclient0_2%3a4.21.3+dfsg-5_i386.deb ...
De-configuring libsmbclient0:amd64 (2:4.21.3+dfsg-4), to allow configuration of libsmbclient0:i386 (2:4.21.3+dfsg-5) ...
Unpacking libsmbclient0:i386 (2:4.21.3+dfsg-5) over (2:4.21.3+dfsg-4) ...
Preparing to unpack .../3-libsmbclient0_2%3a4.21.3+dfsg-5_amd64.deb ...
Unpacking libsmbclient0:amd64 (2:4.21.3+dfsg-5) over (2:4.21.3+dfsg-4) ...
Preparing to unpack .../4-libldb2_2%3a2.10.0+samba4.21.3+dfsg-5_amd64.deb ... De-configuring libldb2:i386 (2:2.10.0+samba4.21.3+dfsg-4), to allow configuration of libldb2:amd64 (2:2.10.0+samba4.21.3+dfsg-5) ... Unpacking libldb2:amd64 (2:2.10.0+samba4.21.3+dfsg-5) over (2:2.10.0+samba4.21.3+dfsg-4) ...
Preparing to unpack .../5-libldb2_2%3a2.10.0+samba4.21.3+dfsg-5_i386.deb ...
Unpacking libldb2:i386 (2:2.10.0+samba4.21.3+dfsg-5) over (2:2.10.0+samba4.21.3+dfsg-4) ...
Preparing to unpack .../6-samba-libs_2%3a4.21.3+dfsg-5_amd64.deb ...
De-configuring samba-libs:i386 (2:4.21.3+dfsg-4), to allow configuration of samba-libs:amd64 (2:4.21.3+dfsg-5) ...
Unpacking samba-libs:amd64 (2:4.21.3+dfsg-5) over (2:4.21.3+dfsg-4) ...
Preparing to unpack .../7-samba-libs_2%3a4.21.3+dfsg-5_i386.deb ...
Unpacking samba-libs:i386 (2:4.21.3+dfsg-5) over (2:4.21.3+dfsg-4) ...
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-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 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
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libc-bin (2.40-5) ...
Errors were encountered while processing:
 libtevent0t64:amd64
 libtevent0t64:i386
 samba-libs:amd64
 samba-libs:i386
 libsmbclient0:amd64
 libsmbclient0:i386
 libldb2:amd64
 libldb2:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
----->%-----

I can easily upgrade samba install from -4 to -5 without any issues whatsoever.
There's also automatic piupart test which is run before any upload, which 
ensures
the packages can be upgraded without a problem.

Does the piupart test tries to install amd64 and i386 versions of the library packages together ?

Please provide an error message you've got.

Please read above.

Regards,

--
Raphaël Halimi

Reply via email to