You are not logged in.

#1 2024-12-23 15:49:54

dogfoofa
Member
Registered: 2024-12-23
Posts: 1

Whenever I try to pacman -Syu i recieve an errror.

Whenever I attempt to update my system with <sudo pacman -Syu> I receive the following error: <hyprutils-0.3.0-1 and hyprutils-git-0.2.3.r3.gfd4be8b9-1 are in conflict. Remove hyprutils-git?> if I type Y I receive <:: removing hyprutils-git breaks dependency 'hyprutils-git' required by hyprcursor-git
:: removing hyprutils-git breaks dependency 'hyprutils-git' required by hyprlang-git>. If I type N I receive: <hyprutils-0.3.0-1 and hyprutils-git-0.2.3.r3.gfd4be8b9-1 are in conflict>. How do I fix this?

Last edited by dogfoofa (2024-12-25 16:50:13)

Offline

#2 2024-12-23 15:55:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: Whenever I try to pacman -Syu i recieve an errror.

You need to either update your foreign packages or replace them with the repos versions. The latter is easiest, just add them to the update command.

Last edited by Scimmia (2024-12-23 17:15:33)

Offline

#3 2024-12-23 16:39:10

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,543
Website

Re: Whenever I try to pacman -Syu i recieve an errror.

Please remove the superfluous 'urgent' from your topic title.

https://wiki.archlinux.org/title/Genera … ow_to_post

Mod note: moving to AUR Issues.


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

#4 2024-12-24 14:40:46

rb12
Member
Registered: 2023-10-24
Posts: 7

Re: Whenever I try to pacman -Syu i recieve an errror.

I'm also facing the issue above and could not find a way to simply replace with the `repo` version.

Offline

#5 2024-12-24 15:30:23

loqs
Member
Registered: 2014-03-06
Posts: 18,198

Re: Whenever I try to pacman -Syu i recieve an errror.

rb12 wrote:

I'm also facing the issue above and could not find a way to simply replace with the `repo` version.

What package do you want to replace with the repo version? What command have you tried so far and what output has that produced?

Offline

#6 2024-12-26 17:37:24

rb12
Member
Registered: 2023-10-24
Posts: 7

Re: Whenever I try to pacman -Syu i recieve an errror.

> What package do you want to replace with the repo version? What command have you tried so far and what output has that produced?

```
❯ yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Packages not in AUR: nwg-look-bin
-> Missing AUR Debug Packages: nwg-look-bin-debug  swww-debug
-> Flagged Out Of Date AUR Packages: cato-client-bin  grpcurl  libmongocrypt
:: 4 packages to upgrade/install.
4  extra/aquamarine                   0.5.1-1  -> 0.5.1-3
3  extra/hyprgraphics                 0.1.1-1  -> 0.1.1-3
2  extra/hyprland                     0.46.2-1 -> 0.46.2-4
1  extra/xdg-desktop-portal-hyprland  1.3.9-1  -> 1.3.9-3
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==>
Sync Explicit (2): hyprland-0.46.2-4, xdg-desktop-portal-hyprland-1.3.9-3
Sync Dependency (2): aquamarine-0.5.1-3, hyprgraphics-0.1.1-3
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: hyprutils-0.3.0-1 and hyprutils-git-0.2.6.r5.gc3331116-1 are in conflict. Remove hyprutils-git? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing hyprutils-git breaks dependency 'hyprutils-git' required by hyprlang-git
-> error installing repo packages
```

Notice that I cannot also remove `hyprland-git`:

```
❯ yay -R hyprlang-git
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing hyprlang-git breaks dependency 'hyprlang' required by hyprcursor
:: removing hyprlang-git breaks dependency 'libhyprlang.so=2-64' required by hyprcursor
:: removing hyprlang-git breaks dependency 'hyprlang' required by hyprland
:: removing hyprlang-git breaks dependency 'libhyprlang.so=2-64' required by hyprland
:: removing hyprlang-git breaks dependency 'hyprlang' required by xdg-desktop-portal-hyprland
:: removing hyprlang-git breaks dependency 'libhyprlang.so=2-64' required by xdg-desktop-portal-hyprland
-> exit status 1
```

It feels like a deadlock to me.

Last edited by rb12 (2024-12-26 17:38:27)

Offline

#7 2024-12-26 18:21:13

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,543
Website

Re: Whenever I try to pacman -Syu i recieve an errror.

See #2.

Try, e.g.

pacman -Syu hyprlang

Also, these forums don't support markdown, use bbcode instead: https://bbs.archlinux.org/help.php#bbcode


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

#8 2024-12-26 20:01:25

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,295

Re: Whenever I try to pacman -Syu i recieve an errror.

Honestly, I've found the easiest way to fix this is to wait a day or two until everything else catches up. It's been so rare that I've either had to downgrade packages, or suffer bad updates. Unless, of course, you are building out of tree packages, at which point, that's on you.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#9 2024-12-27 03:27:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: Whenever I try to pacman -Syu i recieve an errror.

Roken wrote:

Honestly, I've found the easiest way to fix this is to wait a day or two until everything else catches up. It's been so rare that I've either had to downgrade packages, or suffer bad updates. Unless, of course, you are building out of tree packages, at which point, that's on you.

That is not at all true when packages are from the AUR.

Offline

#10 2025-01-03 12:00:31

rb12
Member
Registered: 2023-10-24
Posts: 7

Re: Whenever I try to pacman -Syu i recieve an errror.

I'm still facing the issue. Any suggestions on how to overcome it?

Offline

#11 2025-01-03 12:11:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,177

Re: Whenever I try to pacman -Syu i recieve an errror.

You have tried wormzy' suggestion in post #7 of this thread ?


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

Online

#12 2025-01-03 12:26:26

rb12
Member
Registered: 2023-10-24
Posts: 7

Re: Whenever I try to pacman -Syu i recieve an errror.

I managed to workaround with a terrible solution:

 
❯ sudo pacman -Rdd hyprutils-git
❯ sudo ln -sf /usr/lib64/libhyprutils.so.0.3.1 /usr/lib64/libhyprutils.so.1^C

Sounds very brittle to me but it at least allowed me to continue with my day

Offline

#13 2025-01-03 12:29:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,267

Re: Whenever I try to pacman -Syu i recieve an errror.

Seriously people, don't use the AUR if you can't handle simple conflicts or follow simple instructions.

DO NOT DO WHAT rb12 DID.

Offline

#14 2025-01-03 16:46:41

seth
Member
Registered: 2012-09-03
Posts: 60,508

Re: Whenever I try to pacman -Syu i recieve an errror.

rb12 wrote:

Sounds very brittle to me but it at least allowed me to continue with my day

You misspelled "dumb".

You're keeping older git versions of ovrhyped-stuff around, replace both packages w/ the 0.3 repo version at the same time.
This is also the approach WorMzy suggested and it's a tid-bit offensive to show up with a request for help, get it, but ignore it and then make everyone else watch you punching yourself in the face.

The recent versions of hyprload-stuff are apparently ABI incompatible so you better *actually* fix this or get ready to watch your wayland compositor frequently crash on you out of nowhere with borderline unusable backtraces.
Do not fix stuff by cross-version symlinking libraries. Ever. They're versioned for a reason.

Offline

#15 2025-01-15 14:40:39

mackin_cheese
Member
Registered: 2025-01-07
Posts: 89

Re: Whenever I try to pacman -Syu i recieve an errror.

rb12 wrote:

I managed to workaround with a terrible solution:

 
❯ sudo pacman -Rdd hyprutils-git
❯ sudo ln -sf /usr/lib64/libhyprutils.so.0.3.1 /usr/lib64/libhyprutils.so.1^C

Sounds very brittle to me but it at least allowed me to continue with my day

All you had to do was the first command line, the second one was not necessary at all.

Offline

Board footer

Powered by FluxBB