OS: Parrot OS 5.0 (Electro Ara) x86_64
Kernel: 5.16.0-12parrot1-amd64
CPU: 11th Gen Intel i7-11700 (16) @ 4.800GHz
Description:
I just downloaded the latest version of Parrot Os, and it was amazing.
but when I tried to install libsdl2-dev package it threw me this error.
I surfed the internet and tried different methods of fixing ‘held broken packages’, but NONE of them seemed to work.
IMPORTANT DETAILS:
It seems that libsdl2-dev depends on a libudev-dev , which depends on libudev1 version 247.3-7 , but the 250.4-1 is installed.
So when none of the solutions I found on internet worked I came up with something on my own.
I downgraded libudev1 to 247.3-7 and BOOM! the held broken packages error was gone, but i still couldn’t install libsdl2-dev and apt was throwing other errors.
So I thought maybe I should reboot and after that the OS was not booting at all and all the options but system setup* in GRUB menu were gone.
So i was forced to reinstall the same OS.
┌─[root@wisebits]─[/home/yolo]
└──╼ #apt install libsdl2-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libudev-dev : Depends: libudev1 (= 247.3-7) but 250.4-1~bpo11+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Seems fine here. Make sure you do sudo apt update first. If it does’nt work, you can try check the package from branches.
└╼dmknght$sudo apt install libsdl2-dev
[sudo] password for dmknght:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libduktape205
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
gir1.2-ibus-1.0 libasound2-dev libibus-1.0-dev libpulse-dev libsndio-dev
libxss-dev libxv-dev libxxf86vm-dev x11proto-scrnsaver-dev
x11proto-xf86vidmode-dev
Suggested packages:
libasound2-doc
The following NEW packages will be installed:
gir1.2-ibus-1.0 libasound2-dev libibus-1.0-dev libpulse-dev libsdl2-dev
libsndio-dev libxss-dev libxv-dev libxxf86vm-dev x11proto-scrnsaver-dev
x11proto-xf86vidmode-dev
0 upgraded, 11 newly installed, 0 to remove and 20 not upgraded.
Need to get 2,346 kB/2,579 kB of archives.
After this operation, 14.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Did I say you need to use root or any shit like that?
Did you read this? Make sure you do sudo apt update first. If it does’nt work, you can try check the package from branches.. I bet you don’t fucking know what does that fucking mean, right?
Verified on new install of Parrot Security 5.1 after sudo parrot-upgrade. At least on the U.S. repo mirrors I’m grabbing from.
┌─[masmer@nsa]─[~]
└──╼ $sudo apt install libsdl2-dev
[sudo] password for masmer:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libudev-dev : Depends: libudev1 (= 247.3-7) but 250.4-1~bpo11+1 is to be installed
E: Unable to correct problems, you have held broken packages.
┌─[✗]─[masmer@nsa]─[~]
└──╼ $uname -a
Linux nsa.org 5.16.0-12parrot1-amd64 #1 SMP PREEMPT Debian 5.16.12-2parrot1 (2022-03-11) x86_64 GNU/Linux
┌─[masmer@nsa]─[~]
└──╼ $cat /etc/*release
PRETTY_NAME="Parrot OS 5.0 (Electro Ara)"
Try with parrot-backports branch. If the problem is still there, I’ll tell Palinuro to check it.
P/s: Just installed here. And the packages are on parrot main.
I surfed the internet and tried different methods of fixing ‘held broken packages’, but NONE of them seemed to work.
And even I know that when a package you want to install Depends on another Package that is missing and can’t be installed, IT DOESN’T MATTER WHERE YOU INSTALL IT FROM, you will get the held broken packages anyway.
But you were having too much of an EGO BOOST to even notice that. But I doubt it, You definitely don’t know what you are doing, and I’m pretty much surprised why you are in The Parrot Team.
Do you think it is a joke?
You think you can get away with cursing people like that???
And i expected user who has a brain.
Did I say you need to use root or any shit like that?
I bet you don’t fucking know what does that fucking mean, right?
I am a new user in Parrot OS which claims to be USER FRIENDLY, and this is how you treat me AS HOST.
Parrot Os might be A PIECE OF ART but Your community is super unfriendly and ABSOLUTELY SUCKS
I WILL DEFINITELY FILE A REPORT OF THIS VERBAL ABUSE.
Can u do cd /var/lib/apt/lists/ && grep -r "Date: "? I want to compare mirror sync before reporting.
p/s: Mine is 14 May 2022 on all branches.
p/s2: The main repository is having last update 14 May 2022 as well.
┌─[✗]─[masmer@nsa]─[/var/lib/apt/lists]
└──╼ $cd /var/lib/apt/lists/ && sudo grep -r "Date: "
[sudo] password for masmer:
deb.parrot.sh_parrot_dists_lts_InRelease:Date: Sat, 14 May 2022 12:47:21 UTC
deb.parrot.sh_parrot_dists_lts_main_binary-amd64_Packages: RFC 2822 defines the Date: header. It declares the header a required
deb.parrot.sh_parrot_dists_lts_main_binary-amd64_Packages: programs get it wrong. Very wrong. Or, they don't include a Date: header
deb.parrot.sh_parrot_dists_parrot_InRelease:Date: Sat, 14 May 2022 12:47:21 UTC
deb.parrot.sh_parrot_dists_parrot_main_binary-amd64_Packages: RFC 2822 defines the Date: header. It declares the header a required
deb.parrot.sh_parrot_dists_parrot_main_binary-amd64_Packages: programs get it wrong. Very wrong. Or, they don't include a Date: header
deb.parrot.sh_direct_parrot_dists_parrot-security_InRelease:Date: Fri, 13 May 2022 20:29:33 UTC
deb.parrot.sh_parrot_dists_parrot-backports_InRelease:Date: Sat, 14 May 2022 12:58:24 UTC
deb.parrot.sh_parrot_dists_parrot-updates_InRelease:Date: Sat, 14 May 2022 12:47:47 UTC
deb.parrot.sh_parrot_dists_parrot-updates_main_binary-amd64_Packages: RFC 2822 defines the Date: header. It declares the header a required
deb.parrot.sh_parrot_dists_parrot-updates_main_binary-amd64_Packages: programs get it wrong. Very wrong. Or, they don't include a Date: header