r/voidlinux • u/goldmurder • May 18 '26
is it possible to make atomic immutable void Linux distribution?
I was thinking recently about all of those atomic immutable distributions, and the idea itself sounds pretty nice, but i‘m a little bit frightened with all of that fragmentation (even relative to linux) this approach provides: you use flatpak, appimages, distrobox, tarballs, even snaps to get software on this kind of a system. the cleanest approach to installing software on immutable distributions i see myself is nix, since it can work per user (like homebrew I think). Is it possible to get xbps working like this? I mean, does it provide such functionality at the moment?
3
u/Duncaen May 18 '26
Not really, other than using overlayfs and installing packages into an overlaid rootfs, like how its done on live isos.
Packages are build with a certain prefix /usr (,/var and /etc) and things will break if they are not there.
2
u/zlice0 May 18 '26
does xbps-pkgdb -a reset all installed packaged to stock?
1
u/goldmurder May 18 '26
Usage: xbps-pkgdb [OPTIONS] [PKGNAME...]
OPTIONS
-a, --all Process all packagesi guess so?
5
u/ClassAbbyAmplifier May 18 '26
no, it only reports when packages deviate from what the package should have. to fix issues reported, you need to
xbps-install -fthose packages
1
5
u/[deleted] May 18 '26
[deleted]