Installing 7.7.0.901: Cannot migrate packages

12 views
Skip to first unread message

Laurent

unread,
Jul 29, 2020, 5:56:01 AM7/29/20
to Racket Developers
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)
Reply all
Reply to author
Forward
0 new messages