Unable to satisfy dependency 'libhyprutils.so=1-64

I fix the wallpaper problem. Mode+s to enter G-Hyprland. Select Backgrounds and Background Type “Static”. Reboot. It is ok.

And Thanks @hiropon . It is fix it.
But update not complete.
New problem is

:: Starting full system upgrade...
:: Replace dbus-python with extra/python-dbus? [Y/n] y
resolving dependencies...
looking for conflicting packages...
warning: removing 'hyprutils-0.2.0-1' from target list because it conflicts with 'hyprutils-git-0.2.0.r3.g962582a0-1'
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libhyprutils.so=1-64' required by hyprland
1 Like
sudo pacman -Rdd hyprutils
sudo pacman -Syu --overwrite '*'

It give target not found error:

× sudo pacman -Rdd hyprutils
error: target not found: hyprutils

so continue same error:

sudo pacman -Syu --overwrite '*'
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
:: Replace dbus-python with extra/python-dbus? [Y/n] y
resolving dependencies...
looking for conflicting packages...
warning: removing 'hyprutils-0.2.0-1' from target list because it conflicts with 'hyprutils-git-0.2.0.r3.g962582a0-1'
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libhyprutils.so=1-64' required by hyprland

Yes, sorry.
There is a log in problem with missing libhyprutils.so=0 I build hyprutils, and this fixed the problem.
After update and doing what I post above, I break again the log in part.

[root@y7p hyprutils]# git clone https://github.com/hyprwm/hyprutils.git
cd hyprutils/
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
sudo cmake --install build
Cloning into 'hyprutils'...
remote: Enumerating objects: 259, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 259 (delta 56), reused 57 (delta 38), pack-reused 172
Receiving objects: 100% (259/259), 54.62 KiB | 2.28 MiB/s, done.
Resolving deltas: 100% (109/109), done.
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring hyprutils in Release
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Checking for module 'pixman-1'
--   Found pixman-1, version 0.43.4
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /hyprutils/hyprutils/build
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/path/Path.cpp.o
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/string/String.cpp.o
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/signal/Signal.cpp.o
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/signal/Listener.cpp.o
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/math/Box.cpp.o
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/math/Vector2D.cpp.o
[ 41%] Building CXX object CMakeFiles/hyprutils.dir/src/math/Region.cpp.o
[ 47%] Building CXX object CMakeFiles/hyprutils.dir/src/string/VarList.cpp.o
[ 52%] Linking CXX shared library libhyprutils.so
[ 52%] Built target hyprutils
[ 76%] Building CXX object CMakeFiles/hyprutils_signal.dir/tests/signal.cpp.o
[ 76%] Building CXX object CMakeFiles/hyprutils_string.dir/tests/string.cpp.o
[ 76%] Building CXX object CMakeFiles/hyprutils_memory.dir/tests/memory.cpp.o
[ 76%] Building CXX object CMakeFiles/hyprutils_math.dir/tests/math.cpp.o
[ 82%] Linking CXX executable hyprutils_memory
[ 82%] Built target hyprutils_memory
[ 88%] Linking CXX executable hyprutils_math
[ 94%] Linking CXX executable hyprutils_signal
[ 94%] Built target hyprutils_math
[ 94%] Built target hyprutils_signal
[100%] Linking CXX executable hyprutils_string
[100%] Built target hyprutils_string
-- Install configuration: "Release"
-- Installing: /usr/lib/libhyprutils.so.0.2.0
-- Installing: /usr/lib/libhyprutils.so.1
-- Installing: /usr/lib/libhyprutils.so
-- Up-to-date: /usr/include/hyprutils
-- Up-to-date: /usr/include/hyprutils/math
-- Installing: /usr/include/hyprutils/math/Box.hpp
-- Installing: /usr/include/hyprutils/math/Misc.hpp
-- Installing: /usr/include/hyprutils/math/Region.hpp
-- Installing: /usr/include/hyprutils/math/Vector2D.hpp
-- Up-to-date: /usr/include/hyprutils/memory
-- Installing: /usr/include/hyprutils/memory/SharedPtr.hpp
-- Installing: /usr/include/hyprutils/memory/WeakPtr.hpp
-- Installing: /usr/include/hyprutils/path
-- Installing: /usr/include/hyprutils/path/Path.hpp
-- Up-to-date: /usr/include/hyprutils/signal
-- Installing: /usr/include/hyprutils/signal/Listener.hpp
-- Installing: /usr/include/hyprutils/signal/Signal.hpp
-- Up-to-date: /usr/include/hyprutils/string
-- Installing: /usr/include/hyprutils/string/String.hpp
-- Installing: /usr/include/hyprutils/string/VarList.hpp
-- Installing: /usr/lib/pkgconfig/hyprutils.pc

So please, just wait some days for the upstream fix.

So, there is nothing I can do for now except wait for update information from you?

Building again, hyprutils, did not fix my login problem like last time.

Looks like it doesn’t affect all users.
Or not many have updated their system yet. :smiley:

https://aur.archlinux.org/packages/hyprutils-git

ln -s libhyprutils.so libhyprutils.so.0

Honestly, when I solved the “maximum size exceeded” problem and tried the complete update in the morning, it went smoothly.
But 1 hour later try again (setup assistant) it gives this error.
So I think most people do not experience this problem because they have not updated yet.
Because I even formatted the computer completely, but the problem was not solved :slight_smile:

Hyprland(-git) deps are a mess from what I’ve seen. They change frequently and AUR PKGBUILDs seemingly aren’t updated quick enough to keep up. There have been multiple fixes done to the -git packages I witnessed yesterday, along with the introduction of a new dep (aquamarine).

3 Likes

I think hyprland is trying to convince me not to use it. However, this not only annoys me but also causes problems for many users :sweat_smile:

Is hyprland-git still being made available by chaotic aur ? :eyes:

AFAIK we have switched from hyprland-git to hyprland , so there is no need to keep them up in chaotic , I guess :thinking:

Ran into the same conflict on a garuda-update.

I ended up removing hyprpicker-git package, and I stopped running into the conflicting hyprutils-git error on update and was able to complete the update without issue.

1 Like

Not on my System. :slight_smile:

LANG=C upd
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 chaotic-aur                                                                           761,1 KiB  1613 KiB/s 00:00 [--------------------------------------------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: removing 'hyprutils-0.2.0-1' from target list because it conflicts with 'hyprutils-git-0.2.0.r3.g962582a0-1'
:: hyprutils-git-0.2.0.r3.g962582a0-1 and hyprutils-0.1.5-2 are in conflict. Remove hyprutils? [y/N] 
n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: hyprutils-git-0.2.0.r3.g962582a0-1 and hyprutils-0.1.5-2 are in conflict

 ╭─sgs@hypr in ~ as 🧙 took 23s
 🕙 07:04:07
[🔴] × LANG=C pacman -Qi hyprpicker-git hyprpicker
error: package 'hyprpicker-git' was not found
error: package 'hyprpicker' was not found

On second (from 3) hypr install i have hyprpicker-git + hyprcursor-git
hyprpicker is a neat utility for picking a color from your screen on Hyprland. WTH !!! :wink:
On first I cant chroot, only TTY possible.

garuda-chroot -a
==> Detected systems:
 --> 0) Garuda_Linux
 --> 1) Garuda_Linux
==> Select system to mount [0-1] : 
1
==> Mounting (Garuda_Linux) [/dev/nvme0n1p8]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]
 --> mount: [/mnt/root]
 --> mount: [/mnt/srv]
 --> mount: [/mnt/var/cache]
 --> mount: [/mnt/var/log]
 --> mount: [/mnt/var/tmp]
[root@y7p /]# upd
bash: upd: command not found
[root@y7p /]# update
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra                                                                           7,2 MiB  5,03 MiB/s 00:01 [----------------------------------------------------------------] 100%
 multilib is up to date
 chaotic-aur                                                                   761,2 KiB   960 KiB/s 00:01 [----------------------------------------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
warning: qt6gtk2: local (0.2-11) is newer than chaotic-aur (0.2-6)
resolving dependencies...
looking for conflicting packages...
:: hyprutils-0.2.0-1 and hyprutils-git-0.2.0.r3.g962582a0-1 are in conflict. Remove hyprutils-git? [y/N] y
y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing hyprutils-git breaks dependency 'hyprutils-git' required by hyprcursor-git
:: removing hyprutils-git breaks dependency 'hyprutils-git' required by hyprpicker-git

Yes, there are people a actively using it.

1 Like

Correct

sudo pacman -Rdd hyprpicker-git

Package (1)     Old Version         Net Change

hyprpicker-git  0.3.0.r9.c36676a-1   -0,06 MiB

Total Removed Size:  0,06 MiB
update
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra                                                                           7,2 MiB  6,68 MiB/s 00:01 [----------------------------------------------------------------] 100%
 multilib is up to date
 chaotic-aur                                                                   761,2 KiB   690 KiB/s 00:01 [----------------------------------------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
warning: qt6gtk2: local (0.2-11) is newer than chaotic-aur (0.2-6)
resolving dependencies...
looking for conflicting packages...
:: hyprutils-0.2.0-1 and hyprutils-git-0.2.0.r3.g962582a0-1 are in conflict. Remove hyprutils-git? [y/N] y
y

Package (12)                     Old Version           New Version  Net Change   Download Size

extra/embree                     4.3.2-1               4.3.3-1         0.02 MiB      11.51 MiB
extra/evince                     46.3-1                46.3.1-1        0.02 MiB       1.67 MiB
garuda/garuda-hyprland-settings  0.4.132-2             0.4.133-2      -0.02 MiB      10.46 MiB
extra/hyprcursor                                       0.1.9-1         0.61 MiB       0.19 MiB
extra/hyprland                   0.41.2-2              0.41.2-3        0.13 MiB      46.72 MiB
extra/hyprutils                                        0.2.0-1         0.11 MiB       0.04 MiB
hyprutils-git                    0.2.0.r3.g962582a0-1                 -0.11 MiB               
extra/openmpi                    5.0.3-2               5.0.4-1        -0.12 MiB       3.82 MiB
extra/python-gobject             3.48.2-1              3.48.2-2        0.00 MiB       0.29 MiB
extra/python-trove-classifiers   2024.7.1-1            2024.7.2-1      0.00 MiB       0.02 MiB
extra/suitesparse                7.7.0-1               7.7.0-2      -176.67 MiB       1.45 MiB
extra/waybar                     0.10.3-1              0.10.4-1        0.05 MiB       0.73 MiB

Total Download Size:     76.89 MiB
Total Installed Size:   138.96 MiB
Net Upgrade Size:      -175.97 MiB

:: Proceed with installation? [Y/n] 

Funny

extra/hyprutils                                        0.2.0-1         0.11 MiB       0.04 MiB
hyprutils-git                    0.2.0.r3.g962582a0-1                 -0.11 MiB               

Update and login works on this notebook, the other has not the hyprpicker-git (see above). Next time I will test on PC with Nvidia-GPU.

1 Like

same issue as OP, i’ll just wait … :slight_smile:

after removing Hyprutils, I ended up having a problem with updating where I would get this error:
error: failed retrieving file 'wayland-protocols-git-1.36.r10.g7d5a3a8-1-any.pkg.tar.zst' from cdn-mirror.chaotic.cx : Maximum file size exceeded

I was able to fix this by replacing wayland-protocols-git with Wayland-protocols from the extra source. Did that 4 days ago, no issues since. Its a patchwork, but should work while the problem is being fixed.

Hope this helps anybody who needs this info.

1 Like

I will then rather wait till this is fixed, before attempting to do updates. Thanks you all

Please tell me the way you do this.

pacman -R hyprutils
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing hyprutils breaks dependency 'hyprutils' required by hyprland
:: removing hyprutils breaks dependency 'libhyprutils.so=1-64' required by hyprland

Full disclosure, i’m still a scrub at Arch, so i just used Pacseek to do it. Full credit goes to whoever coded that tool.

moson

I would be very surprised if pacseek could do that. It’s just a TUI for pacman and pacman can’t remove it, hence my question.