Short: I think downloading the new headers worked for me: https://packages.ubuntu.com/lunar/kernel/
Long: Before installing the new headers I tried to remove the new headers to run on the old kernel. Running on the old kernel is possible by just picking it from GRUB, so this was probably unnecessary in the first place anyway. When doing it I ran into the problem of beeing unable to create metapackages (which I removed to beeing able to remove the new kernel headers). I was unable to install metapackages with the old version (for kinetic). So, I decided to go back to the newest setup and downloaded and installed the new headers (again). When I finally had all dependencies in my list the install went through without a problem. So, I suspect this is just a problem of compiling the new kernel, right? I did no final reboot of the system yet... -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2017267 Title: Release upgrade to lunar lobster linux-headers-6.2.0-20 post- installation error Status in linux package in Ubuntu: Confirmed Bug description: Ended with a dialog box: Could not install 'linux-headers-6.2.0-20-generic' The upgrade will continue but the 'linux-headers-6.2.0-20-generic' package may not be in a working state. Please consider submitting a bug report about it. installed linux-headers-6.2.0-20-generic package post-installation script subprocess returned error exit status 1 ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: ubuntu-release-upgrader-core 1:23.04.6 ProcVersionSignature: Ubuntu 5.19.0-40.41-generic 5.19.17 Uname: Linux 5.19.0-40-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.26.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CrashDB: ubuntu CrashReports: 600:0:125:674842:2023-04-21 08:04:24.525593724 -0500:2023-04-21 08:04:24.613596272 -0500:/var/crash/linux-headers-6.2.0-20-generic.0.crash 644:0:125:1078246:2023-04-21 08:04:24.461591872 -0500:2023-04-21 08:04:24.869603682 -0500:/var/crash/nvidia-dkms-520.0.crash CurrentDesktop: ubuntu:GNOME Date: Fri Apr 21 08:09:44 2023 InstallationDate: Installed on 2021-01-04 (836 days ago) InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022) PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/usr/bin/zsh TERM=xterm-kitty XDG_RUNTIME_DIR=<set> RebootRequiredPkgs: Error: path contained symlinks. SourcePackage: ubuntu-release-upgrader Symptom: release-upgrade UpgradeStatus: Upgraded to lunar on 2023-04-21 (0 days ago) VarLogDistupgradeTermlog: modified.conffile..etc.apport.report-ignore.README.denylist: [deleted] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2017267/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp