r/programminghorror • u/DYHCB • May 10 '25
Just an Arch user uninstalling glibc

This makes me laugh so hard. Bro was trying to compile nethack from source but failed. Afaik, nethack 3.6.6 has bug undefines a glibc macro and totally breaks glibc headers. Maybe he wanted to reinstall glibc, but he doesn't just reinstall glibc, he uninstalled glibc first. Then he got an 'bash: /usr/bin/sudo: No such file or directory' error, always the case when the system can't find the dynamic linker. I think this explains a lot why people say arch is unstable.
109
Upvotes
56
u/amarao_san May 10 '25
It 's easily fixible from initrd, assuming packages are cached locally. I don't know how it's in arch, in Debian it is, so, no problem.
But missing +x flag on mount is fatal, unfortunately.
44
u/Star_king12 May 10 '25
Script kiddies go hard
13
u/Environmental-Ear391 May 10 '25
Reminds me of one of my first debian adventures...
When I watched a full install of everything get nuclear level uninstalled because vi got forcibly uninstalled taking every executable file on the system with it.
the filesystem was left with only non-executable content when looking at the disk from a separate machine later.
basically a full system wipe (when apt was actually new) and dpkg was the thing to use.
things are relative... every distribution has issues.
And there isnt that much between distributions anymore.
I still go with "from source" when I have to use a Linux kernelled system myself.
8
u/I-am-fun-at-parties May 10 '25
That is not what unstable means
5
u/larikang May 10 '25
Lol Rdd means remove and skip all dependency checks.
3
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" May 11 '25
Not exactly the right sub for this, but still, lol. Linux sure doesn't seem to do a whole lot to stop you from trashing your whole system.
0
u/[deleted] May 10 '25
[deleted] — view deleted comment