There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

I seem to have nuked my Debian DE (Gnome)... Could someone help me with this?

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

TimeSquirrel ,
@TimeSquirrel@kbin.melroy.org avatar

Have you tried:

sudo apt-get install -f

?

Edit: you have, I'm stupid

kbal ,
@kbal@fedia.io avatar

It appears that you're trying to install a kernel for which dkms can't build the version of the v4l2loopback kernel module that you have.

I don't see why this would affect Gnome, but if it's causing problems for the rest of the system maybe try uninstalling v4l2loopback-dkms until you can get a version that works, or else use an older kernel.

Alternately, if you're feeling brave and this is the same version that's in debian stable right now, you could edit /usr/src/v4l2loopback-0.12.7/v4l2loopback.c and replace strlcpy with strscpy in two places.

zelifcam , (edited )
@zelifcam@lemmy.world avatar

Wow. The terms “nuked” and “bricked” seem to have lost the meaning I grew up with. What you provided is just a simple error.

It says dependency problem. Have you installed the dependency? It says:

Package linux-image-6.9.7+bpo-amd64-unsigned is not installed. … linux-headers-6.9.7+bpo-amd64 depends on linux-image-6.9.7+bpo-amd64 (= 6.9.7-1bpo12+1) | linux-image-6.9.7+bpo-amd64 -unsigned (= 6.9.7-1bpo12+1);

Maybe you’re doing too much at once. What happens when you just install the one kernel?


<span style="color:#323232;">sudo apt install linux-image-6.9.7+bpo-amd64
</span>

Or maybe try to uninstall the new kernel and its headers. Make sure you have dkms installed and run the apt fix again.

Smorty OP , (edited )

When trying to install the one kernel I get exactly the same message as the first image in the post. The first error hints at an error in a posts installation script, which I have had issues with before. I used to delete these script to get over errors aaand that worked fine for some time. In case there has been some change in the error I’m getting, I haven’t picked up on it yet. Either way, here’s the output

https://files.catbox.moe/shx70q.jpg

EDIT: At the top of the message it says " Newest version already installed" so it seems to be blocking itself? Like I’m trying to install a package and it’s like -But I need that package to build this one-

zelifcam , (edited )
@zelifcam@lemmy.world avatar

I used to delete these script to get over errors aaand that worked fine for some time.

I can’t think of one time that I’ve done that in 20 years outside of repackaging applications for work because of crappy vendor supplied packages.

And you’re sure dkms and the headers are installed?

In situations like this, if bad enough I would usually temporarily remove mentioned packages until the apt fix works cleanly again and then reinstall whatever I was trying to do. But you’re saying you have removed post install scripts and manipulated packages? Hmm that seems like trouble.

I’m positive if I was infront of the terminal I could help you out, but I’m starting work for the day. Maybe someone else has a better idea. Sorry bro. But on a positive note, your system is certainly not beyond repair. This seems trivial with a little work and maybe someone who sees the issue better than I right now.

For others taking a look…. What was the command run before the apt fix?

Smorty OP ,

You speak of apt fix, what is that?

zelifcam , (edited )
@zelifcam@lemmy.world avatar

Your screenshot you posted first. The top command is:


<span style="color:#323232;">sudo apt install —fix-broken
</span>

That means you did something first and then found your way to that command

Smorty OP ,

Fair. The first thing I did was yesterday where I tried to add testing, experimental and unstable packages to apt. That didn’t quite work sonI reverted my changes my removing the .list files and recovering the previous default sources.list file. Then today In started up my PC and this was what I got, a black screen with a blinking white cursor. The apt-fix-broken is just something I picked up on during my many times I had to fix my distro… So that was one of the first things i tried after trying the startxcommand.

zelifcam ,
@zelifcam@lemmy.world avatar

Oh. Wow.

Yeah, when asking for help start with what you did.

Smorty OP ,

OK so when installing the the unsigned kernel, I get an error that the normal version isn’t installed. But when I try to install the normal version, it complains that the unsigned version isn’t installed…

NeoNachtwaechter ,

a posts installation script, which I have had issues with before. I used to delete these script to get over errors aaand that worked fine for some time.

You da hero!

Please tell me that you also tinker with used cars.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines