• palordrolap@fedia.io
      link
      fedilink
      arrow-up
      11
      ·
      3 days ago

      While the palindromic structure of that command is pleasing to mine eye, LMDE basically called me a frickin’ idiot for trying.

      I know it always asks Continue [Y/n] and there’s no yes | or echo | to force that, so I was reasonably sure I’d get away with it, but I don’t think I could argue with the sentiment had it actually said that.

      (Also, I have Timeshift, so that would have saved my bacon but for the inconvenience of having to go through a rollback.)

      Anyway, here’s what it said (scrolling may be required to see the last line which is clearly code for “you’re an idiot”):

      REMOVING:                       
        apt       apt-utils          mint-meta-cinnamon  mintsources  mintupdate       sudo
        apt-file  command-not-found  mint-meta-core      mintsystem   python3-repolib
      
      WARNING: The following essential packages will be removed.
      This should NOT be done unless you know exactly what you are doing!
        apt
      
      Summary:
        Upgrading: 0, Installing: 0, Removing: 12, Not Upgrading: 1
        Freed space: 52.3 MB
      
      Error: Removing essential system-critical packages is not permitted. This might break the system.
      
      • jdr@lemmy.ml
        link
        fedilink
        arrow-up
        9
        ·
        3 days ago

        Honestly, I want to be allowed to break my system. I own it, it should do exactly what I say, warnings are fine, but software deciding it knows better than you is how we have reached the inescapable technogulag of the now.

      • 🌞 Alexander Daychilde 🌞@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        First of all, it pleases me greatly that you appreciated the palindromic nature of it. That pleased me as I wrote it (you know how you can write something and realize that it’s unintentionally great? lol)

        Second of all, it pleases me that you tried it. lol. I was originally a DOS/Windows guy, so while I know a tiny bit of the Deep Magic, it’s safe to say I’m a fairly average user on the Linux side of things, though I do love learning.

        How brilliant. Just like with rm / -rf protection that you can override, but must override… I had actually assumed (without thought) that sudo and apt were built-in commands like dir and cd in DOS, so there wouldn’t be anything to remove. But makes sense that everything is a package.

        Today, thanks to you, I learned the most delightful thing. Thank you. <3

        • palordrolap@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          Everything is a package

          I mean, pretty much. Or rather, everything is in a package. Back in the old days they were called source distributions or .tar.gzs and you compiled everything yourself. Gentoo, for example, still does everything that way, but uses the name ‘package’ anyway.

          The coreutils package, or something like it, contains multiple commands that a bare bones, command-line-only system would need, but some things are built into the shells. e.g. cd is always shell-based. echo may or may not be. ls (dir) is in coreutils.

          There are also things like busybox that, in a single executable from a single package, contains a stripped-down version of everything in coreutils, a shell and a handful of other things too.