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

You are viewing a single thread.
View all comments
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

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.9K

    Monthly active users

  • 6.6K

    Posts

  • 180K

    Comments