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:

output of 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.
  • zelifcam@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 months ago

    You left out the NVIDIA card part. This is super important. So you have two kernels in a bad state and the NVIDIA driver is probably not building out.

    You’ve got a chicken and egg issue.

    This isn’t a technical answer but simply a generalization of what probably needs to happen.

    I would start over on whatever kernel situation you have going.

    First uninstall the NVIDIA driver.

    Then remove that unsigned kernel and its headers. Use the force option if necessary.

    Ensure dkms, the base kernel and its headers are installed.

    Reboot using standard kernel and then install nvidia-dkms package. Reboot.

    It’s tough to tell you exactly what needs to be done because I’m not really sure what kind of damage you did or what the full extent of the errors are. You might need some force options or whatever but generally that’s all that needs to happen. YOU do not have a NVIDIA driver built for whatever kernel you’re using.

    • Smorty [she/her]@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      You were entirely correct. Thank you very much for your response, I really was missing the header files for the kernel so the driver couldn’t interact with the system (as far as I can tell). The nouveau driver automatically kicked in on first reboot after installing the header files and I’m now downloading the dkms package again (using Gnome).

      • zelifcam@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        Great!

        If you do fix it, go ahead and update the post with the solution. Help out the next guy.