[racket] raco pkg install/remove problem

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Aug 18 15:39:15 EDT 2013

At Sat, 17 Aug 2013 20:16:02 -0400, Tony Garnock-Jones wrote:
> Hi all,
> I just installed a package with raco pkg install:
> $ raco pkg install
> github://github.com/tonyg/racket-pretty-printing-combinators/master
> ... and then removed it with raco pkg remove:
> raco pkg remove racket-pretty-printing-combinators
> ... only to be told:
> Inferred package scope: /home/tonyg/src/racket/racket/share/pkgs

The inferred scope is where things went wrong.

It's the same problem that Vincent reported --- and that I was having
trouble replicating, but Lorry figured out what I was missing:

At Fri, 16 Aug 2013 09:38:53 +0100, Lawrence Woodman wrote:
> The problem only appears when using a package link to a directory when
> no packages have been installed under the user's .racket folder.  As soon
> as I installed a package for the user, the problem went away.

With the hint, I was able to replicate the above problem, and I've
pushed a repair.

Posted on the users mailing list.