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.
@SwissUser ah I see… Sabir’s concern when this happened the first time (October 2023) seemed to be more about security, and for what it’s worth the package is listed on the repo page as “Priority: Optional” … but a VM use-case seems to require it.
I didn’t her back from Purism Support after 2 days, so I emailed Mladen (Support Manager) directly late last night. I haven’t heard anything back from him yet, either. The issue with linux-headers-amd64 persists.
I have in the meantime also reached out to Mladen: he advised he unfortunately would not have any suggestion/workaround for this at the moment, but that he will point the PureOS developer to the forum thread.
So, hopefully we will hear from the developer next week.
Thanks @SwissUser! BTW, did you reach Mladen via email or some other way? I use a VPN and so my emails might get filtered by IP address-blocking software, and maybe that’s why I didn’t hear back from anyone yet.
hi @nochelibre, hi @all, @nochelibre : via email. Maybe you did not hear back because @all: the issue seems to having been solved: I just now I received a system notification about an update to be ready (linux-libc-dev): after installing it, I am now able to install linux-headers-amd64 successfully !
I will need to check later whether my VirtualBox / virtual machine does work again, too.
In any case: @mladen / @Purism developer: THANKS A LOT FOR MAKING THIS HAPPEN AT SUCH SHORT NOTICE - MUCH APPRECIATED!
Thanks @SwissUser. Yes, the issue has been resolved. Onward through the fog!
By the way, @SwissUser, did your VirtualBox virtual machine work again?
By the way #2 (and I know this is off topic), I just found out Kyle Rankin is no longer with Purism, and it makes me wonder if Mladen and maybe others have left the employ of Purism as well. Maybe there is no Purism Support anymore?