101
submitted 1 year ago* (last edited 1 year ago) by vortexal@sopuli.xyz to c/linux@lemmy.ml

I'm not sure what fixed it because I tried multiple things yesterday, but it shutdown normally last night.

top 50 comments
sorted by: hot top controversial new old
[-] inetknght@lemmy.ml 49 points 1 year ago

Attempting to kill init means that something tried to kill PID 1. That's... abnormal outside of a shutdown. But it can be normal during shutdown. So uhh... yeah: if it continues to be a problem then it needs to be reported and fixed by your distribution. What distribution are you using?

I see kernel panics at shutdown most often on Arch-based distros after updating system packages.

It sucks when it happens during shutdown but it's typically not going to cause other problems... except perhaps not automatically booting if you wanted to reboot instead of shutdown.

[-] vortexal@sopuli.xyz 9 points 1 year ago

I'm using the XFCE edition of Linux Mint. The Kernel updated yesterday morning, could that have something to do with it?

[-] inetknght@lemmy.ml 19 points 1 year ago

A kernel update, if it's done right, shouldn't cause a panic. But not every distro does updates right.

If you know the old version and the new version then it might be useful to reach out to the Mint community and see if they're aware of issues like that.

https://linuxmint.com/getinvolved.php -> forums or chat might be fruitful to you

[-] vortexal@sopuli.xyz 4 points 1 year ago

I don't know what the previous version was but I'll still post about it to the forums. Thanks.

[-] 30p87@feddit.de 5 points 1 year ago

on Arch-based distros after updating system packages

So basically every shutdown lol

[-] qjkxbmwvz@lemmy.sdf.org 4 points 1 year ago

I see kernel panics at shutdown most often on Arch-based distros after updating system packages.

When I tried Arch, upgrading kernel would delete the kernel modules of the running kernel


somewhat unimpressive upgrade process.

[-] spaghetti_carbanana@krabb.org 4 points 1 year ago

This dude kernel panics

[-] Atemu@lemmy.ml 18 points 1 year ago

I'd reinstall libpcre, looks like it's gotten broken?

The kernel panic should be a direct result of shutdown (which I guess at this point is init/pid1) not finding its dependency and killing itself.

[-] vortexal@sopuli.xyz 3 points 1 year ago

How would I reinstall it? I tried to look it up but I couldn't find anything.

[-] InFerNo@lemmy.ml 8 points 1 year ago

apt install --reinstall PKG_NAME

Is the command to reinstall a package, replace PKG_NAME with the name of the package you want to reinstall.

You should use apt instead of apt-get. It is newer, more user friendly and supposedly handles dependency resolution better.

[-] vortexal@sopuli.xyz 2 points 1 year ago

I've already done that but thanks anyways.

[-] NaoPb@beehaw.org 1 points 1 year ago

This command (could have) saved me lots of times, had I known it earlier. So far it has saved me once.

[-] ReakDuck@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

sudo apt-get install --reinstall

https://duckduckgo.com/?q=apt+reinstall+package&t=fpas&ia=qa&iax=qa

Not sure how you searched but I assume you didn't use or know apt? How do you install packages in the first place? Through GUI or Terminal?

EDIT: I assume you use the Linux Mint GUI package manager. I can't find how to do this too, would need to search more detailed but I don't have enough time for this now, need sleep, don't have enough sleep.

load more comments (2 replies)
[-] vojel@feddit.de 13 points 1 year ago

Yes this is a kernel panic which occurs when something goes terribly wrong inside the system. This could be anything from broken software to defective hardware. You should observe if this happens regurlarly.

[-] vortexal@sopuli.xyz 6 points 1 year ago

Ok but is there anything notable from this error message, like anything specific that I should be checking out for?

[-] vojel@feddit.de 5 points 1 year ago

First line of your picture is a hint for a software issue. I would just google that.

load more comments (12 replies)
[-] Xeelee@kbin.social 10 points 1 year ago

You could look at the package that's mentioned in the first line in Synaptic. The error message says it can't find a file. Fürst thing is do is check if that fike is actually there.

[-] exu@feditown.com 10 points 1 year ago

I might be totally wrong, but libpcre sounds like the regex library used by perl. Maybe his perl packages are broken?

[-] nyan@lemmy.cafe 3 points 1 year ago

Almost. It's a C library that mimics Perl's regular expression facilities. Fairly common dependency for any number of packages.

[-] vortexal@sopuli.xyz 1 points 1 year ago

Apt says it's installed. Someone said something about reinstalling it but I couldn't find anything online about reinstalling.

[-] MonkderZweite@feddit.ch 9 points 1 year ago

Your libpcre seems broken. Reinstall the package that contains this file.

[-] vortexal@sopuli.xyz 3 points 1 year ago

I did that yesterday and it might have fixed it because I didn't have the issue but I did try multiple things yesterday, so I'm not sure.

[-] jellyfish@beehaw.org 6 points 1 year ago* (last edited 1 year ago)

Personally I'd be worried there's a transient disk issue. I'd ensure my backups are good and files aren't being silently corrupted. I assume you're on an NVME, they tend to fail instantly, but sometimes you'll get transient file errors beforehand (like not being able to open a system library). Look at something like debsums to start with maybe.

[-] vortexal@sopuli.xyz 2 points 1 year ago

I'm not having the issue anymore, I'm not sure what fixed it though as I tried multiple things yesterday.

Also, I'm not using an NVME, I'm actually just using an old laptop hard drive with one of those hard drive cases that basically converts it into an external hard drive.

[-] jellyfish@beehaw.org 3 points 1 year ago* (last edited 1 year ago)

That type of error is usually indicative of hdd issue. I only mentioned NVMEs because they tend to fail all at once, without recovery options. Spining disks usually fail slower (but not always). Take a peek at smart info, maybe run a scan. My guess is the cord got jostled though tbh

[-] vortexal@sopuli.xyz 1 points 1 year ago

Like I said, I'm not having the issue anymore.

Also, I tried to check the smart info but the option is gray-out, is there something I need to do before I can check it?

[-] joyofpeanuts@beehaw.org 6 points 1 year ago

As others said, check if it is a single case or if it repeats at the next shutdowns. Anyway, the main question this brings to mind is: do you have a good backup of your system / data ?

[-] vortexal@sopuli.xyz 1 points 1 year ago

I don't have a backup of the system because if something happens, I'm switching distros. But I do have both an external hard drive and Pcloud for cloud storage for some other things like game save files.

[-] xilliah@beehaw.org 5 points 1 year ago* (last edited 1 year ago)
[-] vortexal@sopuli.xyz 3 points 1 year ago

That's pretty specific, but I guess it's possible.

[-] xilliah@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

Iirc it's 1 bit per 500mb per week for your every day ram.

There's this famous case where a speedrunner playing Mario had such a bit flip and affected his play time.

[-] argv_minus_one@beehaw.org 2 points 1 year ago

Colloquially referred to as “cosmic rays”.

[-] dack@lemmy.world 1 points 1 year ago

In addition to the other things mentioned, check the health of your drive. This could be a symptom of corruption.

[-] mumblerfish@lemmy.world 1 points 1 year ago

You seem to have removed libpcre2 library. Try to reinstall it using your package manager.

[-] vortexal@sopuli.xyz 1 points 1 year ago

Synaptic Package Manager states that there are several versions of libpcre2 installed, which one should I try to reinstall?

this post was submitted on 15 Aug 2023
101 points (96.3% liked)

Linux

48036 readers
801 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