8
submitted 4 months ago by Binette@lemmy.ml to c/archlinux@lemmy.ml

In order to update hyprland-git, I need to install hyprwayland-scanner-git. But when I try to install it, pacman says that it failed to commit a transaction.

I followed the arch wiki, but unfortunately, the file in question is owned by hyprwayland-scanner, so I'm not sure how to proceed.

top 6 comments
sorted by: hot top controversial new old
[-] taaz@biglemmowski.win 5 points 4 months ago* (last edited 4 months ago)
yay -Rd hyprwayland-scanner # (or -Rdd but danger ahead) 
yay -S --asdeps hyprwayland-scanner-git
[-] Binette@lemmy.ml 4 points 4 months ago

Thanks! That worked for me (I just used yay -Rd hyprwayland-scanner-debug aswell).

[-] Strit@lemmy.linuxuserspace.show 3 points 4 months ago

hyprwayland-scanner-git is also an AUR package, so pacman can't install that. You need to install it with some other means, like makepkg, yay, paru etc, before installing hyprland-git.

[-] Binette@lemmy.ml 1 points 4 months ago

I tried installing it with yay. It's just that when I install it with yay, it gives me a conflict with the existing pacman package and asks me if I want to remove the pacman package. When I say yes, it gives me the above error, and when I say no, it doesn't let me install hyprland-git

[-] Strit@lemmy.linuxuserspace.show 1 points 4 months ago

Can you post the full output from the installation command? It must have given some other error at some point.

[-] Binette@lemmy.ml 2 points 4 months ago

Nope, that was the only error. But I fixed it thanks to the comment above.

this post was submitted on 02 Jul 2024
8 points (100.0% liked)

Arch Linux

7720 readers
44 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS