Loading... 今天在更新MalodyMirror的时候遇到了些问题 因为不想浪费手机的流量于是就直接使用服务器clone下库了 然后就遇到了很多麻烦 这里记录一下 1. git 版本过低 不默认使用gpg - 依赖安装 ```bash yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc yum install gcc perl-ExtUtils-MakeMaker ``` - 卸载旧版 `yum remove git` - 下载解压编译安装 ```bash cd /usr/local/src/ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.32.0.tar.xz tar -xvf git-2.32.0.tar.xz cd git-2.32.0 make prefix=/usr/local/git all make prefix=/usr/local/git install ``` 最后检查一下版本 `git --version` 2. 文件大于100M,github拒收 这个时候就得安装git-lfs `https://github.com/git-lfs/git-lfs` 然后进`Release` 下最新对应版本解压 运行`bash install.sh` 出现`Git LFS initialized.`即可 3. gpg无法直接输出密码交互窗口,导致报错 `echo "export GPG_TTY=$(tty)" >> /etc/profile && source /etc/profile`解决 最后修改:2022 年 08 月 10 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 0 如果觉得我的文章对你有用,请随意赞赏