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

  • inetknght@lemmy.ml
    link
    fedilink
    arrow-up
    47
    arrow-down
    1
    ·
    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.xyzOP
      link
      fedilink
      arrow-up
      9
      ·
      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
        link
        fedilink
        arrow-up
        18
        ·
        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.xyzOP
          link
          fedilink
          arrow-up
          4
          ·
          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
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      1 year ago

      on Arch-based distros after updating system packages

      So basically every shutdown lol

    • qjkxbmwvz@lemmy.sdf.org
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      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.

  • Atemu@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    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.

      • InFerNo@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        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.

      • ReakDuck@lemmy.ml
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        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.

        • vortexal@sopuli.xyzOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          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.

  • vojel@feddit.de
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    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.xyzOP
      link
      fedilink
      arrow-up
      6
      ·
      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
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

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

        • vortexal@sopuli.xyzOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          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?

          • Morphit @feddit.uk
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            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@sopuli.xyzOP
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              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?

                • vortexal@sopuli.xyzOP
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  1 year ago

                  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.

  • Xeelee@kbin.social
    link
    fedilink
    arrow-up
    10
    ·
    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
      link
      fedilink
      English
      arrow-up
      9
      ·
      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        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.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

    • vortexal@sopuli.xyzOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      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.

    • vortexal@sopuli.xyzOP
      link
      fedilink
      arrow-up
      2
      ·
      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.

    • vortexal@sopuli.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

  • dack@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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