Arch之软件降级

用Arch Linux就是每天睡觉关机前滚一下,然而有时候有些软件升级滚出问题,比如glibc-2.28就导致了R安装包有问题,会抛出下面的错误:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Mutex creation failed

blogdown编译博客也同样会抛出这个错误。

然后electron也有问题,《开源的macOS和linux版微信》跑着跑着突然CPU就狂飙。

解决办法就是安装回老版本,但pacman永远是最新的,当然可以去git/svn仓库里找老版本的PKGBUILD,然后再makepkg,但经常会在signature checking这步报错,你还得到导入keyring,挺麻烦。

这时候我找到了downgrade脚本:

Bash script for downgrading one or more packages to a version in your cache or the A.L.A.

AUR有收录,安装非常简单:

Continue reading

Author's picture

Guangchuang Yu

a senior-in-age-but-not-senior-in-knowledge bioinformatician

Postdoc researcher

Hong Kong