鋼の鍊魔術師

嵌入 FreeBSD 的心,修的是魔道還是正道?

Fork me on GitHub

Fix Cydia Crash the Hard Way

After I upgrade my iphone to 5.0.1, I cannot use it easily as usual.

Today I’ve tried some ways to fix it and I finally let cydia could install apps now. I bought PhoneDisk and mount my iphone, then just saw what file caused Cydia crashed. And I found if I delete /var/lib/apt/lists/apt.saurik.com_dists_ios_675.00_main_binary-iphoneos-arm_Packages then Cydia would not crash. So I just edit apt.saurik.com_dists_ios_675.00_main_binary-iphoneos-arm_Packages and left openssh and its deps packages only and use Cydia to install it. Then:

1
2
3
4
5
$ ssh (to my iphone)
$ fetch debs from http://apt.saurik.com/cydia/debs/ and send to iphone (I use `PhoneDisk` to mount iphone)
$ dpkg -r cydia-lproj cydia ; dpkg -i cydia-lproj_1.1.0_iphoneos-arm.deb cydia_1.1.1_iphoneos-arm.deb # yes, it still crashes eachtime
$ dpkg -i apt_1\:0-23_iphoneos-arm.deb gettext_0.17-6_iphoneos-arm.deb libsigc++_2.2.3-4_iphoneos-arm.deb apt7-ssl_0.7.25.3-3_iphoneos-arm.deb curl_7.19.4-6_iphoneos-arm.deb berkeleydb_4.6.21-4_iphoneos-arm.deb 
$ apt-get update; apt-get dist-upgrade

But Cydia would still crash when you using search or add source, so I just keep searching in Cydia All Packages myself or I just ssh access to it and use apt-get install <packages>.

That’s it.

I got SBSettings back and also some useful tools.

Comments