r/linuxmemes • Open Sauce • 6d ago

LINUX MEME Ah, to chroot again

Post image
418 Upvotes

37 comments sorted by

•

u/AutoModerator 6d ago

IMPORTANT: Subreddit Rules & Reminders

Please REPORT posts that violate any of the following rules!


Posts You Should Report

  • Tier Lists: Every tier list MUST include Hannah Montana Linux in S Tier, regardless of what the tier list is ranking.

    • S Tier MUST be the highest tier on the list.
    • Hannah Montana Linux MUST be in that top S Tier.
    • No exceptions!
  • Saying Android Isn't Linux: You voted that Linux is Android and saying it's not is anti-Linux propaganda.
  • Ban Show-Off Posts: Users posting screenshots or otherwise showing off bans from other subreddits.
  • Anti-Linux Posts: Only ONE anti-Linux post per week is allowed across the subreddit. We used to get dozens every day!

Help by reporting

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

43

u/LRaccoon 6d ago

Why is everyone suggesting Nix in the comments? Also I've never had that issue updating Arch

24

u/Technical_Instance_2 Arch BTW 6d ago edited 6d ago

Nix uses a "generations" system where each new system update is a generation. meaning you can roll back. but you have to learn a new coding language to configure your system

12

u/Little_Ad2062 6d ago

For Arch users, they can set up the same thing with Snapper, as long as they use BTRFS. I couldn't live without the peace of mind.

Never needed it once, but with Arch's reputation for breaking, I'm glad it's there lol.

3

u/SDG_Den 6d ago

snapper + btrfs is a godsend on arch tbh. it's not nixos generations, but for arch it's genuinely such a saviour when you need it.

3

u/p47guitars 6d ago

I personally like having my Linux system scaring me when I run updates. I use fedora. We are not the same.

1

u/Technical_Instance_2 Arch BTW 6d ago

yeah, it's defo nice to have as an option on Arch, but NixOS has it by default which would give me more peace of mind if I were to use NixOS

4

u/LRaccoon 6d ago

That makes sense

2

u/Technical_Instance_2 Arch BTW 6d ago

glad I could help

4

u/SDG_Den 6d ago

because on nixOS, updates are atomic, so either the whole thing applies or it doesn't.

you can literally ctrl+c 90% of the way through a nixos-rebuild, and you'll be entirely fine. hell, because it already created most of the store items at this point, re-running nixos-rebuild basically re-starts from where you left off because it doesn't have to rebuild what it already did.

1

u/sYm0N-01 6d ago

Once my laptop's battery died while it was generating the initramfs and building kernel modules. Couldn't boot. I had to boot from a live USB, mount the partitions, and finish the update via arch-chroot. It can happen, it's annoying, but to my knowledge shouldn't be that bad

1

u/Sushtee 19h ago

Because Nix users love to tell they use it more than arch users lmao

6

u/InitialeLangmut 6d ago

btrfs snapshots: Am I a joke to you?

19

u/Bedu009 6d ago • Heartwarming

NixOS fixes this

4

u/das_menschy 6d ago

You can always just do CTRL + PRINT + REISUB. I don't see the problem? 

As long as pacman only downloads and doesn't install the updates (which the text implies, because you have to confirm with "Y" for installation, but that "Y" isn't mentioned in the OP text), you can just re-run it (maybe remove the lock file). 

4

u/Lou_Papas 6d ago

-Sybau

12

u/somelinuxuseridk ⚠️ This incident will be reported 6d ago • Heartwarming

something something nix solves this btw /j

3

u/keybing 💋 catgirl Linux user :3 😽 5d ago

ah, error: you cannot perform this operation unless you are root

2

u/Unhappy_Eye_14 6d ago

Skill issue

1

u/[deleted] 6d ago

Nice.

2

u/MarceltheKnight 6d ago

I have yet to break anything substantial. I’ve needed to remove a package or refresh the mirrors but never breaking things out right.

2

u/YakubReddit 6d ago

thx for reminding gonna update now

1

u/rotacni_anuloid Dr. OpenSUSE 6d ago

At last! The real fun begins!

1

u/rmyworld 6d ago

This is why offline updates exists in Fedora. There's probably some way to enable that in Arch as well, but I never bothered since I've never had Arch freeze before while I'm updating with pacman.

1

u/[deleted] 6d ago

Tomorrow it’s my turn to post this.

1

u/imfyn 6d ago

you need more u -Syuuuuuu

1

u/Xakaidax 6d ago

I just have everything as an isolated binary or appimage 🥱

1

u/Urist_McPencil 6d ago

I've had great success by rebooting the system, switching to one of the shells at the login screen, and updating from there. I don't know if it helps, but I take a page from the Mechanicus on this one: if the process works, don't change it, and don't forget to murmur some prayers to the Omnissiah while you're at it

1

u/pirateking1993 5d ago

I use Linux Mint so i don't have this issue. 🙃

1

u/According_Orange_729 1d ago

yeah on CachyOs. on arch I guess I haven't seen something like that for 2 years

1

u/Great_Banana_Master 💋 catgirl Linux user :3 😽 11h ago

XBPS my beloved

-7

u/LeateWonceslace New York Nix⚾s 6d ago edited 6d ago • Heartwarming

I've seen like 20 of these. Just use NixOS.

Edit: Cry about it.

5

u/MrMeaow44568 6d ago • Heartwarming

Lol I just switched to NixOS day before yesterday from Arch

0

u/LeateWonceslace New York Nix⚾s 6d ago

Welcome and sorry for the inconvenience.

10

u/Linguistic-mystic 6d ago

Just learn a whole fucking programming language and a new way of administering the system and a new distro

0

u/LeateWonceslace New York Nix⚾s 6d ago

Yeah! It's the best.

0

u/Unique_Roll_6630 6d ago

I don't have this problem. But I also use Debian based PikaOS sooo.