The messages here are mostly in German, but I'll try to translate mist of it:
**dpkg:** Error when editing the package linux-image-6.9.7+bpo-amd64 (--configure): <<Installed posts installation script of the package linux-headers-6.9.7+bpo-amd64<<-subprocess returned error code 1 **dpgk:** dependency error hinders configuration of <that Linux header package>: linux-headers-6.9.7+bpo-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1) | linux-image-6.9.7+bpo-amd64 -unsigned (= 6.9.7-1~bpo12+1); but: Package linux-image-6.9.7+bpo-amd64 is not configured yet. Package linux-image-6.9.7+bpo-amd64-unsigned is not installed. **dpgk:** Error while editing the Package linux-headers-6.9.7+bpo-amd64 (--configure): Dependency problem - remains unconfigured **dpkg:** Dependency problem hinder configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.9.7+bpo-amd64 (= 6.9.7-1~bpo12+1); but: Package linux-headers-6.9.7+bpo-amd64is not configured yet. **dpkg:** Errow while editing package linux-headers-amd64 (--configure): Dependency problem - remains in configured Errors occurred while editing these: linux-image-6.9.7+bpo-amd64 linux-headers-6.9.7+bpo-amd64 linux-headers-amd64
I really hope someone can help me out here..
EDIT: I kinda forgot to actually mention my problem. When booting nornall, I get stuck at a lonely white blinking cursor on a black screen, so startx seems to make some problems. I enter a TTY and run startx and this is what I get when running startx:
SOLUTION
- Uninstall your current nvidia driver (for example using sudo apt remove nvidia-driver on Debian)
- Install the headers for your kernel. your kernel you can check rather easily by running neofetch
- Install the headers required for your kernel. Do that by listing all packages with your kernel name in it. For example like this:
apt list *6.9.7+bpo*
- reboot, install your nvidia driver again and rovoot again. Should be done.
Double-check that your APT sources are exactly what you expect them to be.
Clean your APT cache. Then update it.
Try to fix broken packages again with apt install.
If the problem persists, look at every single package mentioned in the error. Go to the Debian packages website and look up what the current version for your release is. If there are any mismatches, try to resolve them by uninstalling these packages until apt install completes without error again. Make sure to reinstall the right version of your packages again.
Given your other comments about manipulating post installation scripts for some time, if the above doesn't work for you, consider backing up your data and reinstalling a fresh setup.
I have now fixed the apt issue. Biw I'm just stuck with the startx not working. I've already completely reinstalled my nvidia drivers but I still get the same errors in the Xorg logs. In case you are wondering, these are the logs
Xorg.0.log
Are you aware of Nvidia recently releasing different versions of their kernel modules? There's an open-source and a proprietary flavor. Make sure you have the right one selected for your hardware and fallback to nuvoueau if need be.
Wait really? We have an official open kernel module for the nvidia cards now? I'm assuming that the actual driver is still closed, right?