Users on iOS 10 after jailbreaking are apparently facing a bunch of inherent bugs and broken features including an unexpected file error while launching the Cydia app. As the latest iOS 10.1.1 jailbreak tool is in a beta state for now, it is convenient indeed to have relevant fixes and workarounds handy for use.
There is an easy fix to get rid of the file open error with Cydia app after jailbreaking your device on iOS 10 using Yalu. The fix for the issue is an easy one and working but it does require a little bit of familiarity with using Terminal commands.
You don’t have to worry about your Operating System as this fix works on all three computing platforms including Windows, Linux and Mac.
So if you were wondering that you’d have to haul your jailbroken iPhone or iPad to a friends place, that is not the case.
You are advised to check if the error you are encountering is the same as in the image below, If yes? then please proceed!
“Could not open file /var/lib/dpkg/status – open (2: No such file or directory)”
You have verified that you are seeing similar or identical error messages with Cydia app, here are the steps that you guys should follow up.
Step 1: First of all, you need to download the necessary tools to put this fix in place. Go to the link and get iFunBox utility for your computer that lets you view and investigate the iOS file system from your machine.
Step 2: After that you also need to download the “Cydia Fix” files that includes the necessary files to fix this issue. Here go to the link and download the package files.
Step 3: Next, you’re going to need the Cydia Impactor tool. Don’t worry here go to link and grab the latest version of Cydia impactor tool.
Step 4: That’s it! No more downloading tools, you’ve them all. Now, connect your jailbroken device to your computer via USB.
Step 5: Launch iFunBox utility and find the File Browser functionality and navigate to the iBooks heading.
Step 6: Now you need to extract the files from the previously download Cydia Fix compressed file. This should provide you
with a folder titled “lib “, and an IPA file.
Step 7: Drag the entire “lib” folder across to the iBooks directory in iFunBox and drop it there.
Step 8: Then, launch Cydia Impactor and drag the MobileTerminal.ipa file into the interface with your device connected to the computer.
Cydia Impactor will ask for your Apple ID and password in order to generate necessary certificates for installing the MobileTerminal IPA file. Enter the details of your account.
Step 9: After doing so you will see the Mobile Terminal app on your device. Launch Settings and then navigate to General > Device Management. Select your own Apple ID and then hit Trust and Trust again on the certificate.
Step 10: Next, with the device in jailbreak mode, launch Mobile Terminal app. You’ll be prompted with command line access to the device. Type in the following commands, keep hitting enter.
su (tap enter) alpine (tap enter) cp -R /var/mobile/Media/Books/lib /var (tap enter) mkdir /var/log/apt (tap enter)
Step 11: Now reboot your device and put it back into jailbreak mode and launch Cydia.
Hopefully you won’t see the error “ Could not open file /var/lib/dpkg/status – open (2: No such file or directory) ” again and Cydia will start functioning normally.