The package system via works at a layer above `raco link`, so when you
use `raco link` directly, you can create a situation that makes no
sense to the package manager. For example, `raco link -r` can remove a
link that the package manager thinks is still installed.

So, don't use `raco link`. Instead, use `raco pkg`, which is happy to
link a local directory as a package when you supply `raco pkg install`
with a directory argument (i.e., something with a slash in it). Using
the package manager in DrRacket is the same as using `raco pkg`.

I'm not sure what state Mario's installation is in, but maybe it will
work to uninstall the package, either through DrRacket or `raco pkg
remove`, and then (without using `raco link` again) install the package
afresh. "Installing" can mean selecting the directory to link the
directory as an installed package; there's a "Browse" button in
DrRacket's package-manager window that lets you pick a directory.

At Wed, 26 Jul 2017 12:45:38 -0400, Kathi Fisler wrote:
> I know this isn't strictly a dev issue, but I figure this list has the
> people who might know how to address this question.
> 
> Mario (CCed) is a professor at the University of Denver who is working with
> the Bootstrap team, adding notes into our scribble-based infrastructure.
> 
> He is having problems running raco link to set up our scribble packages.
> He's on Windows 10.  The error report I got last night is at the bottom of
> this message.
> 
> The Racket-saavy Brown students haven't been able to figure out what's
> going on.  Nobody else here has experience with Windows.  Can anyone else
> help us figure out the problem?
> 
> If I understand correctly, he was able to run raco-link on an earlier
> version of our repo (some months ago), but it is now failing.  I can't
> think of any unusual changes we made (just pushing and pulling racket and
> scribble source files) since then.
> 
> thanks,
> Kathi
> 
> -------------------------------
> 
> This didn’t work either. This is what I did:
> 
> 1)      First removed the package with raco link –r curr
> 
> 2)      Updated the package with the Install Package option of the Package
> Manager of DrRacket
> 
> 
> 
> Then I tried:
> 
> 3)      Linking the package with raco link c:\Bootstrap\curr
> 
> 4)      Same as step 2 above
> 
> 
> 
> Both attempts resulted in the following error message:
> 
> DrRacket update: cannot update linked packages;
> 
> except with a replacement package source
> 
>   package name: curr
> 
>   package source: c:\Bootstrap\curr\
> 
> 
> ----------------------------------
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-dev/CAFw3m-m4R_YAaLj2GzsS_wWuGse3SPdxk
> LEAVH0KP8ejmtgY-w%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/5979ee4a.4679630a.81720.7074SMTPIN_ADDED_MISSING%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to