The problem: I jailbroke my iOS device using Yalu Jailbreak. Upon opening Cydia, it’s showing “Could not open file /var/lib/dpkg/status — open (2: No such file or directory). This package lists or status file could not be parsed or opened.”
Is there a solution? Yes!
Fix Cydia Could Not Open File /Var/lib/dpkg/status
Some users have tried to use the “Erase All Content and Settings” option in their Settings app, but that didn’t resolve this problem.
Here are the steps:
- Download the NewTerm .deb from here
- Mac users can use iOS App Signer to turn it from .deb to .iPA. Windows users can follow this video or this.
- Download Cydia Impactor from here and sideload the MobileTerminal.ipa to your iOS device
- Go to the official site of i-Funbox and download it.
- Download the “lib.zip” file from Mediafire.
- Open iFunbox and navigate to /var/mobile/Media/Books then import the ‘lib’ folder to that directory
Last but not least, open MobileTerminal on your iPhone or iPad and type in the following commands.
type in your password. default is alpine
type: cp -R /var/mobile/Media/Books/lib /var
Cydia should start working again. For those who have either iFile or Filza and Mobile Terminal installed already, you can start from Step 4 and forward.
How to Fix com.teiron.pphelper error in Cydia
When I finished troubleshooting the “Could Not Open File…” error there is another one that pop out and this one says something like this:
trying to overwrite ‘/Library/MobileSubstrate/DynamicLibraries’, which is also in package com.teiron.pphelperns
This problem is a bit easier to resolve since it doesn’t require a computer or installing another app. Switch over to the Installed tab and look for an app called PP Helper. Go ahead and uninstall that tweak. Respring your iOS device, and you can start installing Cydia tweaks as usual again.
I received several messages today from readers asking about a new error in Mobile Terminal that says: “Not allowed to fork from inside Sandbox.” This error message usually appears when your iOS device is not in a jailbroken state. If your iPhone or iPad is running 9.x.x, then use the Pangu app to re-jailbreak it.
Cydia is Showing DPKG_LOCKED
This problem appears when a user is trying to install a package from Cydia, and during the installation, it shows the DPKG_locked error.
If you want to fix this problem, try the following steps:
- Just like the tutorial above, we’re going to need some sort of SSH client to login into our device. I recommend using PuTTY regardless of your computer OS (Windows or Mac).
- Connect your iPhone to the computer
- Open PuTTY and enter the following info t it: Host IP: 127.0.0.1 and Port 22
- Your login credentials will be root / alpine (default password)
- Now type in the following command: dpkg –configure -a
- Press enter and then logout of the screen
After you disconnect your iOS device, try to open the Cydia and install a tweak from the Changes tab. See if the error continues to show up. If it does, comment down below the error code, and we’ll try to help.