Manjaro insists on a distro-breaking system update. Doesn't allow me to install most packages

I'm running the latest manjaro deepin image (downloaded and installed on 15/4)

I just switched over from Mint + Windows (I'm still dual booting but that's irrelevant) I tried installing all sorts of packages, like kde-connect , and mysql workbench, but this is my terminal output:

[liran@liran-pc ~]$ sudo pacman -Suu
[sudo] password for liran: 
:: Starting full system upgrade...
:: Replace geoclue2 with extra/geoclue? [Y/n] n
:: Replace libsystemd with core/systemd-libs? [Y/n] n
:: Replace pamac with extra/pamac-gtk? [Y/n] n
:: Replace xorg-mkfontdir with extra/xorg-mkfontscale? [Y/n] n
resolving dependencies...
looking for conflicting packages...
:: systemd-libs and libsystemd are in conflict. Remove libsystemd? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: systemd-libs and libsystemd are in conflict
[liran@liran-pc ~]$ 

I already tried saying yes and downloading the 1GB it requested, but that resulted in my installation corrupting so bad I had to fire the installer up and format the partition to start over. I did try googling my issue to see what I get, and all I could find was something similar but not the same - that was about to break an installation - hence why I reinstalled.

How do I cancel this distro-breaking (apparently arch) update? I still want to receive manjaro stable updates, I just don't want them to be distro-breaking ones.

Manjaro is rolling so you should accept all the upgrades or none of them. Partial updates aren't really practical in a rolling distro.

When you get replacement notices like the ones above you should pretty much always answer "Y".

If you provide specifics about the errors you get after a full upgrade we should be able to help you work through it.

7 Likes

The use of the sudo pacman -Suu is not recommended.

Please refer to this page: https://wiki.manjaro.org/index.php?title=Pacman_Tips

:grin:

I don't have it right now because I don't have the time to reinstall Manjaro in the next few hours, but I can tell you that whenever I tried to run Pacman afterwards, I'd face an error saying that the PGP keys are corrupt no matter what I do or which package I try to install. I tried running scripts to fix Pacman after the update, to no avail.

If you get us the exact error when you have time we should be able to resolve it.

If you try to install software without updating your system it can absolutely result in a broken system. You need to make sure your system is up-to-date before trying to install any software.

I would recommend use sudo pacman -Syyu to do you system update.

Something like that?

1 Like

You're running with a very old set of Manjaro packages.

Always use the most recent installer image.

Why would a Manjaro Deepin image I downloaded yesterday be a very old version? It doesn't make sense... And then when I try to update, it breaks my system!

Could this have anything to do with it?

Warning: dependency cycle detected:
Warning: bashrc-manjaro will be installed before its bash dependency
Warning: dependency cycle detected:
Warning: harfbuzz will be installed before its freetype2 dependency
Warning: dependency cycle detected:
Warning: libglvnd will be installed before its mesa dependency
Warning: dependency cycle detected:
Warning: nvidia-utils will be installed before its libglvnd dependency
Warning: dependency cycle detected:
Warning: xorg-server will be installed before its libglvnd dependency
Warning: dependency cycle detected:
Warning: egl-wayland will be installed before its mesa dependency
Warning: dependency cycle detected:
Warning: nvidia-utils will be installed before its mesa dependency
Warning: dependency cycle detected:
Warning: deepin-launcher will be installed before its startdde dependency
Warning: dependency cycle detected:
Warning: x264 will be installed before its ffmpeg dependency
Warning: dependency cycle detected:
Warning: lib32-mesa will be installed before its lib32-libglvnd dependency
Warning: dependency cycle detected:
Warning: lib32-nvidia-utils will be installed before its lib32-libglvnd dependency

Post the link to where you got it and we might find out...

Probably not. As long as you are updating everything it will normally be fine.

Strangely enough , I just tried again and it did work.

Primusrun requires running as root though, and when I googled that, it said that I should add myself to the bumblebee group, which is exactly what I've done.

I don't know much about primusrun but in order for group changes to take effect you need to log out and back in again.

If you found an old ISO some odd place?

Official: https://osdn.net/projects/manjaro/storage/
Community: https://osdn.net/projects/manjaro-community/storage/

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