Can't run pacman -Syu.
:: Synchronizing package databases...
core 158.2 KiB 70.7 KiB/s 00:02 [##########################] 100%
extra 1765.0 KiB 1462 KiB/s 00:01 [##########################] 100%
community 6.7 MiB 6.06 MiB/s 00:01 [##########################] 100%
multilib 176.2 KiB 568 KiB/s 00:00 [##########################] 100%
:: Starting full system upgrade...
:: Replace med with community/med-openmpi? [Y/n]
:: Replace python-crypto with community/python-pycryptodome? [Y/n]
:: Replace wxgtk-common with extra/wxwidgets-common? [Y/n]
:: Replace wxgtk3 with extra/wxwidgets-gtk3? [Y/n]
resolving dependencies...
looking for conflicting packages...
:: hdf5-openmpi and hdf5 are in conflict. Remove hdf5? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python-crypto breaks dependency 'python-crypto=2.6.1' required by python-pycrypto
About this post
- Posted
- Archived
- Score
- 51 · 86% up
- Kind
- Text
- ID
- wranvv
47 comments
pacman -Qo python-pycryptopacman -SyuDoesn't it say it's python-pycrypto?
fixed, thanks
sudo rm -rf /
No more dependencies, no more conflicts.
Finally, a truly bloat-free system.
This is too real it really hurts
Step 4, eh
Apparently an AUR package that got removed. A Google search still shows it, but the link returns a 404.
I ran pacman -Syu, and it didn't work. I tried running it again by saying y to removing hdf5, but it still didn;t finish. Here is my output.
EDIT: Nevermind, I fixed the issue by running pacman -Sy archlinux-keyring.
This sometimes happens with AUR packages. Occasionally I have had to temporarily uninstall a package or two, update the system packages, and then reinstall the problematic package. Although it seems like about 75% of the time, I don't bother reinstalling the package at all as it turns out it was/had become unnecessary.
Why is it always python packages though? 🤣
Python dependecy management is a mess.
https://xkcd.com/1987/
Because you're trying to install developer packages system wide. Use a python virtual environment.
Or qt5-styleplugins
Somebody thought it was a good idea for the arch standard to be pacman/aur for python packages instead of depending on the standard pip repositories so now we have a mess of poorly maintained arch mirrors
Maybe overly critical of what was a well intentioned idea but historically it has caused me endless issues
Could you instead say no to this, then perform the update.
So keep python-crypto by answering N and when you do a pacman -syu again it will prompt for the same replacement.
This would allow you to update but it may not solve the dependency issue.
python-pycrypto is probably conflicted with new update.
pacman -Sy archlinux-keyring
I suppose you haven't updated for some time?
Isn't using "-Sy" considered dangerous?
For installing Programs, yes. But for replacing the keyrinf IIRC you need it...
And /etc/pacman.conf Enable core, extra, community, multilib-testing, multilib
I had the same problem with MPI. I had to delete the freecad package to continue, but I can't install it again now
I did this and it went fine.
pip list and see if the package is installed with pip. If it is, remove the package installed with pip.
Deleted before we saved it.
Puthon-pypcrypto is causing your issue, it wants to delete one of it's dependencies for some reason