自 如何快速回滚一个升级失败的包? 继续讨论:
下载包然后 M-x package-install-file
安装之。
比如:
ace-window-20181008.1549 => ace-window-0.9.0
- 下载 http://elpa.emacs-china.org/melpa-stable/ace-window-0.9.0.el
M-x package-install-file ace-window-0.9.0.el
像上面的包是单个 .el
文件,也可以直接用 EWW 打开链接然后 M-x package-install-from-buffer
,.tar
还是得下载。
因为 Melpa-{stable} 不保存旧版本,大家可以到 Emacs China ELPA 镜像上找,我们的镜像没有删掉旧版本。
P.S. 降级之后可能还需要删掉之前的包,以及重启 Emacs。