Sentencepiece and python-sentencepiece

A couple of days ago, I had to update these two packages: python-sentencepiece from 0.2.1-1 to 0.2.1-2 and sentencencepiece as above. The update failed because it couldn’t find the libgcc and libstdc++ dependencies. The problem was that these two dependencies were already included in gcc, a package in the official repositories, so the update failed.
A couple of days later, the two sentencepiece packages were updated. The problem was that this update also produced errors:

Conflicting files:

> - libstdc++-snapshot: /usr/lib/libstdc++.so already exists in the filesystem (owned by gcc-libs)
> - libstdc++-snapshot: /usr/lib/libstdc++.so.6 already exists in the filesystem (owned by gcc-libs)
> - libstdc++-snapshot: /usr/share/locale/de/LC_MESSAGES/libstdc++.mo already exists in the filesystem (owned by gcc-libs)
> - libstdc++-snapshot: /usr/share/locale/fr/LC_MESSAGES/libstdc++.mo already exists in the filesystem (owned by gcc-libs)
> - libgcc-snapshot: /usr/lib/libgcc_s.so already exists in the filesystem (owned by gcc-libs)
> - libgcc-snapshot: /usr/lib/libgcc_s.so.1 already exists in the filesystem (owned by gcc-libs)

Again, the dependencies are already included in gcc and gcc-libs and the update fails.
Any solutions?

This is a case highlighting why using AUR on stable branch may cause issues.

So - If you are using stable branch - you will have to wait or switch to testing or unstable.

 $ mbn info glibc -q
Branch         : archlinux
Name           : glibc
Version        : 2.43+r5+g856c426a7534-1
Repository     : core
Build Date     : Mon 09 Feb 2026 12:31:58 
Packager       : Frederik Schwan <freswa@archlinux.org>
Branch         : unstable
Name           : glibc
Version        : 2.43+r5+g856c426a7534-1
Repository     : core
Build Date     : Mon 09 Feb 2026 12:31:58 
Packager       : Frederik Schwan <freswa@archlinux.org>
Branch         : testing
Name           : glibc
Version        : 2.43+r5+g856c426a7534-1
Repository     : core
Build Date     : Mon 09 Feb 2026 12:31:58 
Packager       : Frederik Schwan <freswa@archlinux.org>
Branch         : stable
Name           : glibc
Version        : 2.42+r51+gcbf39c26b258-2
Repository     : core
Build Date     : Mon 26 Jan 2026 14:18:32 
Packager       : Frederik Schwan <freswa@archlinux.org>

It is impossible to guess why you are getting conflicts as there may be multiple causes.

  • One idea is that you built the glibc from source - (something like make && sudo make install)
  • Another idea is that the package you are building from AUR also provides the files.

Both of these are available as a -bin version - no compilation required
and with a higher version number as well.
https://aur.archlinux.org/packages?O=0&K=sentencepiece

2 Likes

OK, thanks for now.

Ok, i’ll try this.

UPDATE: ok, the update worked. Now i test if the packages work and then i mark as solution.
UPDATE 2 (2026-feb-19): after installing bin packages the system basically works but i have problems with argostranslate, python script gives error with the sentencepiece-bin. I guess i have to wait for the update of gcc (or use in PIP with menv) cause: " Arch Linux has split gcc-libs into libgcc, libstdc++ and more".
Anyway the problem was the update, so this is a solution.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.