bkw777 / mainline

Install mainline kernel packages from kernel.ubuntu.com
GNU General Public License v3.0
1.05k stars 72 forks source link

6.5 kernel breaks system, as it Depends: libc6 (>= 2.38) but 2.37-0ubuntu2 is installed #311

Closed SamuelMarks closed 1 year ago

SamuelMarks commented 1 year ago
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 linux-headers-6.5.0-060500-generic : Depends: libc6 (>= 2.38) but 2.37-0ubuntu2 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  linux-headers-6.5.0-060500-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 28.0 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 505184 files and directories currently installed.)
Removing linux-headers-6.5.0-060500-generic (6.5.0-060500.202308271831) ...

Is there a way to get 6.5 working? - I'm on Ubuntu 23.04:

Linux al 6.4.11-060411-generic #202308161732 SMP PREEMPT_DYNAMIC Wed Aug 16 17:41:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
bkw777 commented 1 year ago

See the libssl item from the faq. https://github.com/bkw777/mainline/wiki/Install-libssl3 (except libc instead of libssl) I do not recommend it though. It's just the only option other than "don't install any newer kernels until your system is updated to the same level as the mainline-ppa kernel build environment"

SamuelMarks commented 1 year ago

Thanks I upgraded to 23.10 and now

$ uname -a
Linux al 6.5.0-060500-generic #202308271831 SMP PREEMPT_DYNAMIC Sun Aug 27 22:37:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux