this post was submitted on 09 Nov 2026
700 points (97.4% liked)

Programmer Humor

34287 readers
1630 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] epyon22@sh.itjust.works 16 points 2 weeks ago (1 children)

Gotta minimize your attack surface sudo apt remove konsole for any Debian kde based distros

[–] daychilde@lemmy.world 40 points 2 weeks ago (2 children)
[–] deadbeef79000@lemmy.nz 23 points 2 weeks ago

I used the stones to destroy the stones

[–] palordrolap@fedia.io 11 points 2 weeks ago (2 children)

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 9 points 2 weeks ago (3 children)

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.

[–] Anafabula@discuss.tchncs.de 6 points 2 weeks ago (2 children)

You can, if you create an empty file at /etc/apt/break-my-system first. It's intentionally not mentioned to prevent another Linus situation

[–] jdr@lemmy.ml 7 points 2 weeks ago* (last edited 2 weeks ago)
[–] daychilde@lemmy.world 1 points 2 weeks ago

Because of course you can.

I will say, in the world where you can't do anything with "con:" or "prn:" or a few others in DOS, the fact that you CAN force Linux to let you completely and utterly fuck yourself if you truly want to....... is great. lol

[–] rockSlayer@lemmy.blahaj.zone 4 points 2 weeks ago (1 children)

In my experience, Linux only allows you to do 1 incredibly stupid thing at a time. Remove sudo? Cool. Remove apt? You betcha. Remove apt AND sudo? You're fucking nuts, I ain't doing that

[–] jdr@lemmy.ml 4 points 2 weeks ago

https://www.gnu.org/philosophy/free-sw.en.html#four-freedoms

Freedom 0 says I can be nuts and that clankers better obey

[–] KeithD@lemmy.nz 2 points 2 weeks ago* (last edited 2 weeks ago)

You could always try using "sudo dpkg -r --force-all apt" instead. It won't clean up the dependencies, admittedly.

[–] daychilde@lemmy.world 1 points 2 weeks ago (1 children)

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 2 points 2 weeks 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.