Pkgx multi-user experience is unpleasant
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- cli, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 9.9k
- Fork
- 1.4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pkgxdev/pkgx
-
`--query` flag goneĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
`pkgx --update`Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Reduce installation dependenciesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
chroma-core/chroma#7879 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
KATO-Hiro/AtCoderClans#12838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
clap_complete env (PowerShell): values after a space don't complete in Windows PowerShell 5.1Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày