janet-lang / jpm

Janet Project Manager
MIT License
72 stars 22 forks source link

Unexpected behavior with [un]installing global pkgs #9

Closed pepe closed 3 years ago

pepe commented 3 years ago

I found that with the new separate jpm command, I cannot uninstall global packages. For some, spork, for example, the solution is to install the package again and then uninstall it. For some others, miniz, for example, this does not work either.

pepe commented 3 years ago

I can reproduce this behavior on another system as well. There I tried to remove /usr/local/lib/janet and fresh install janet and jpm from source with the same result. I will try to investigate more later and come back with what I have found.

sogaiu commented 3 years ago

FWIW, I tried with both spork and janet-miniz and here (Manjaro Linux) it seemed to work ok (jpm 996a59e).

I don't have things installed under /usr/local though.

I can try in a VM for a /usr/local installation.

sogaiu commented 3 years ago

I didn't notice any difference -- it was with a VM running Manjaro Linux though.

May be it depends on the distribution?

pepe commented 3 years ago

The second systém i have used is also Manjaro. I guess it is something with my systems installation being old. I will try to clean it up and do fresh install thank you for testing @sogaiu. I am closing this as it seems to be user error.