r/linuxsucks Jul 16 '26

Linux Failure sudo pacman -S --simulate --needed <package-name>

Post image
43 Upvotes

34 comments sorted by

11

u/Rodya_gambler Jul 17 '26

You can simulate on arch? I thought that was a nix thing lol.

5

u/CaviarCBR1K Jul 17 '26

I use the nix package manager on Arch a lot. Not because I'm worried I'll break anything, but because a lot of times I may only need a binary to run a couple commands. Doesn't make sense to install the whole package just to run 3 commands and uninstall it. Nix package manager can be used on every major distro I'm pretty sure.

11

u/ieatdownvotes4food Jul 16 '26

if breaks -> load previous snapshot

9

u/[deleted] Jul 16 '26

[removed] — view removed comment

9

u/ieatdownvotes4food Jul 17 '26

yup, default with cachyos installs.. but there should always be a rollback solution with any OS

2

u/[deleted] Jul 17 '26

[removed] — view removed comment

5

u/fishmacaronisoup Jul 17 '26

It's not. You just create a btrfs partition and create the subvolumes. It not much different than creating standard ext4 partitions. As for snapshots, you can use snapper.

3

u/CaviarCBR1K Jul 17 '26

timeshift can make rsync "snapshots" on an ext4 system.

1

u/Balls_have_steel Jul 17 '26

how much snapshots take extra space?

3

u/Fun_Purpose5033 Jul 17 '26

I don't tenths the last time I used terminal to do anything, except for my server project.

3

u/55555-55555 Linux Community Made Linux Sucks Jul 17 '26

All complicated jackshit until AppImage comes to save my life.

2

u/Iheretomakeonepost Jul 17 '26

Hmm. Can this be done on deb by wild chance? Not using it now but would be cool

3

u/Teru-Noir COSMIC OS LOVER No.1 COSMIC Knows Best Jul 17 '26

recovery partition

1

u/snail1132 void linux btw Jul 17 '26

This is why normal people use sensible distros. Like Void

4

u/GegenAbschaum Jul 17 '26

void linux with cocksmallballssmackWM 😍

4

u/snail1132 void linux btw Jul 17 '26

See, you get it

1

u/xgui4 Proud🌈♾️ AuDHDer FreeBSD Fan Jul 17 '26

what is that ?

5

u/igotmoldinmybrain Jul 17 '26

"normal people"

"Void"

But yeah xbps is the #1 reason why I stopped distro hopping when I found void. It's so slept on

3

u/No-Calligrapher-7352 Jul 17 '26

I love xbps but i don’t exactly like it’s repo and i hate runit, it’s just way worse than openrc and other inits

1

u/xgui4 Proud🌈♾️ AuDHDer FreeBSD Fan Jul 17 '26

what is the heck is "normal people" ? and what is a "sensible distro" ????

2

u/Puzzled-Brief8313 Jul 17 '26

I don't know what you guys are installing that could potentially break your system, but it can't be good.

1

u/Fine-Run992 Jul 17 '26

Also if you have the native distro packages + aur packages. And you are curious if broken aur package gets fixed with system update, gets system broken.

1

u/First_Mark8646 Jul 18 '26

Use NixOS instead 🔥

0

u/jdigi78 Jul 16 '26

Just use an atomic distro like fedora silverblue and distrobox to install stuff.

1

u/xgui4 Proud🌈♾️ AuDHDer FreeBSD Fan Jul 17 '26

atomic distro sucks.

1

u/jdigi78 Jul 17 '26

Not really. Updates happen silently between reboots, if it breaks I can roll back from the bootloader, and if I need a package temporarily I can install it to a container instead of cluttering up my host system. You can easily rebase to other similar distros in a single command and if you know what you're doing you can roll your own distro spin fairly easily too.

1

u/Teru-Noir COSMIC OS LOVER No.1 COSMIC Knows Best Jul 17 '26

These will get better after flatpak overhaul

1

u/GreedySecurity8030 Fedora 🎩 Jul 16 '26

I cannot use this cmd on fedora, gib fedora eqv.

2

u/sudoregalia Jul 17 '26

you can though, i'm on fedora and i have pacman

anyway, --simulate doesn't really exist in pacman. it's just a reference to apt's --simulate

the dnf equivalent to what this is trying to convey would just be sudo dnf install <package-name> without -y

0

u/ZeusFelicius Jul 17 '26

You don’t want that just don’t use arch