You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running pkgm install on a system with separate filesystems does not currently work. For example, I have separate filesystems (zfs) for /usr, /root, and /home. This is what I get when attempting to install neovim via pkgm:
$ pkgm install neovim.io
warning: --json is not stable use --json=v1
error: Uncaught (in promise) Error: Invalid cross-device link (os error 18): link '/home/dewey/.pkgx/neovim.io/v0.10.3/share/locale/sk/LC_MESSAGES/nvim.mo' ->'/usr/local/pkgs/neovim.io/v0.10.3/share/locale/sk/LC_MESSAGES/nvim.mo'
await Deno.link(sourcePath, targetPath);
^
at async Object.link (ext:deno_fs/30_fs.js:443:3)
at async processEntry (file:///usr/local/bin/pkgm:196:7)
at async processEntry (file:///usr/local/bin/pkgm:192:9)
at async processEntry (file:///usr/local/bin/pkgm:192:9)
at async processEntry (file:///usr/local/bin/pkgm:192:9)
at async processEntry (file:///usr/local/bin/pkgm:192:9)
at async processEntry (file:///usr/local/bin/pkgm:192:9)
at async mirror_directory (file:///usr/local/bin/pkgm:179:3)
at async sudo_install (file:///usr/local/bin/pkgm:145:5)
at async file:///usr/local/bin/pkgm:54:7
The same operation seems to work in a "big root" single-filesystem instance (such as as the case in a podman/docker container):
root@12b50b6ab237:/# pkgm install neovim.io
warning: --json is not stable use --json=v1
root@12b50b6ab237:/# which nvim
/usr/local/bin/nvim
root@12b50b6ab237:/# nvim --version
NVIM v0.10.3
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068
Run "nvim -V1 -v"for more info
The text was updated successfully, but these errors were encountered:
symlink means the installed products can be edited by the user which is one of the protections of pkgm. Like could be configurable long term so you can safe space.
hm, maybe that's an ask the user and direct them to a link with the pros/cons. Symlinks to just work, but then you're at the mercy of the user (which is "fine" for most single-user systems), or fall back to ~/.local/bin, or use /usr/local/pkgx.
Running
pkgm install
on a system with separate filesystems does not currently work. For example, I have separate filesystems (zfs) for/usr
,/root
, and/home
. This is what I get when attempting to install neovim via pkgm:The same operation seems to work in a "big root" single-filesystem instance (such as as the case in a podman/docker container):
The text was updated successfully, but these errors were encountered: