linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Petter1, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

For me, it was a simple enabling of AUR im manjaro, twice Now I use arch, lol.

MyNameIsRichard, in What software is best to have in a flatpak on tumbleweed?
@MyNameIsRichard@lemmy.ml avatar

DBeaver because it’s not in the repos or obs

Dariusmiles2123, in My First Month of Linux

It’s really nice to see a post like this.

Back in the day I was also dual booting windows and Ubuntu but windows was messing with the system clock.

Then I decided to just have a windows VM to be able to backup my iPhone (not my own choice😞), but I’d want to replace that VM by a MacOs so that at least I learn how to use a new system since I have to keep using windows at work anyway.

The community is a big plus on Linux and you always find someone ready to help you.

I also love the spirit of Linux where you rely way less on big corporations.

Presi300, (edited ) in (Constructively) What is your least favorite distro & why?
@Presi300@lemmy.world avatar

Pull out your pitchforks, debian.

Don’t get me wrong, it’s good in a VM or a server, but it’s the worst Linux desktop experience I’ve ever had.

  • Apt sucks, it’s the worst package manager imo (and I use Gentoo). Slow, bad a dependency resolution and apt-autoremove nuked my system both times I tried to use debian.
  • It’s old. LTS is only good for servers, you cannot change my mind and I don’t see a reason to use sid or unstable, when I can use literally why other distro with a better prepare manager.

And it just does some bizarre things, like not setting up sudo with the graphical installer…

maness300, in what's a normie KDE distro?

Manjaro.

Adanisi,
@Adanisi@lemmy.zip avatar

“Stable”, really? Delaying packages isn’t stable, in fact it can break AUR packages.

maness300,

I never had an issue and I’ve been using Manjaro exclusively for 3+ years.

I think Arch has had issues that Manjaro was able to avoid in the meantime because Manjaro doesn’t push updates as quickly as Arch.

INeedMana, (edited ) in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@INeedMana@lemmy.world avatar

Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought bouncing in your head: “damn, what did I expect to happen?”.

Nah, that’s when the fun really starts! ;)

The package refused to either work or install complaining that the version of glibc was incorrect… So, I installed glibc from Debian’s repos.

:D That one is a classic. Most distributions don’t include packagers from other distros because 99% of the time it’s a bad idea. But with Arch you can do whatever you want, of course

My two things:

  • I’ve heard about some new coreutils (rm, cp, cat… this time the name really fits the contents :D) and I decided to test it out. Of course it was conflicting with my current coreutils package and I couldn’t just replace it because deleting the old package would break requirements. So without thinking I forced the package manager to delete it “I’ll install a new one in just a second”. Turns out it’s hard to install a package without cp, etc :D
  • I don’t remember what I was doing but I overwrote the first bytes of hdd. Meaning my partition table disappeared. Nothing could be mounted, no partitions found. Seemingly a brick.
    Turns out, if you run a rescue iso, ask it to try and recognize partitions and recreate the table without formatting, Linux will come back to life as if nothing happened
fl42v,

Nah, that’s when the fun really starts! ;)

Well, on the upside, it definitely works better than coffee or energy drinks :D

Also, nice save with the last one!

wahming,

Funny, that’s when I give up for the night and go to sleep

sxan, in I'm addicted to caring for my Linux distro, polishing things, optimising stuff it's so funny! Got some stories like that?
@sxan@midwest.social avatar

You might like to consider a job in system administration. It’s like that, only with the added hell of users.

Quazatron, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@Quazatron@lemmy.world avatar

Found out the hard way that if you edit /etc/sudoers with anything other than visudo you best be absolutely sure the syntax is correct, otherwise sudo will refuse to read it and you’ll be locked out.

Also learned to add -rf to the rm command at the end, after I re-read it to make sure it does what it should do. Something like rm /path -rf instead of rm -fr /path. That protects you from your fat fingers hitting the enter key half way through.

fl42v,

Been there with sudo. Fortunately, su still works, as well as going to another tty and logging in as root. Well, as long as the root login is enabled; otherwise that old hack with init=/bin/bash may work, unless you’ve prohibited editing kernel cmdline in the boitloader or decided on efistub

Quazatron,
@Quazatron@lemmy.world avatar

IIRC the root account was disabled (with no password), so I resorted to my trusty SystemRescueCD pen to fix things. Never leave home without it.

carcus, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Learned about the importance of trailing slashes in rsync by using the -delete flag.

emax_gomax, in Ceph: A Journey to 1 TiB/s - Ceph

Really interesting read. I love deep dives like this.

mlg, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?
@mlg@lemmy.world avatar

fstab bind mount for /home that I misspelled, so I couldn’t login as myself.

fstab external hdd mount that didn’t have ignore flag so PC would pop if I booted while unplugged

Accidentally booting windows after a year and it overwrite my EFI boot entry.

The best I’ve see however was an acquaintance who accidentally set perms to own user on /usr/bin

So everything went from root:root to user:user which removed all the SUID/SGID bits as well so a bunch of bins broke lol.

Believe it or not, it was actually fairly easy to fix with chmod and chown

Shameless, in Ruffle (a open source re-implementation of adobe flash player) reviews improvements made in 2023

Something like this to restore the fun mindless games of the 2000’s is definitely needed. Basic HTML webpages with links to ad free browser games, the internet had so much fun free stuff for kids, now its like 5 websites that track your every move

Nibodhika, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

I’ve done my plenty of stupid stuff, from dd disks I was using to forcefully uninstall dependencies of the package manager. But the one that takes the cake for me happened back in 2012, I was working at a research lab in the university and was sharing a computer with another intern. That other intern used Gentoo and so we agreed that the machine should be Gentoo, I’ve installed it at my house on my PC and got comfortable with it before we shared that computer. One thing that I learnt when installing Gentoo is that the /dev folder is created on boot, you don’t populate it when installing, instead you mount the one from the host system you’re using to install.

The computer had an issue with a device, can’t even remember what it was, so I thought I’ll run rm -rf /dev that should take care of the issue and after a reboot it will be repopulated… It might have worked, but what I actually ran was rm -rf /etc.

Engywuck, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

“Updating” a 5.2 RedHat install with a 6.0 Mandrake CD-ROM (or the opposite, can’t remember right now…). Fun stuff.

Kidplayer_666, in What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Man, this was a few months back. I’ve got fedora asahi Linux (Linux on an ARM Mac) and I was trying to install Pycharm to play a bit with Python. Unfortunately, they did not have it packaged for arm, so I had to download a pre compiled tar or zip folder. I test it, see that it is an assortment of bin folders and alike, and decide to put it all elsewhere so it wouldn’t get lost. So I put it on the root and merge the folders. I think immediately “wait this is stupid” and decide to get Pycharm out of there. (I was on nautilus with root privileges), so i simply Ctrl-Z outa there. It shows a warning whether I wanted to delete 4000 files, but because I am an idiot, I didn’t realise what rhay meant. So I did it. I then continue on with my life, and find myself unable to open apps. I was fairly confused, as the apps I already had open still worked. I decide to try to restart the laptop. It is when I see that there is no restart button anymore that I realise what I did, and I just think to myself. I’ll be dammed if this survives a restart, im already screwed so it doesn’t matter. (It didn’t survive the reboot, had to install from scratch. At least an excuse to use the K desktop environment)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #