Hi,

I just installed 7.7.0.901 (as a Unix distribution, uninstalled previous
one), and usually I can just use the script below to re-setup my package
automatically, but this time it didn't work. Something must have changed. I
also cannot migrate from any previous version. Could it be that the
uninstalling process also removed the information about which packages were
installed?

My .racket directory contains no information about previously installed
versions AFAICT.

#!/usr/bin/racket
#lang racket/base

;; When installing a new version of Racket,
;; running this script setups all existing user-installed packages.

(require racket/dict
         racket/string
         pkg
         pkg/lib
         (only-in pkg/private/pkg-db read-pkg-db)
         setup/setup)

(define h
  (with-pkg-lock/read-only
      (read-pkg-db)))

(define pkgs (hash-keys h))
(displayln (string-join pkgs "\n"))

(setup #:pkgs pkgs #:make-doc-index? #t)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CABNTSaGAx_RD%3DLukshLgo32B3DpBcXP-UJ-7Ah4Zk-G7E1TE8Q%40mail.gmail.com.

Reply via email to