MonkeyDev icon indicating copy to clipboard operation
MonkeyDev copied to clipboard

这里也遇到过了。

Open BigCatGit opened this issue 6 years ago • 0 comments

这里也遇到过了。

经过检查,原因是 /opt/MonkeyDev/bin/md 使用 macOS 自带的 tar,即 bsdtar,而越狱后 Cydia 提供的 Tape ArchiveDebian Packager 是 GNU dpkg 和 gnutar,二者存在不完全兼容的情况。

解决方法:

使用 Homebrew 安装 gnu-tar

brew install gnu-tar

/opt/MonkeyDev/bin/md 第 487 行

tar -cLpz --disable-copyfile --exclude ".*" "$@" -f "$outputDir/$tarName.tar.gz" * || \
	panic $? "Failed to create $tarName archive"

替换为

gtar -chpz --exclude ".*" "$@" -f "$outputDir/$tarName.tar.gz" * || \
	panic $? "Failed to create $tarName archive"

Originally posted by @Lessica in https://github.com/AloneMonkey/MonkeyDev/issues/223#issuecomment-557811041

BigCatGit avatar Jan 29 '20 10:01 BigCatGit