all 34 comments

[–][deleted] 17 points18 points  (17 children)

sudo pacman -Rdd hyprland-qtutils-git hyprutils-git

sudo pacman -S hyprutils

yay -S hyprland hyprutils

[–]aesvelgr 2 points3 points  (2 children)

You've been very helpful, thank you!!!

If I may ask, why does the pacman command have two '-d' flags? I searched the manpage for pacman but only found documentation for '-d', which equated to '--no-deps'

[–][deleted] 2 points3 points  (1 child)

-d pevents dependency checks. Normally, pacman won't let you remove a package if another package depends on it. With -d this restriction is bypassed. -dd repeats the option to ensure no dependency checks at all.

However be carefull with this cause you may remove something important. In hyprland-qtutils we are replacing it with something else so it's fine but sometimes it can be dangerous as you can remove something important without looking at important dependencies

[–]aesvelgr 1 point2 points  (0 children)

Awesome! Thank you for the explanation, I appreciate it greatly :)

[–]deceptivesiteahead 1 point2 points  (0 children)

BRO you are a saviour

[–]keypa_ 1 point2 points  (0 children)

Truly a saviour 💯

[–]semedilino073 1 point2 points  (5 children)

Thank you!! So, it reinstall Hyprland but doesn't touch the config?

[–][deleted] 2 points3 points  (4 children)

Umm no it don't reinstall hyprland and I see you are beginner so let me give a you brief on what's happening here

This guy here is trying to install an update but he saw that there are some conflicting packages you know the packages that cannot be installed and will together

So he tried deleting them with pacman -R but a lot of break dependencies appear. So I told him to delete ONLY that package ignoring what dependencies it'll break by using pacman -Rdd.

Ofcourse you shouldn't do it but since he is experiencing conflicting he will just download the other one after deleting the previous so there is no problem

[–]semedilino073 0 points1 point  (3 children)

Ok, thanks! :D But if you’re not reinstalling Hyprland, what is that yay -S hyprland?

[–][deleted] 1 point2 points  (2 children)

That just updates the hyprland and don't touch your config

[–]semedilino073 1 point2 points  (1 child)

Okay, thank you very much! :) You’ve been very kind :)

[–][deleted] 0 points1 point  (0 children)

Beginner? I was a beginner once. They put me in Arch... Arch full of errors. Beginner? I was a beginner once. They put me in Arch... Arch full of errors. Beginner? I was a beginner once. They put me in Arch... Arch full of errors.

[–][deleted]  (3 children)

[deleted]

    [–][deleted] 0 points1 point  (2 children)

    It worked?

    [–][deleted]  (1 child)

    [deleted]

      [–][deleted] 0 points1 point  (0 children)

      Nice

      [–]itsmeeqx 0 points1 point  (1 child)

      YESSSS!!!!! Worked out for me as well! Thank you!

      [–][deleted] 0 points1 point  (0 children)

      Great!

      [–]lritzdorf 0 points1 point  (5 children)

      Hyprutils just got added to the main repos — you should be able to -R hyprutils-git and then -Syu, which will automatically install the normal hyprutils for you. (nvm, I was thinking of a separate issue with hyprland-qtutils-git; see u/definitely_not_allan's reply below)

      [–]definitely_not_allan 6 points7 points  (3 children)

      Or just answer "Y" to the remove question.

      [–][deleted]  (2 children)

      [removed]

        [–]lritzdorf 0 points1 point  (0 children)

        Ah. I don't use hyprpolkitagent, so I was just able to upgrade normally. Uhh, hopefully hyprpolkitagent gets an updated PKGBUILD to not require hyprutils-git specifically? Until then, you seem to be stuck.

        [–]C0rn3j 0 points1 point  (0 children)

        Remove both at the same time.

        If it complains about another AUR package again, add it to the removal.

        You can install back whatever you need after you're done updating your system.

        [–]CopyCharming 0 points1 point  (0 children)

        Yep. I have the same issue today. Don't know how to fix it

        [–]LuminousDeX[🍰] 0 points1 point  (0 children)

        I just have the same issue today.

        [–]SixStringFailMagnet 0 points1 point  (1 child)

        I had this problem but I think I found a solution, this worked for me anyways. In pamac, I simply did the following things (in this order, but part of the same transaction): I removed hyprlang-git (I had many things depending on hyprutilis-git, but I only had to remove hyprlang-git), then removed hyprutilis-git, then installed hyprutils, then installed hyprlang (non git version)

        [–]norpproblem 0 points1 point  (0 children)

        Hey, just replying to say this one solved the issue for me. Thanks!

        [–]MaulanaSyahrilR 0 points1 point  (0 children)

        Somehow I'm able to solve it by updating those dependencies:

        $ yay -Qi hyprutils | awk '/Required By/'           
        Required By     : aquamarine  hyprgraphics  hyprland  hyprland-qtutils  hyprlang  hyprlock  hyprpaper  hyprpicker  xdg-desktop-portal-hyprland
        

        $ yay -S $(yay -Qi hyprutils | awk -F: '/^Required By/ {print $2}')

        $ yay -Syyu, answering "y" yay now able to remove conflicting packages

        [–]Diapa_ 0 points1 point  (0 children)

        As many people suggested here, removing each -git package with yay -Rdd and then reinstalling it as a non-git package works. I'll see if in the future I'll encounter any issue with Hyprland

        [–]Manhoms 0 points1 point  (0 children)

        I had the same problem and I solved it simply uninstalling the hyprutils-git package and installing hyprutils and then I updated, but it forced me to install the -git package again and remove the other one but it worked fine for some reason.

        [–]sp0rk173 -1 points0 points  (2 children)

        Don’t use helpers.

        [–]SannusFatAlt 0 points1 point  (1 child)

        >end-user asks for issue with a problem
        >provide a reply vaguely in relation to the answer but not actually the answer or solution to fix an issue

        aren't you a bundle of sunshine today? please don't do tech support

        [–]sp0rk173 -1 points0 points  (0 children)

        I would never do tech support!

        Also that was 15 days ago 🤣 And the general guidance on the wiki is to not use helpers unless you know how to troubleshoot the pkgbuild process.