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

Author Topic: [EN] libsmbclient0 fails to install  (Read 2196 times)

Offline finotti

  • User
  • Posts: 337
[EN] libsmbclient0 fails to install
« on: 2026/03/03, 12:57:05 »
Today I got:

Code: [Select]
# apt full-upgrade
The following package was automatically installed and is no longer required:
  libicu76:i386
Use 'apt autoremove' to remove it.

Upgrading:
  bup                           libjavascriptcoregtk-6.0-1  libqt6printsupport6       libwebkitgtk-6.0-4
  bup-doc                       libkpathsea6                libqt6sql6                node-ansi-styles
  console-setup                 libldb2                     libqt6sql6-sqlite         pandoc
  console-setup-linux           libldb2:i386                libqt6test6               proj-bin
  evolution-data-server         libproj25                   libqt6webenginecore6      proj-data
  frei0r-plugins                libptexenc1                 libqt6webenginecore6-bin  python3-ldb
  gimp                          libqt5core5t64              libqt6webenginequick6     python3-samba
  gimp-data                     libqt5dbus5t64              libqt6webenginewidgets6   python3-talloc
  gir1.2-gimp-3.0               libqt5gui5t64               libqt6widgets6            python3-tdb
  gir1.2-javascriptcoregtk-4.1  libqt5network5t64           libqt6xml6                qml6-module-qt5compat-graphicaleffects
  gir1.2-webkit2-4.1            libqt5opengl5t64            libsmbclient0             qml6-module-qtwebengine
  keyboard-configuration        libqt5printsupport5t64      libsmbclient0:i386        qt5-gtk-platformtheme
  libcamel-1.2-64t64            libqt5sql5-sqlite           libsord-0-0               qt6-gtk-platformtheme
  libebackend-1.2-11t64         libqt5sql5t64               libsynctex2               qt6-qpa-plugins
  libebook-1.2-21t64            libqt5test5t64              libtalloc2                samba-common-bin
  libebook-contacts-1.2-4t64    libqt5widgets5t64           libtalloc2:i386           samba-libs
  libecal-2.0-3                 libqt5xml5t64               libtdb1                   samba-libs:i386
  libedata-book-1.2-27t64       libqt6concurrent6           libtdb1:i386              smbclient
  libedata-cal-2.0-2t64         libqt6core5compat6          libtevent0t64             tdb-tools
  libedataserver-1.2-27t64      libqt6core6t64              libtevent0t64:i386        texlive-binaries
  libedataserverui-1.2-4t64     libqt6dbus6                 libtexlua53-5             tuned
  libexiv2-28                   libqt6gui6                  libutempter0              unar
  libexiv2-data                 libqt6network6              libwbclient0              xournalpp
  libgimp-3.0-0                 libqt6opengl6               libwbclient0:i386
  libjavascriptcoregtk-4.1-0    libqt6openglwidgets6        libwebkit2gtk-4.1-0

Installing dependencies:
  libicu78:i386

Not upgrading:
  wine-staging  wine-staging-amd64  wine-staging-i386:i386  winehq-staging

Summary:
  Upgrading: 98, Installing: 1, Removing: 0, Not Upgrading: 4
  Download size: 0 B / 260 MB
  Space needed: 42.3 MB / 2,666 GB available

Continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database… 1230223 files and directories currently installed.)
Preparing to unpack …/00-console-setup-linux_1.246_all.deb…
Unpacking console-setup-linux (1.246) over (1.245)…
Preparing to unpack …/01-console-setup_1.246_all.deb…
Unpacking console-setup (1.246) over (1.245)…
Preparing to unpack …/02-keyboard-configuration_1.246_all.deb…
Unpacking keyboard-configuration (1.246) over (1.245)…
Preparing to unpack …/03-bup-doc_0.33.10-1_all.deb…
Unpacking bup-doc (0.33.10-1) over (0.33.9-1.2)…
Preparing to unpack …/04-bup_0.33.10-1_amd64.deb…

[snip]

Unpacking libsmbclient0:i386 (2:4.23.6+dfsg-1+b1) over (2:4.23.6+dfsg-1)…
Preparing to unpack …/44-libsmbclient0_2%3a4.23.6+dfsg-1+b1_amd64.deb…
Unpacking libsmbclient0:amd64 (2:4.23.6+dfsg-1+b1) over (2:4.23.6+dfsg-1)…
dpkg: error processing archive /tmp/apt-dpkg-install-948VUc/44-libsmbclient0_2%3a4.23.6+dfsg-1+b1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/man/man7/libsmbclient.7.gz', which is different from other instances of package libsmbclient0:amd64
Preparing to unpack …/45-smbclient_2%3a4.23.6+dfsg-1+b1_amd64.deb…

[snip]

Unpacking unar (1.10.8+ds1-9+b1) over (1.10.8+ds1-9)…
Preparing to unpack …/98-xournalpp_1.3.3-1_amd64.deb…
Unpacking xournalpp (1.3.3-1) over (1.3.2-1)…
Errors were encountered while processing:
 /tmp/apt-dpkg-install-948VUc/44-libsmbclient0_2%3a4.23.6+dfsg-1+b1_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

And "apt -f install" does not fix it:

Code: [Select]
# apt -f install
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libicu76:i386
Use 'apt autoremove' to remove it.

Upgrading:
  libsmbclient0

Summary:
  Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 4
  99 not fully installed or removed.
  Download size: 0 B / 80.1 kB
  Space needed: 1,024 B / 2,666 GB available

Continue? [Y/n]
(Reading database… 1230302 files and directories currently installed.)
Preparing to unpack …/libsmbclient0_2%3a4.23.6+dfsg-1+b1_amd64.deb…
Unpacking libsmbclient0:amd64 (2:4.23.6+dfsg-1+b1) over (2:4.23.6+dfsg-1)…
dpkg: error processing archive /var/cache/apt/archives/libsmbclient0_2%3a4.23.6+dfsg-1+b1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/man/man7/libsmbclient.7.gz', which is different from other instances of package libsmbclient0:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libsmbclient0_2%3a4.23.6+dfsg-1+b1_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

I found no bug reports...

Offline Teriarch

  • User
  • Posts: 217
Re: libsmbclient0 fails to install
« Reply #1 on: 2026/03/03, 13:18:31 »
The bug i due to a very unfortunate situation and concerns multi-arch systems. The man page

/usr/share/man/man7/libsmbclient.7.gz

of the i386 and amd64 Debian packages of libsmbclient became published before
and shortly after midnight. Since the man page includes this date, they became different
(albeit in only one byte). On multiarch systems shared files must be exactly the same and
hence the package manager complains and refuses to complete the installation with
consequences for all remaining packages. It is possible to remedy the situation by replacing
the manpage of one architecture package by the other, but it's probably not worth the effort.
I suggest you simply wait; it'll come to them sooner or later.