You are not logged in.
Hi all,
I am getting the following error on running pacman -Syu:
...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing protobuf (3.11.1-2) breaks dependency 'protobuf=3.10.1' required by python2-protobuf
I am aware, that partial upgrades are unsupported. That's why I am hesitant to do any of the 'fixes' I found so far.
I'd love to get an advice what I can or should do.
Thanks.
Last edited by jared (2019-12-21 11:01:47)
Offline
AUR packages are your responsibility, not pacmans.
Uninstall python2-protobuf, update the system, and then rebuild/reinstall python2-protobuf.
Offline
FWIW, python2-protobuf was in [extra] until last week https://git.archlinux.org/svntogit/pack … 829d2dbe55, but this is a good opportunity to re-assess whether you still need python2 package (as py2 is EOL in two weeks time).
Last edited by WorMzy (2019-12-18 11:58:32)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
@Slithery,
thank you for your quick reply.
I had to remove not only python2-protobuf but also python2-axolotl.
I updated, tried to reinstall the two:
$ pacman -S python2-axolotl
[sudo] password for user:
error: target not found: python2-axolotl
[user@host ~]
$ pacman -S python2-protobuf
error: target not found: python2-protobuf
Apart from that, everything seems fine.
It seems I have problems with the Heroku-CLI package https://aur.archlinux.org/packages/heroku-cli. Looking into that now.
How do you know, that AUR packages are causing the problem, not from pacman?
Again, thank you for your help!
Offline
How do you know, that AUR packages are causing the problem, not from pacman?
It is not absolute. It is more an application of Occam's razor. Packages in Core and Extra are carefully scrutinized by devs before they are moved to the repositories. TUs do the same before things move to community. This work (almost) guarantees there will be no issues with broken dependencies.
When it comes to the AUR, that task falls upon you. As the blocking package is not in the three main repositories, it did not get updated. Pacman noticed that an update would break the dependencies for that foreign package and therefore blocked. After the system was updated, you were able to rebuild the foreign package against the new libraries (which are the new dependencies for that package -- you can check that with pacman -Qi packagename)
It could have been a package in one of the three main repositories -- it has happened in the past -- but the probability is much closer to 1 that the fault was an AUR package that had been installed by the user.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Python2 is EOL in two weeks? How do you know that? And what it means: will I have to uninstall python2 and all it's dependencies?
Offline
How do you know, that AUR packages are causing the problem, not from pacman?
Because pacman complained about python2-protobuf, which is an AUR package.
Offline
Python2 is EOL in two weeks? How do you know that? And what it means: will I have to uninstall python2 and all it's dependencies?
https://pythonclock.org/
https://www.python.org/dev/peps/pep-0373/
https://www.infoworld.com/article/33652 … hon-2.html
https://www.theregister.co.uk/2019/09/0 … on_2_2020/
https://stackoverflow.com/questions/483 … python-2-7
No, you do not need to remove it. It is likely still a dependency of other things you may have installed (last I checked, mercurical still requires it)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
See https://wiki.archlinux.org/index.php/Us … conversion and that list only covers packages that list python2 as a direct dependency.
Offline
Thank you for your help everyone.
Enjoy the festive season.
Offline