[racket] ARGH my packages are broken and I'm stuck

From: Ryan Davis (zenspider at gmail.com)
Date: Tue Feb 10 21:19:40 EST 2015

I'm _STUCK_. I have no idea what's going on or why it won't self-repair. I was told on IRC that someone else had a similar problem and they addressed it by reinstalling racket. Please tell me that isn't my solution.

10041 % raco link -l | grep cover

10042 % raco pkg install cover/
raco pkg install: package is already installed
  package: cover

10043 % raco pkg install --force cover/
raco pkg install: package is already installed
  package: cover

10044 % raco pkg remove --force cover
Removing cover
raco setup: version: 6.1.1 [3m]
raco setup: installation name: 6.1.1
raco setup: variants: 3m
raco setup: main collects: /MyApplications/dev/lisp/Racket/collects
raco setup: collects paths: 
raco setup:   /Users/ryan/Library/Racket/6.1.1/collects
raco setup:   /MyApplications/dev/lisp/Racket/collects
raco setup: main pkgs: /MyApplications/dev/lisp/Racket/share/pkgs
raco setup: pkgs paths: 
raco setup:   /MyApplications/dev/lisp/Racket/share/pkgs
raco setup:   /Users/ryan/Library/Racket/6.1.1/pkgs
raco setup: links files: 
raco setup:   /MyApplications/dev/lisp/Racket/share/links.rktd
raco setup:   /Users/ryan/Library/Racket/6.1.1/links.rktd
raco setup: main docs: /MyApplications/dev/lisp/Racket/doc
raco setup: --- updating info-domain tables ---
raco setup: updating: /Users/ryan/Library/Racket/6.1.1/share/info-cache.rktd
raco setup: --- pre-installing collections ---
raco setup: --- installing foreign libraries ---
raco setup: --- installing shared files ---
raco setup: --- compiling collections ---
raco setup: --- parallel build using 4 jobs ---
raco setup: --- creating launchers ---
raco setup: --- installing man pages ---
raco setup: --- building documentation ---
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/local-redirect.scrbl
raco setup: 2 rendering: <pkgs>/racket-index/scribblings/main/user/release.scrbl
raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/user/search.scrbl
raco setup: 0 rendering: <pkgs>/racket-index/scribblings/main/user/start.scrbl
raco setup: --- installing collections ---
raco setup: --- post-installing collections ---

10045 % raco pkg install cover/
raco setup: given collection path: "cover" refers to the same directory as another given collection path, "zenspider/cover"
  context...:
   /MyApplications/dev/lisp/Racket/collects/setup/setup-core.rkt:66:0: setup-core
   /MyApplications/dev/lisp/Racket/collects/setup/setup.rkt:62:3
   /MyApplications/dev/lisp/Racket/collects/pkg/main.rkt:16:0: setup
   (submod /MyApplications/dev/lisp/Racket/collects/pkg/main.rkt main): [running body]
   /MyApplications/dev/lisp/Racket/collects/pkg/raco.rkt: [traversing imports]
   /MyApplications/dev/lisp/Racket/collects/raco/raco.rkt: [running body]
   /MyApplications/dev/lisp/Racket/collects/raco/main.rkt: [running body]

10046 % raco pkg install --force cover/
raco pkg install: package is already installed
  package: cover



Posted on the users mailing list.