Skip to content

Pkgx multi-user experience is unpleasant #1221

@magnusviri

Description

@magnusviri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions