The following packages have unmet dependencies:
linux-headers-amd64 : Depends: linux-headers-5.10.0-28-amd64 (= 5.10.209-2) but it is not installable
E: Unable to correct problems, you have held broken packages.
Yeah, after removing means purging linux-header it seems works now so means linux header latest version isn’t removed because I checked currently it shows nothing when I use below command to check linux headers
sudo apt list linux-headers-$(uname -r)
the issue I created few month ago that after removing linux headers all working fine but is Linux Headers are important to install means for security purposes so after some hours he said to do update command and install then it worked now again this issue is arised.
I don’t know this time where is the answer to my question
I Purged Linux Headers and afterwards updates are fine question is still pending why linux headers aren’t installing in PureOs distro again like it was happening few months ago see attached screen when I run
also I asked is Linux headers are recommended or will it comprise any security in my distro as I asked in previous thread and someone gave me solution but they simply said to sudo update and then run install linux-headers-amd64 command which is for now seems not working…
I have a similar problem: right after my yesterday’s update to 5.10.0-28-amd64 I get exactly the same error message:
The following packages have unmet dependencies:
linux-headers-amd64 : Depends: linux-headers-5.10.0-28-amd64 (= 5.10.209-2) but it is not installable
E: Unable to correct problems, you have held broken packages.
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:
linux-headers-amd64 : Depends: linux-headers-5.10.0-28-amd64 (= 5.10.209-2) but it is not installable
E: Unable to correct problems, you have held broken packages.
A bit out of my depth here, hoping for a fix. Any guidance would be appreciated.
thanks a lot! Although - and unfortunately: no change: I have run all the above commands, with the same result when trying to install linux-headers-amd64…
As there seems to be a third user with the same problem, is this maybe a general system or data packet related issue?
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-28-amd64:Error! echo
Your kernel headers for kernel 5.10.0-28-amd64 cannot be found at
/lib/modules/5.10.0-28-amd64/build or /lib/modules/5.10.0-28-amd64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
As @n00ber highligted it is totally correct we asked this issue in 2023 and @joao.azevedo was able to help us then he told purpose of it is that they ship a DKMS module needed for the Librem laptops (librem-ec-acpi-dkms)
The driver librem_ec_acpi provides Linux kernel support for the ACPI embedded controller of the following devices:
Purism Librem 14 laptop
it was around Oct 2023 thread kindly look on it I pasted also below
After this update on startup of PureOs it usually says error something related to Librem and also Linux headers are right now totally removed my questions are still pending
1- Linux Headers are recommended or something not recommended kindly give me suggestion.
2- If we install Linux Headers after this update it generates error what is the solution for it in future also because after fixing from forum it comes in some things afterwards.
I had the same result as @SwissUser … ran all commands, still not able to install headers package.
@SabirSaleem70 I think headers may be optional, but having “purged” and so on I am concerned what would happen if I try to reboot without having headers installed.
Thanks @henhed for that link. Definitely something is missing from the repos…
I would hope that in future maintainers of PureOS would consider delaying pushing updates straight from Debian kernel until they are confirmed to be complete … but perhaps they already do? I tend to update as soon I as see them available… I could be more circumspect also!
I’m having the same issue. I just sent an email to Purism Support. I’ll try to remember to post here what they said to do, unless they post here before I visit again.