Raco setup: collection directory does not exist

When I try to install the package through raco, I get a strange error message:

raco setup: directory: #<path:/Users/ben/code/racket/benchmark/tr-pfds/pfds> does not exist for collection: "pfds"

Even a stranger, the launch raco pkg showshows nothing about this "pfds" collection:

Installation-wide:
 Package              Checksum                                     Source
 main-distribution    f07e2d4bf2708c1085be38eca18aa9eb6755e547    (catalog main-distribution)
 racket-lib           41c7b3221006758c5a840a18dcc0d265632f14c2    (catalog racket-lib)
 [178 auto-installed packages not shown]
User-specific for installation "6.1":
 Package            Checksum                                    Source
 benchmark          1237b50804bb42bd242ba7b3eb6e2b98794b40ee    (catalog benchmark)
 feature-profile    109e89701839a6d2fed9d1713aef8d21cc8b54d4    (catalog feature-profile)
 quickcheck         1afac87825c5da8b35b327f5df3f1f9e1bf3cb9d    (catalog quickcheck)
 rackunit-chk       9c6e9c346c0e83bd3bb8dd16e321a2fa3e02b42e    (catalog rackunit-chk)

Another thing I tried was just deleting the "pfds" collection, but that didn't like it either:

raco6.1 pkg remove pfds
Removing pfds
raco6.1 pkg remove: package not currently installed
  package: pfds
  current scope: user

But in retrospect, this error makes sense to me because the directory /Users/ben/code/racket/benchmark/tr-pfds/pfdsdoes not exist on my machine. I deleted it a few weeks ago.

Does anyone know what is going on?

+4
source share
1 answer

raco link ? , raco link ed , .

, :

  • raco link --repair. , .

  • raco link -r pkfds, pfds.

  • links.rktd, :

    • (Linux) ~/.racket/<version>/links.rktd
    • (OS X) ~/Library/Racket/<version>/links.rktd
    • (Windows) C:\Users\<username>\AppData\Roaming\Racket\<version>\links.rktd

pfds, .

, raco setup .

( , raco link API Racket.)

+3

All Articles