On Fri, 18 Aug 2023 16:38:28 +0900 "lain." <lain@xxxxxxxx> wrote: > Though it is possible to make it do so, but requires quite a bit of > workarounds, like copying over all the files and directories pacman > uses (/var/lib/pacman, /usr/share/pacman, /etc/pacman*, and so on) to > your home directory (or separate partition), and you'll need to pass > the "--sysroot" flag every time you want to update, so it's a bit > anal. Maintaining another sysroot is basically dealing with another complete isolated system, and I believe we have tools that automate these, since it's just a container; and some of those tools can work without root privileges, e.g. bwrap. Or simply unshare and call systemd-nspawn. But this approach is going to take more space since all dependencies would be installed twice, and depending on OP's resources this may be too much.