Pkgx multi-user experience is unpleasant
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- cli, operating-systems
Direzione di ricerca
No source files, tests, or entry points are identified in the report. Start by reproducing the root-user install and git-pull sequence on a multi-user macOS system, then trace the permission and per-user installation behavior. Done means the observed failures are isolated and covered by a reproducible test or clearly documented limitation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The multi-user experience in pkgx is unpleasant. I manage multiuser computers and so I set up my computer as multiuser as well. I try to do all of the installs as root. But things just act very strange and I have not figured out what is going on. Here is an example session that makes no sense.
root> git pull
dyld[31392]: Library not loaded: @rpath/nghttp2.org/v1/lib/libnghttp2.dylib
Referenced from: <F633202F-225A-3753-8C7F-3EC2EEFD24FE> /Users/james/.pkgx/curl.se/v8.17.0/lib/libcurl.4.dylib
Reason: tried: '/Users/james/.pkgx/curl.se/v8.17.0/lib/../../../nghttp2.org/v1/lib/libnghttp2.dylib' (no such file), '/Users/james/.pkgx/git-scm.org/v2.52.0/libexec/../../../nghttp2.org/v1/lib/libnghttp2.dylib' (no such file), '/Users/james/.pkgx/git-scm.org/v2.52.0/libexec/../../../nghttp2.org/v1/lib/libnghttp2.dylib' (no such file)
error: git-remote-https died of signal 6
fatal: remote helper 'https' aborted session
root> pkgm install git
Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
root> git pull
Already up to date.
How come pkgm install git says "permission denied" to the root user? And then how come git pull worked after running pkgm install git? I don't even know how to set up test cases to isolate the problems I experience because none of it makes sense to me. I've just gotten in the habit of removing everything that is pkgx (which isn't easy) and reinstalling it all. I've had to go back to using other python installers because the pkgx python experience is so bad.
I wish there was a global switch that I could flip that turned off any ~/ installs.
- Lingua principale
- Rust
- Stelle
- 9.9k
- Fork
- 1.4k
- Merge medio
- 1g 17h
- PR unite (30g)
- 1
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/pkgx
-
`--query` flag gone Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
`pkgx --update` Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di pkgxdev/pkgx
Issue simili
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Apertabug CLI custom-model
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
A-allocators A-docs C-enhancement T-libs
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100