Solved Packages with unmet dependencies (can't install the newer version) when trying to install HyperLand in Parrot OS

Solved issue

Eldiuas

New Member
Joined
Sep 25, 2024
Messages
5
Reaction score
1
Credits
40
I'm new in Linux and recently, i've been trying to install HyperLand on my distro (Parrot OS), i'm using the debian installation method (with the SID repo), but i'm keeping getting that i have unmet dependencies with libc6, libdrm2, etc.

Print (unmet dependencies).png


I already try some methods to resolve the unmet dependencies error, but none of them solve the problem (examples: "apt-get autoclean", "apt-get -f install", "dpkg --configure -a", "apt-get -u dist-upgrade", "dpkg --configure -a").

I tried to change the repos, or even to install the HyperLand from Source, installing the dependencies manually, but still have the issue of unmet dependencies.

I checked the apt-cache of libc6 and shows 2 different versions, one of them (2.40-3), like this:


Print apt-cache (1).png





Print apt-cache(2).png


but when i do the command:
Code:
dpkg -l | grep libc6
the result is:

Print (dpkg -l).png




So, I'm new to Linux, but i think the old version is installed and I need the more recent version, but I don't know how to install it, cause when I try to do:
Code:
sudo apt install libc6
it shows that the newest version is already installed, but is the "2.36-9+deb12u7", not the "2.4-3" that I need.

If anyone can help me with this I would be very grateful.
 


with the SID repo
That's your problem, SID repo is experimental and any dependencies for packages in SID don't necessarily exist.
You'd need to backport them including all of their deps and so forth.
This will result in your system containing a lot of experimental packages resulting in possibly unstable system.

I suggest you stick with default repo and accept older but stable packages.

If you strive to have latest and greatest software maybe try some rolling-release distro instead because there that's the default.
 
  • dpkg --force-all --configure -
  • apt --fix-broken install
  • apt-get -f install
try
 
'm using the debian installation method (with the SID repo)
You should not be using SID Repos in Parrot you will create a lot of problems or a "FrankenDebian" - Parrot is based on Debian Stable
 
Also the Hyprland documentation says this about Debian.
Hyprland recently made it into the SID and trixie repos and can be installed with

sudo apt install hyprland

Note: Even though Hyprland is in the trixie repos, it is still recommended to install from SID, as some dependencies in the trixie repo are outdated.

Alternatively, you can also follow the instructions under“Manual (Manual Build)” to build Hyprland yourself.
You'll probably have an easier time installing Hyprland if you are use Fedora, Opensuse Tumbleweed or Arch Linux.
 
That's your problem, SID repo is experimental and any dependencies for packages in SID don't necessarily exist.
You'd need to backport them including all of their deps and so forth.
This will result in your system containing a lot of experimental packages resulting in possibly unstable system.

I suggest you stick with default repo and accept older but stable packages.

If you strive to have latest and greatest software maybe try some rolling-release distro instead because there that's the default.
understood, thank u
 
Also the Hyprland documentation says this about Debian.

You'll probably have an easier time installing Hyprland if you are use Fedora, Opensuse Tumbleweed or Arch Linux.
i will try, thanks
 

Members online


Top