• TriflingToad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 minutes ago

    accidentally deleted every dependency VLC requires instead of deleting VLC. Absolutely recked EVERYTHING on my PC.

    I deserve it for trying to remove the best video player 😔

  • qyron@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    ·
    1 hour ago

    I once tried to delete something I was not supposed to and the system was quite adamant on advising against it. The system was to be reinstalled so I was just trying things.

    It’s been a while but I recall the system giving me a first warning that my command woud delete X, Y and Z, which could render the system inoperable.

    Then it questioned me if I was sure I wanted to proceed with the operation.

    The final warning was a sum of the potential damage I would do to the system and that it would be irreversible, without a full system install.

    So, three strikes.

    • cogman@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      2 hours ago

      sudo dd if=/dev/urandom of=$(df | grep '\s/$' | cut -d' ' -f1)

      (Omit the $ if you are using the fish terminal)

  • Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 hour ago

    Yup. And I’ve seen countless “articles” by trust-me-i-am-it-guru’s whining that this is allowed

    • azha@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      And everything and your entire PC is under your control

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    2 hours ago

    As a user, I hate when an OS gets in my way. Or insists that there is one right way to do something.

    As the tech support guy in my family, I’m grateful that windows denies permission, has big guard rails, and forces you to do updates.

    • Empricorn@feddit.nl
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 hours ago

      Bruh. For how many years did Windows make every luddite, child, and grandparent default Administrator with full, unprompted access to install viruses, run scripts, and delete system files?

    • tazeycrazy@feddit.uk
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 hours ago

      I suppose immutable systems are ment to stop the end user from bugging out the system but even regular Linux distrios need to assume that there users are incompetent cus I am.

  • Agosagror@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    I did this once by accident, I deleted every file that had KDE as a dependency recursively. As well as every file that KDE listed as a dependency, recursively.

    Lesson learnt

    • azha@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      You can’t kill windows with windows but you can kill Linux with Linux. Remember that.

    • stuner@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 hour ago
      E: Removing essential system-critical packages is not permitted. This might break the system.
      

      You can still do it if you really want, but even Linux rightly has some protections against breaking your system.

      • KubeRoot@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        6
        ·
        54 minutes ago

        I do want to clarify: it’s not Linux itself, but specific distributions (or rather their package managers). As far as I know, Arch’s pacman would do nothing to stop me 🥰

        • addie@feddit.uk
          link
          fedilink
          arrow-up
          2
          ·
          14 minutes ago

          Yeah, swapped out grub for systemd-init on a running Arch system not too long ago. Arch is cool with it. Be sure not to make any really bad typos while you’ve not got a boot manager, of course.

    • KubeRoot@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      53 minutes ago

      I might be wrong, but I think that actually wouldn’t do anything, because grub is installed by the tooling from the package, not the package itself?

  • hddsx@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    That’s not true. Most distros now ask you to add —no-preserve-root

    • Elvith Ma'for@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      59 minutes ago

      Have you tried to add * to the path? No more nagging about that pesky missing safety parameter…

      rm -fr /*
      

      Bonus points of you do:

      rm -fr $ACCIDENTIALLY_UNDEFINED_VAR/*