英文:
Debugger invoked when updating quicklisp
问题
我在我的Fedora 38 Linux系统中安装了sbcl(Steel Bank Common Lisp)。
我以前使用下面的命令从这里提到的步骤中安装了quicklisp。
curl -O https://beta.quicklisp.org/quicklisp.lisp
curl -O https://beta.quicklisp.org/quicklisp.lisp.asc
gpg --verify quicklisp.lisp.asc quicklisp.lisp
sbcl --load quicklisp.lisp
(quicklisp-quickstart:install)
它已成功安装。现在我想安装最新版本的quicklisp,因为它最近发布了。
我尝试使用上面相同的命令来执行此操作,但当我使用此命令 (quicklisp-quickstart:install)
时,我遇到了以下错误。
(load "quicklisp.lisp")
(load "quicklisp.lisp")
==== quicklisp quickstart 2015-01-28 loaded ====
To continue with installation, evaluate: (quicklisp-quickstart:install)
For installation options, evaluate: (quicklisp-quickstart:help)
T
0] (quicklisp-quickstart:install)
(quicklisp-quickstart:install)
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {1000510083}>:
Quicklisp has already been installed. Load #P"/home/raj/quicklisp/setup.lisp" instead.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [LOAD-SETUP] Load #P"/home/raj/quicklisp/setup.lisp"
1: [ABORT ] Reduce debugger level (to debug level 1).
2: Exit debugger, returning to top level.
(QUICKLISP-QUICKSTART:INSTALL :PATH NIL :PROXY NIL :CLIENT-URL NIL :CLIENT-VERSION NIL :DIST-URL NIL :DIST-VERSION NIL)
source: (WITH-SIMPLE-RESTART (LOAD-SETUP "Load ~S" SETUP-FILE)
(ERROR "Quicklisp has already been installed. Load ~S instead."
SETUP-FILE))
0[2]
我对Lisp和quicklisp都很陌生。如何更新quicklisp到最新版本?
英文:
I've sbcl(Steel Bank Common Lisp) installed in my Fedora 38 linux.
I installed quicklisp using below commands some times back from steps mentioned here.
curl -O https://beta.quicklisp.org/quicklisp.lisp
curl -O https://beta.quicklisp.org/quicklisp.lisp.asc
gpg --verify quicklisp.lisp.asc quicklisp.lisp
sbcl --load quicklisp.lisp
(quicklisp-quickstart:install)
It is installed successfully. Now I want to install new version of quicklisp as it is released recently.
I'm trying to do that by using the same commands above but I'm getting below error when using this command (quicklisp-quickstart:install)
.
> (load "quicklisp.lisp")
> (load "quicklisp.lisp")
>
> ==== quicklisp quickstart 2015-01-28 loaded ====
>
> To continue with installation, evaluate: (quicklisp-quickstart:install)
>
> For installation options, evaluate: (quicklisp-quickstart:help)
>
>
> T
> 0] (quicklisp-quickstart:install)
> (quicklisp-quickstart:install)
>
>
> debugger invoked on a SIMPLE-ERROR in thread
> #<THREAD "main thread" RUNNING {1000510083}>:
> Quicklisp has already been installed. Load #P"/home/raj/quicklisp/setup.lisp" instead.
>
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
> 0: [LOAD-SETUP] Load #P"/home/raj/quicklisp/setup.lisp"
> 1: [ABORT ] Reduce debugger level (to debug level 1).
> 2: Exit debugger, returning to top level.
>
> (QUICKLISP-QUICKSTART:INSTALL :PATH NIL :PROXY NIL :CLIENT-URL NIL :CLIENT-VERSION NIL :DIST-URL NIL :DIST-VERSION NIL)
> source: (WITH-SIMPLE-RESTART (LOAD-SETUP "Load ~S" SETUP-FILE)
> (ERROR "Quicklisp has already been installed. Load ~S instead."
> SETUP-FILE))
> 0[2]
>
>
I'm new to lisp and quicklisp. How can I update quicklisp to latest version?
答案1
得分: 3
你可以在repl中评估这个操作:
(ql:update-dist "quicklisp")
或者你可以通过命令行更新quicklisp:
$ sbcl --eval '(ql:update-dist "quicklisp")' --eval '(exit)'
我将后者保存在一个shell脚本中,每当需要更新时运行它。
英文:
You can evaluate this in the repl:
(ql:update-dist "quicklisp")
Or you can update quicklisp from the command line:
$ sbcl --eval '(ql:update-dist "quicklisp")' --eval '(exit)'
I have the latter saved in a shell script that I run whenever I need to update.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论