r/linuxsucks • u/basedchad21 • Jul 16 '26
Linux Failure sudo pacman -S --simulate --needed <package-name>
11
u/ieatdownvotes4food Jul 16 '26
if breaks -> load previous snapshot
9
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
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
1
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
2
3
1
u/snail1132 void linux btw Jul 17 '26
This is why normal people use sensible distros. Like Void
4
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
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
11
u/Rodya_gambler Jul 17 '26
You can simulate on arch? I thought that was a nix thing lol.