end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.69k stars 253 forks source link

[Issue] install.sh #697

Open HishamBoyMunna opened 1 month ago

HishamBoyMunna commented 1 month ago

The issue

Multiple dependencies resolution issues, hyprutils-git, gradience-git etc.

Ran install.sh multiple times with different solutions nothing worked, install.sh need to be revisited and revised.

Edit: said dependencies cannot be resolved by using pacman due to their absence in arch official repo. And conflicts with older version needed by hyprland with the newer ones installed from source.

PS: Tnx for all your wonderful work

Logs ```plain Paste logs here ```
Hippaho commented 1 month ago

Step 1:Simple open another terminal window Step 2 : write

sudo pacman -Rdd hyprutils && pacman -S hyprutils-git (You can replace hyprutils and hyprutils-git with anyother program that has issue Like, sudo pacman -Rdd gradience && pacman -S gradience-git

Step 3: go back to terminal window running your install.sh And press r to resume

Deivis44 commented 1 month ago

What I tried was stopping the installation process, next reinstall 'hyprutils' with yay: "yay -S hyprutils-git" (you shoulnd't have installed yet) worked for me, anyway please fix that. Then you can use the installation script again and it works.

Hippaho commented 1 month ago

You mostly get this issue due to conflict between hyprutils,hyprland,hyprcursor, gradience and hyprutils-git Hyprlang-git,hyprcursor-git and gradience-git

Another problem Their is no gradience-git in aur so yay can't install it

Use pacman to install gradience

Deivis44 commented 1 month ago

What I tried was stopping the installation process, next reinstall 'hyprutils' with yay: "yay -S hyprutils-git" (you shoulnd't have installed yet) worked for me, anyway please fix that. Then you can use the installation script again and it works.

Anyway same happens with 'gradience'. Trying to install with yay goes with error (not fount that repo), later I tried with pacman "sudo pacman -S gradience"

Error persist. I was searching for the oficial repo and was archived like a month ago

Deivis44 commented 1 month ago

You mostly get this issue due to conflict between hyprutils,hyprland,hyprcursor, gradience and hyprutils-git Hyprlang-git,hyprcursor-git and gradience-git

Another problem Their is no gradience-git in aur so yay can't install it

Use pacman to install gradience

Same happens, nothing working, i got stuck in the gradience install

midn8hustlr commented 1 month ago

Install gradience from yay instead as gradience-git is no longer available in AUR.

For all the hyprland packages just use the packages from official repo. I was doing a clean install yesterday and I saw some issues with shared libraries with the-git packages from AUR. I mostly prefer the official binaries anyways for quick updates.

So wherever the installer stops, just press 'i' and ignore to the next command. After the script is installed just run the following commands.

yay -Sdd gradience hyprpicker
sudo pacman -Sdd hyprcursor hypridle hyprlang hyprlock hyprpicker hyprutils hyprland xdg-desktop-portal-hyprland

Ik, this is not recommended as it will forcefully install without dependency checking. But this is a quick fix for now.

Euroysx commented 1 month ago

gradience project is dead

shivambegin commented 1 month ago

any solution?

Syndace commented 3 weeks ago

tl;dr: try a fresh clone of this repo

This might be a caching/versioning issue. I looked for the broken dependencies in the affected PKGBUILDs but couldn't find them anywhere, but there were package build artifacts from suspiciously long ago. Those build artifacts remained even after running ./install.sh --clean. This led me to freshly clone the repo and run the install script again, which finished smoothly without any issues.

Deivis44 commented 2 weeks ago

I think I've finally found the problem.

The first thing I tried after seeing that they modified the "install.sh" file was to retry the installation but again with dependency problems. But I noticed the small detail which is only announced in the wiki that it is recommended to use 'Endeavour OS' with gnome, in this case I did a clean installation with archinstall with gnome and from there you run the script, this time it didn't give me any error and following the documentation you then configure the display manager to hyprland and everything works!

P.S.: I was able to bypass the installation but instead of using archinstall with gnome I always did it with hyprland directly and here the problem with the dependencies continued,however I could delete the conflicting version and continue, here I noticed other errors even though in the end it worked directly from hyprland

  1. File explorer (Nautilus) was not installed - But if you install any Arch based distro first with gnome it works because it comes by default
  2. Some problems when interacting with programs, defining my default code editor never opened it and other bugs

Therefore it seems that it is strictly necessary to start with a clean installation with gnome and then run the script