dack,

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

MonkderZweite,

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

vortexal,
@vortexal@sopuli.xyz avatar

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,

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,
@vortexal@sopuli.xyz avatar

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,

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,
@vortexal@sopuli.xyz avatar

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?

xilliah,

Could also be an SEU

vortexal,
@vortexal@sopuli.xyz avatar

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

xilliah,

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,

Colloquially referred to as “cosmic rays”.

Xeelee,
Xeelee avatar

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.

vortexal,
@vortexal@sopuli.xyz avatar

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

exu,

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

nyan,

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

joyofpeanuts,

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,
@vortexal@sopuli.xyz avatar

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.

Atemu,
@Atemu@lemmy.ml avatar

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,
@vortexal@sopuli.xyz avatar

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

ReakDuck,

sudo apt-get install --reinstall

duckduckgo.com/?q=apt+reinstall+package&t=fpa…

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.

vortexal,
@vortexal@sopuli.xyz avatar

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.

ReakDuck,

Sometimes we think a little bit too complicated

InFerNo,

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,
@vortexal@sopuli.xyz avatar

I’ve already done that but thanks anyways.

NaoPb,

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

mumblerfish,

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

vortexal,
@vortexal@sopuli.xyz avatar

Synaptic Package Manager states that there are several versions of libpcre2 installed, which one should I try to reinstall? https://sopuli.xyz/pictrs/image/2f437270-9172-4d21-a82f-36c1989bbf4b.png

throw4w4y5,

deleted_by_author

  • Loading...
  • mumblerfish,

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

    vortexal,
    @vortexal@sopuli.xyz avatar

    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.

    inetknght,

    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,
    @vortexal@sopuli.xyz avatar

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

    inetknght,

    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.

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

    vortexal,
    @vortexal@sopuli.xyz avatar

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

    30p87,

    on Arch-based distros after updating system packages

    So basically every shutdown lol

    qjkxbmwvz,

    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.

    superkret,

    As with everything in Arch, there’s a setting for that.

    vojel,

    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,
    @vortexal@sopuli.xyz avatar

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

    vojel,

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

    vortexal,
    @vortexal@sopuli.xyz avatar

    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?

    vojel,

    Did it help though? Same error or is the system shutting down fine now?

    vortexal,
    @vortexal@sopuli.xyz avatar

    I wont know until tonight.

    vojel,

    What prevents you from shutting it down right now?!

    vortexal,
    @vortexal@sopuli.xyz avatar

    It’s probably just paranoia but every laptop I’ve ever owned has had a problem pertaining to repeatedly turning them off and on again. This laptop is my mom’s and I’m just using it because my old one stopped working and I really don’t want to break this one too.

    vojel,

    You’ll break things if you do more and more stuff suggested inside this thread without testing it. Maybe executing ldconfig was enough, but if you try more and more stuff you don’t know what you did. Linux is very hard to break, especially when you didn’t mess around with things like packages and libraries by yourself, there’s mostly a way back. But if you’re scared use the time and make a backup and a live USB stick with a Linux distro of your choice to rescue the system if something’s terribly messed up.

    vortexal,
    @vortexal@sopuli.xyz avatar

    I’m not concerned about Linux breaking, I’m concerned about the laptop itself. My last laptop stopped being able to boot into any OS or even enter the bios after I was repeatedly restarting it one day and my laptop before that has a problem where for some reason the screen gets dark spots if it’s turned on more than once a day. I also have another laptop that has a failing GPU and another that for some reason can’t read internal hard drives anymore. In the off chance that Linux does have problems, I am already prepared for that but as I said, I’m more concerned about the laptop. We’ve had it for over 5 years and we really can’t afford a new one.

    Morphit,
    @Morphit@feddit.uk avatar

    ldconfig sets up links and caches for loading library code. That might be an issue if your install is broken between updates. You can use ldd to check if code can be looked up. ldd /usr/lib/x86-64-linux-gnu/libpcre2-8.so.0 should show no errors. Likewise for ldd /usr/sbin/init.

    (Your paths may vary)

    vortexal,
    @vortexal@sopuli.xyz avatar

    Ok, so Synaptic Package Manager states that it’s installed in the exact location you say that it’s supposed to be in but ldd states “No such file or directory”. What’s going on here?

    https://sopuli.xyz/pictrs/image/b27d17c1-a016-45ab-9166-521b0b4ceaed.png

    puttputt,

    You have a typo: It should be x86_64, not x86-64

    vortexal,
    @vortexal@sopuli.xyz avatar

    Oops, anyways it seems to have been found this time. I did reinstall it already but I wont know if it fixed the issue until tonight.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • rosin
  • thenastyranch
  • ethstaker
  • osvaldo12
  • mdbf
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Youngstown
  • ngwrru68w68
  • slotface
  • GTA5RPClips
  • kavyap
  • cubers
  • JUstTest
  • everett
  • cisconetworking
  • tacticalgear
  • anitta
  • khanakhh
  • normalnudes
  • Durango
  • modclub
  • tester
  • provamag3
  • Leos
  • megavids
  • lostlight
  • All magazines