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

49 points

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.

permalink
report
reply
9 points

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

permalink
report
parent
reply
19 points

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

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
5 points

on Arch-based distros after updating system packages

So basically every shutdown lol

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
5 points
*
Deleted by creator
permalink
report
parent
reply
4 points

This dude kernel panics

permalink
report
parent
reply
18 points

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.

permalink
report
reply
3 points

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

permalink
report
parent
reply
8 points

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.

permalink
report
parent
reply
2 points

I’ve already done that but thanks anyways.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
2 points
*

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.

permalink
report
parent
reply
2 points

I know about and have used apt, I install pretty much everything through the terminal. What I searched for was “how to reinstall libpcre” because I thought that it required a specific method or something due to the fact that it’s a system library.

Anyways, it reinstalled it but I wont know if it fixed the issue until tonight.

permalink
report
parent
reply
13 points

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.

permalink
report
reply
6 points

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

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
1 point

I tried seaching it online but the only I could find (that I understood how to use it) was to run “sudo ldconfig” which didn’t seem to day anything. I have no idea if that actually fixed the problem or not but if it didn’t, do you have any other solutions?

permalink
report
parent
reply
10 points

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.

permalink
report
reply
9 points

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
10 points
Deleted by creator
permalink
report
reply
4 points

I have no idea what those are, unless Linux Mint (at least the XFCE edition) has one of those installed by default, I’m pretty sure I don’t have any of those installed.

permalink
report
parent
reply
1 point

Why is that weird? My shutdown is also linked against libpcre2.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 6.8K

    Monthly active users

  • 6.6K

    Posts

  • 180K

    Comments