Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required (Read 2251 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

updating yay with:
Code: [Select]
yay
got following error message:
Code: [Select]
error: failed to prepare transaction (could not satisfy dependencies)
:: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required by libphonenumber
 -> error installing repo packages
updating with pacman:
Code: [Select]
pacman -Syyu
got following error message:
Code: [Select]
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libprotobuf.so=28-64' required by libphonenumber
looking for package with:
Code: [Select]
yay protobuf
got following output:
Code: [Select]
6 extra/python-protobuf 3.19.1-1 (303.6 KiB 1.8 MiB) 
    Python 3 bindings for Google Protocol Buffers
5 extra/protobuf-c 1.4.0-2 (105.3 KiB 314.0 KiB) (Installed: 1.4.0-1)
    Protocol Buffers implementation in C
4 extra/protobuf 3.19.1-1 (2.1 MiB 9.7 MiB) (Installed: 3.17.3-3)
    Protocol Buffers - Google's data interchange format
3 world/python-protobuf 3.19.1-1 (304.5 KiB 1.8 MiB)
    Python 3 bindings for Google Protocol Buffers
2 world/protobuf-c 1.4.0-2 (105.2 KiB 314.0 KiB) (Installed: 1.4.0-1)
    Protocol Buffers implementation in C
1 world/protobuf 3.19.1-1 (2.2 MiB 10.0 MiB) (Installed: 3.17.3-3)
    Protocol Buffers - Google's data interchange format
==> Packages to install (eg: 1 2 3, 1-3 or ^4)

How can I remedy to it/this?

Thanks in advance and regards




Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #1
https://wiki.artixlinux.org/Main/Repositories
Quote
Artix has its own set of official repositories which must take precedence over any other 3rd party ones.

Update: It seems that world/libphonenumber indeed requires libprotobuf.so=28-64. We are currently investigating this.



Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #4
Try installing libphonenumber now, it should be propagated to mirrors.
Thanks again!
Updates with `yay` almost all went well, till this part:
Code: [Select]
(24/25) Updating the desktop file MIME type cache...
(25/25) Updating the vlc plugin cache...
:: Searching databases for updates...
:: Searching AUR for updates...
 -> archlinux-appstream-data: ignoring package upgrade (20211122-1 => 20211210-1)
 -> Missing AUR Packages:  kross-interpreters  python2-apipkg  python2-asn1crypto  python2-atomicwrites  python2-attrs  python2-backports  python2-backports.functools_lru_cache  python2-cffi  python2-chardet  python2-configparser  python2-contextlib2  python2-cryptography  python2-funcsigs  python2-importlib-metadata  python2-iniconfig  python2-ipaddress  python2-more-itertools  python2-pathlib2  python2-pluggy  python2-ply  python2-py  python2-pycparser  python2-pyopenssl  python2-requests  python2-scandir  python2-urllib3  python2-wcwidth  python2-zipp
:: 3 Packages to upgrade.
3  aur/conan                1.43.0-2       -> 1.43.2-1
2  aur/kotatogram-desktop   1.4.5-2        -> 1.4.5-3
1  aur/yandex-browser-beta  21.9.1.600_1-1 -> 21.11.3.954_1-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==> q
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:3]  conan-1.43.2-1  kotatogram-desktop-1.4.5-3  yandex-browser-beta-21.11.3.954_1-1

  3 conan                            (Installed) (Build Files Exist)
  2 kotatogram-desktop               (Installed) (Build Files Exist)
  1 yandex-browser-beta              (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> ^C
What should/can I do here?
P.S.: I thought `python2` would be obsolete


Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #6
Can you post /etc/pacman.conf (use https://paste.artixlinux.org)? Make sure you aren't ignoring packages.
https://paste.artixlinux.org/d3b1479c

I don't use `pamac` but sometimes I look there for packages-name like a graphical `yay`.

`archlinux-appstream-data` is not part of AUR which report the error in my former post, but maybe i' wrong.


Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #7
Code: [Select]
IgnorePkg   = archlinux-appstream-data
That's the source of the problem. You should comment out this line. Don't ignore packages.

Edit: Python 2 is indeed deprecated and any python2-* packages should be uninstalled. Other than that, those other packages are from AUR (=unsupported by Artix).

Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #8

That's the source of the problem. You should comment out this line. Don't ignore packages.

Edit: Python 2 is indeed deprecated and any python2-* packages should be uninstalled. Other than that, those other packages are from AUR (=unsupported by Artix).

Which command let reload `pacman.conf` after line is commented out or deleted?

I know that AUR-packages are not supported by Artix, could you anyway make a suggestion or have i to start a thread and where to start it?


 

Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #10
I really don't know if it applies here, it's not clear to me if these are normal expected AUR updates for things you have installed or not, but you have to be a bit careful when an AUR helper starts suddenly building stuff from the AUR on updates that it had not been doing before. What can happen is that you might have a package installed which is removed from the repos so it no longer gets updated. The AUR helper could fall back to looking for updates in the AUR, but the package might be obsolete and no longer needed by the system, and can be safely removed. So you need to try and research the situation on a case by case basis to try and keep tabs on what's going on. There are AUR packages that have genuine build or runtime requirements for older versions of things including Python 2 incidentally.

Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #11
I really don't know if it applies here, it's not clear to me if these are normal expected AUR updates for things you have installed or not, but you have to be a bit careful when an AUR helper starts suddenly building stuff from the AUR on updates that it had not been doing before. What can happen is that you might have a package installed which is removed from the repos so it no longer gets updated. The AUR helper could fall back to looking for updates in the AUR, but the package might be obsolete and no longer needed by the system, and can be safely removed. So you need to try and research the situation on a case by case basis to try and keep tabs on what's going on. There are AUR packages that have genuine build or runtime requirements for older versions of things including Python 2 incidentally.

How can I update/upgrade single packages from AUR?
Of course is not my intention to install deprecated packages like py2.
Here the list without package-name after `yay` :
Code: [Select]
3  aur/conan                1.43.0-2       -> 1.43.2-1
2  aur/kotatogram-desktop   1.4.5-2        -> 1.4.5-3
1  aur/yandex-browser-beta  21.9.1.600_1-1 -> 21.11.3.954_1-1

and with package-name after `yay`:
Code: [Select]
aur/conan 1.43.2-1 (+54 2.06) (Installed: 1.43.0-2)
aur/kotatogram-desktop 1.4.5-3 (+10 1.44) (Installed: 1.4.5-2)
aur/yandex-browser-beta 21.11.3.954_1-1 (+78 1.03) (Installed: 21.9.1.600_1-1)
maybe calling `yay + package-name` for installing latest version?

Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #12
Thank you All for the great support.

 Everything works flawless following your solution and suggests.

Thanks again and best regards.

Re: installing protobuf (3.19.1-1) breaks dependency 'libprotobuf.so=28-64' required

Reply #13
In /etc/pacman.conf you could have a line like this for example (this is just an example, probably you wouldn't want to block updates on all these):
IgnorePkg = conan kotatogram-desktop yandex-browser-beta
then none of those three packages would be updated on -Syu upgrades. To update them, you would have to do "yay -S conan" or remove the conan entry from the IgnorePkg line (or substitute the name of any other "ignored" package) before running -Syu again. So that's how you can arrange it so some packages will only be updated when you want, while others can be updated as normal.
You can also tell yay to not update AUR packages, as explained in the README.md:
How can I tell Yay to act only on AUR packages, or only on repo packages?
yay -{OPERATION} --aur yay -{OPERATION} --repo
https://github.com/Jguer/yay