최신 버전의 frida 16.0.8을 cydia를 통해 설치하려고 할 때, 기존과 다른 압축형식으로 인해 에러가 발생하는 경우로 해결방법을 작성함.
dpkg-deb --control subprocess returned error exit status 2
Sub-process /usr/libexec/cydia/cydo returned an error code (1)
새로운 frida 16.0.8은 ios의 dpkg에서 지원하지 않는 zst를 사용하여 압축됨
<frida 16.0.8 설치 시>
iPhone:/frida root# dpkg -i frida_16.0.8_iphoneos-arm.deb
dpkg-deb: error: archive 'frida_16.0.8_iphoneos-arm.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive frida_16.0.8_iphoneos-arm.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
frida_16.0.8_iphoneos-arm.deb
iPhone:/frida root# dpkg -i frida_16.0.1_iphoneos-arm.deb
Selecting previously unselected package re.frida.server.
(Reading database ... 1759 files and directories currently installed.)
Preparing to unpack frida_16.0.1_iphoneos-arm.deb ...
Unpacking re.frida.server (16.0.1) ...
Setting up re.frida.server (16.0.1) ...

mkdir frida_16.0.8_iphoneos-arm
cd frida_16.0.8_iphoneos-arm
ar -x ../frida_16.0.8_iphoneos-arm.deb
zstd -d *.zst
xz *.tar
ar r frida_16.0.8_iphoneos-arm-repacked.deb debian-binary control.tar.xz data.tar.xz
1) "frida_16.0.8_iphoneos-arm.deb" 를 xz압축을 이용하여 재 압축
# dpkg -i frida_16.0.8_iphoneos-arm-repacked.deb
(Reading database ... 2530 files and directories currently installed.)
Preparing to unpack frida_16.0.8_iphoneos-arm-repacked.deb ...
Unpacking re.frida.server (16.0.8) over (16.0.7) ...
/Library/LaunchDaemons/re.frida.server.plist: Operation now in progress
Setting up re.frida.server (16.0.8) ...
2) "frida_16.0.8_iphoneos-arm-repacked.deb"를 가져와 dpkg -i 통해 설치