pkgm fails when used with separate filesystems
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- deno, typescript
- Ambito
- cli, operating-systems
Direzione di ricerca
Start with /usr/local/bin/pkgm and trace sudo_install, mirror_directory, and processEntry around the failing Deno.link call. Reproduce the neovim.io install across separate filesystems, then verify that installation completes and that nvim is available as shown in the report.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 60
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pkgxdev/pkgm
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di pkgxdev/pkgm
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100