You are not logged in.

#1 2023-06-03 11:54:01

donaastor
Member
Registered: 2022-03-14
Posts: 73

[SOLVED] Can't update because an AUR package breaks dependency

Hello,
I don't update my system often so there are too many old packages to be updated. I have just tried running `sudo pacman -Syu`, but I got the following error:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing llvm-libs (15.0.7-3) breaks dependency 'llvm-libs=14.0.6' required by mesa-git

I see what's wrong, I just don't know how to solve it. Updating using `pikaur` gives the same error. There is a newer version of `mesa-git` which depends on llvm-libs 15.0.7, but pikaur somehow doesn't see that as a good thing. Any help please?

Last edited by donaastor (2023-06-03 13:50:06)

Offline

#2 2023-06-03 12:02:23

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] Can't update because an AUR package breaks dependency

Also, specifically this package `mesa-git` is there because Arch wiki says that it has some support for new Navi cards, but it's been there for a long time. Maybe that support actually is within regular mesa by now?

Last edited by donaastor (2023-06-03 12:02:42)

Offline

#3 2023-06-03 12:09:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Can't update because an AUR package breaks dependency

generally you uninstall it, update, then reinstall it. Doesn't work well in the case of mesa, though.

You could build the new version in a clean chroot then add it to a local repo, or you could reinstall the repo version of mesa while updating (pacman -Syu mesa), then reinstall mesa-git later.

Offline

#4 2023-06-03 13:09:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,128

Re: [SOLVED] Can't update because an AUR package breaks dependency

mesa-git switched to llvm 15.0.7 on january 18 .  Approximately every 3 months a new stable mesa is branched off that starts with everything mesa-git had on the date it was branched .

If you don't rebuild mesa-git regularly*, you're much better off with stable mesa from repos.


* i do it atleast once a week, but once a month may also work. Any longer time between mesa-git rebuilds is a bad idea.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-06-03 13:49:55

donaastor
Member
Registered: 2022-03-14
Posts: 73

Re: [SOLVED] Can't update because an AUR package breaks dependency

Lone_Wolf wrote:

If you don't rebuild mesa-git regularly*, you're much better off with stable mesa from repos.

Thank you. With that on mind, I resolved my problem running simply `pacman -Su mesa`. This replaced mesa-git and installed mesa properly.

Offline

Board footer

Powered by FluxBB