Babun pact 校验和错误
Babun pact checksum error
我正在尝试按照 the official website 设置 babun,但是当我尝试安装软件包时,我经常遇到校验和错误。
补充信息:
- babun 检查正常
- 我试过用另一个cygwin镜像,也没用
编辑
我在另一台电脑上试过,在不同的网络上,遇到了同样的错误。
这似乎是 2 天前已更正的问题。
参见 https://github.com/babun/babun/issues/257
每个 babun 问题线程上的用户:
https://github.com/babun/babun/issues/183#issuecomment-85597677
已替换
# check the md5
digest=`cat "desc" | awk '/^install: / { print ; exit }'`
digactual=`md5sum $file | awk '{print }'`
if ! [[ $digest == $digactual ]]
then
echo MD5 sum did not match, exiting
exit 1
fi
在 .babun/cygwin/usr/local/bin/pact 和
# check the verification hash (md5 or sha512)
digest=`cat "desc" | awk '/^install: / { print ; exit }'`
md5digactual=`md5sum $file | awk '{print }'`
shadigactual=`sha512sum $file | awk '{print }'`
if ! [[ $digest == $md5digactual || $digest == $shadigactual ]]
then
echo Verification hash did not match, exiting
exit 1
fi
这让我开始工作,直到他们合并提交。由于我 运行 从一个版本我将不得不努力转换到实时 Git 版本。
此问题已在 1.1.0 版中修复。只需执行 'babun update.
我正在尝试按照 the official website 设置 babun,但是当我尝试安装软件包时,我经常遇到校验和错误。
补充信息:
- babun 检查正常
- 我试过用另一个cygwin镜像,也没用
编辑 我在另一台电脑上试过,在不同的网络上,遇到了同样的错误。
这似乎是 2 天前已更正的问题。
参见 https://github.com/babun/babun/issues/257
每个 babun 问题线程上的用户: https://github.com/babun/babun/issues/183#issuecomment-85597677
已替换
# check the md5
digest=`cat "desc" | awk '/^install: / { print ; exit }'`
digactual=`md5sum $file | awk '{print }'`
if ! [[ $digest == $digactual ]]
then
echo MD5 sum did not match, exiting
exit 1
fi
在 .babun/cygwin/usr/local/bin/pact 和
# check the verification hash (md5 or sha512)
digest=`cat "desc" | awk '/^install: / { print ; exit }'`
md5digactual=`md5sum $file | awk '{print }'`
shadigactual=`sha512sum $file | awk '{print }'`
if ! [[ $digest == $md5digactual || $digest == $shadigactual ]]
then
echo Verification hash did not match, exiting
exit 1
fi
这让我开始工作,直到他们合并提交。由于我 运行 从一个版本我将不得不努力转换到实时 Git 版本。
此问题已在 1.1.0 版中修复。只需执行 'babun update.