首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法在我的Ubuntu机器上从GVM安装Grails;gvm安装grails不起作用

我无法在我的Ubuntu机器上从GVM安装Grails;gvm安装grails不起作用
EN

Stack Overflow用户
提问于 2015-05-31 06:01:52
回答 1查看 407关注 0票数 1

我尝试使用GVM工具来安装Grails,在此之前,我将GVM从一个非常旧的版本更新到了最新版本。提示符出现后,我执行了gvm install grails,但由于连接问题而失败。我尝试通过输入相同的命令再次安装Grails。

代码语言:javascript
复制
Found a previously downloaded grails 3.0.1 archive.
Not downloading it again...
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one 
of /home/myhome/.gvm/archives/grails-3.0.1.zip or
/home/myhome/.gvm/archives/grails-3.0.1.zip.zip, 
and cannot find /home/myhome/.gvm/archives/grails-3.0.1.zip.ZIP, period.
Stop! The archive was corrupt and has been removed! Please try installing again.
EN

回答 1

Stack Overflow用户

发布于 2015-05-31 06:18:56

尝试:

代码语言:javascript
复制
gvm list grails

这将为您提供所有已安装候选程序的列表。如果您安装了候选人,则应看到一个星号(*)符号和一个箭头,以显示正在使用哪个候选人。

如果他们真的出现了。尝试通过在安装时指定候选项来卸载它

代码语言:javascript
复制
gvm uninstall grails 3.0.1

然后再次尝试运行install命令。

它通常是有效的。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30551808

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档