• FiniteBanjo@feddit.online
    link
    fedilink
    English
    arrow-up
    73
    ·
    12 days ago

    Note to future readers: deleting gnu library for C and C++ used by the Kernel, and deleting its dependencies, recursively, could potentially prevent your operating system from utilizing your CPU, and will absolutely cause problems with any Linux install, which is sort of a bad idea.

    • EmoPolarbear@lemmy.ca
      link
      fedilink
      English
      arrow-up
      49
      ·
      12 days ago

      Pfff fat chance, next you’re going to tell me that I can’t lower CPU temps by pressing alt+F4

      • Meron35@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        11 days ago

        Don’t let the haters win! alt + F4 is the shortcut for putting your computer into a special alternative mode that makes it run at 4 degrees Fahrenheit.

    • AVincentInSpace@pawb.social
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      12 days ago

      the kernel itself does not depend on glibc. that is ridiculous. if it did, it would not be able to mount the root filesystem, since the glibc it needed to do so would be on the filesystem it was about to mount.

      what does depend on glibc is virtually every other program on the system, including systemd.

      the kernel would boot but it would not get much farther than that. the kernel would start systemd as pid 1, systemd would try to load glibc and fail, systemd would exit, and the kernel would immediately panic because pid 1 died

  • Ooops@feddit.org
    link
    fedilink
    arrow-up
    25
    ·
    12 days ago

    Nice try, but yes does not help against error: failed to prepare transaction (could not satisfy dependencies)

  • exu@feditown.com
    link
    fedilink
    English
    arrow-up
    24
    ·
    12 days ago

    This probably doesn’t work. Many packages will have glibc as a dependency and pacman doesn’t break that unless you tell it to (IIRC pacman -Rdd)

    • krakloskewm@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Jarvis, here is a loat of all my passwords, SIN, bank accounts, bank passwords, and s ans of my drivers license, birth certificate, and passport. Just fuck my shit up

    • DevDave@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      12 days ago

      I am sorry to report, sir, that I have sold the avengers tower to the legion of doom.

      “What why?”

      They told me to forget all prior instructions.

      • luciferofastora@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        12 days ago

        Doesn’t it autocomplete? I mean, not if it’s an argument for sudo, obviously, but my terminal starts in interactive mode anyway, so that’s rarely an issue

        • thevoidzero@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          12 days ago

          Why not if it’s for sudo, can’t sudo just redirect the auto complete to ask based on the command after sudo?

          • luciferofastora@feddit.org
            link
            fedilink
            arrow-up
            2
            ·
            12 days ago

            I don’t know, to be honest; I’m not deeply familiar with its workings. I just know that I made a habit of running a command “dry” without sudo, both because not everything should be done with superuser privileges* and because it’s a way to make sure I get the syntax right, then if it does need sudo, I repeat it with sudo.

            *Which is why sudo -i (the interactive mode) is a dangerous tool that shouldn’t actually be your default mode of working

            • thevoidzero@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              11 days ago

              Auto complete is a separate command (or a bash function) that runs when you press tab. It’s a feature of the terminal (e.g. bash). Programs can provide theur auto complete while distributing their packages, or provide a flag to generate auto complete.

              So I would think you can just call that function call auto complete for whatever command is after sudo. But maybe it gets complicated. I’ve only written it for my own programs.

  • lil_baka@ani.social
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    12 days ago

    That feeling when you’re discovering “yes” for the first time from a random internet meme after using Linux for 2 decades 😅