[racket-dev] planet-version follies with old planet packages

From: John Clements (clements at brinckerhoff.org)
Date: Mon May 16 19:41:49 EDT 2011

On May 16, 2011, at 4:21 PM, Robby Findler wrote:

> It would be helpful if you supplied a little more information on how
> you're seeing the problem, at least. I guess there is a second package
> involved?

No, it's entirely self-contained. One library, no references to other PLaneT packages.

Installing works, but then requiring it tries to re-install it. From the command-line, here's me installing it and then trying to require it.

pcp070679pcs:~/Library/Application Support/minecraft/saves/z2 clements$ raco planet install soegaard gzip.plt 2 0
downloading soegaard/gzip:2 from planet.racket-lang.org via HTTP

============= Installing gzip.plt on Mon, 16 May 2011 15:48:30 =============
raco setup: Unpacking archive from /Users/clements/Library/Racket/planet/300/packages/soegaard/gzip.plt/2/0/gzip.plt
raco setup:   unpacking doc.txt in /Users/clements/Library/Racket/planet/300/5.1.1.5/cache/soegaard/gzip.plt/2/0/./
raco setup:   unpacking gzip.ss in /Users/clements/Library/Racket/planet/300/5.1.1.5/cache/soegaard/gzip.plt/2/0/./
raco setup:   unpacking info.ss in /Users/clements/Library/Racket/planet/300/5.1.1.5/cache/soegaard/gzip.plt/2/0/./
raco setup:   unpacking zlib1.dll in /Users/clements/Library/Racket/planet/300/5.1.1.5/cache/soegaard/gzip.plt/2/0/./
raco setup: version: 5.1.1.5 [3m]
raco setup: variants: 3m
raco setup: main collects: /Users/clements/plt/collects
raco setup: collects paths: 
raco setup:   /Users/clements/git-clements/clements/collects
raco setup:   /Users/clements/clements/matthias/collects
raco setup:   /Users/clements/Library/Racket/5.1.1.5/collects
raco setup:   /Users/clements/plt/collects
raco setup: --- pre-installing collections ---
raco setup: --- compiling collections ---
raco setup: making: <planet>/soegaard/gzip.plt/2/0 (gzip)
raco setup:  in <planet>/soegaard/gzip.plt/2/0
raco setup: --- updating info-domain tables ---
raco setup: updating: /Users/clements/Library/Racket/planet/300/5.1.1.5/cache.rktd
raco setup: --- creating launchers ---
raco setup: --- building documentation ---
raco setup: --- installing collections ---
raco setup: --- post-installing collections ---
------------- Rebuilding documentation index -------------
raco setup: version: 5.1.1.5 [3m]
raco setup: variants: 3m
raco setup: main collects: /Users/clements/plt/collects
raco setup: collects paths: 
raco setup:   /Users/clements/git-clements/clements/collects
raco setup:   /Users/clements/clements/matthias/collects
raco setup:   /Users/clements/Library/Racket/5.1.1.5/collects
raco setup:   /Users/clements/plt/collects
raco setup: --- pre-installing collections ---
raco setup: --- compiling collections ---
raco setup: making: scribblings/main/user
raco setup: --- updating info-domain tables ---
raco setup: --- creating launchers ---
raco setup: --- building documentation ---
raco setup: skipping: <planet>/clements/sxml2.plt/1/1/scribblings/sxml.scrbl
raco setup: skipping: <planet>/cce/scheme.plt/4/1/scribblings/main.scrbl
raco setup: skipping: <planet>/williams/science.plt/3/10/scribblings/science.scrbl
raco setup: rendering: scribblings/main/user/start.scrbl
raco setup: --- installing collections ---
raco setup: --- post-installing collections ---

.. and then:

pcp070679pcs:/tmp clements$ racket -W info
Welcome to Racket v5.1.1.5.
> (require (planet soegaard/gzip:2:0))
PLaneT: downloading soegaard/gzip:2 from planet.racket-lang.org via HTTP
PLaneT error: trying to install already-installed package

 === context ===
/Users/clements/plt/collects/planet/resolver.rkt:541:0: pkg-promise->pkg
/Users/clements/plt/collects/planet/resolver.rkt:407:7
/Users/clements/plt/collects/planet/resolver.rkt:337:0: planet-resolve
/Users/clements/plt/collects/racket/private/misc.rkt:85:7

> (exit)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110516/d3747890/attachment.p7s>

Posted on the dev mailing list.