this post was submitted on 18 Jul 2024
52 points (94.8% liked)

Linux

47923 readers
1055 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.
you are viewing a single comment's thread
view the rest of the comments
[–] zelifcam@lemmy.world 4 points 3 months ago* (last edited 3 months ago) (1 children)

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@lemmy.blahaj.zone 2 points 3 months ago (1 children)

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 4 points 3 months ago

Great!

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