We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dpkg: error processing archive /var/root/MonkeyDevPackages/xxx_0.1-1_iphoneos-arm.deb (--install): corrupted filesystem tarfile in package archive: unsupported PAX tar header type 'x'
The text was updated successfully, but these errors were encountered:
这里也遇到过了。
经过检查,原因是 /opt/MonkeyDev/bin/md 使用 macOS 自带的 tar,即 bsdtar,而越狱后 Cydia 提供的 Tape Archive 和 Debian Packager 是 GNU dpkg 和 gnutar,二者存在不完全兼容的情况。
/opt/MonkeyDev/bin/md
解决方法:
使用 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"
Sorry, something went wrong.
厉害
No branches or pull requests
dpkg: error processing archive /var/root/MonkeyDevPackages/xxx_0.1-1_iphoneos-arm.deb (--install):
corrupted filesystem tarfile in package archive: unsupported PAX tar header type 'x'
The text was updated successfully, but these errors were encountered: