this post was submitted on 19 Apr 2025
293 points (98.7% liked)
Linux
53453 readers
790 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In that specific context I was still thinking about how you need to run
mysql_upgrade
after an update, not the regular post upgrade scripts. And Arch does keep those relatively simple. As I said, Arch won't restart your database for you, and also won't runmysql_upgrade
because it also doesn't preconfigure a user for itself to do that. And it also doesn't initialize/var/lib/mysql
for you either upon installation. Arch only does maintenance tasks like rebuild your font cache, create system users, reload systemd. And if those scripts fail, it just moves on, it's your job to read the log and fix it. It doesn't fail the package installation, it just tells you to go figure it out yourself.Debian distros will bounce your database and run the upgrade script for you, and if you use unattended upgrades it'll even randomly bounce in the middle of the night because it pull a critical security update that probably don't apply to you anyway. It'll bail out mid dist-upgrade and leave you completely fucked, because it couldn't restart a fucking database. It's infuriating, I've even managed to get apt to be incapable of deleting a package (or reinstalling it)/because it wanted to run a pre-remove script that I had corrupted in a crash. Apt completely hosed, dpkg completely hosed, it was a pain in the ass.
With the Arch philosophy I still need to fix my database, but at least the rest of my system gets updated perfectly and I can still use pacman to install the tools I need to fix the damn database. I have all those issues with Debian because apt tries to do way too fucking much for its own good.
The Arch philosophy works. I can have that automated, if I asked for it and set up a hook for it.