Fix Cydia iOS sub-process / usr / bin / dpkg returned an error code (2)

5

I have seen many users are reporting about issues they are facing after Jailbreak iOS 8.3 and iOS 8.4, we have posted a guide about the main issues that most of users have reported you can check fix App Store updates and Settings app crash after Jailbreaking iOS 8.3 using TaiGBut now i’ve seen reports about another issue ” sub-process / usr / bin / dpkg returned an error code (2) ” that accour when ever you try to install any tweak form Cydia. I’ve prepared a step by step guide to fix Cydia iOS sub-process / usr / bin / dpkg returned an error code (2).

Fix sub-process : usr : bin : dpkg returned an error code (2)

Fix Cydia iOS sub-process / usr / bin / dpkg returned an error code (2):

Step #1: First you have to find the directory structure of your iPhone. (through SSH or iFile ).

Step #2: Now look for the /var/lib/dpkg/ directory.

Step #3: Once you’ll be in the directory you’ll find files: available, availble-old, status, status-old.

Step #4: First “available” to “available-bak”.

Step #5: Second “status” to “status-bak”.

Step #6: Third “available-old” to “available”.

Step #7: Forth “status-old” to “status”.

Step #8: Launch Cydia and make sure that you allow Cydia to load completely first, now try to install the tweaks.

I am sure now you can easily install tweaks from Cydia without facing error like sub-process / usr / bin / dpkg returned an error code (2). If you face any kind of the issue regarding this guide tell me in comments.

SHARE
On Techbeasts, Ali Raza shares his experiences about the Gadgets he uses, He loves to collect different wallpapers for his Android, Apple smartphones, and his laptops, so he also brings you the best wallpapers for your devices.

5 COMMENTS

  1. when I follow these steps I get error code 1 and trying to uninstall P0sixspwn. When I put them back I get rid of those two issues and just have error code 2 when it tries to run debian packager at the end. I have iFunbox on my computer which is not opening SSH but opens everything else. There must be a simple answer here?? I just want to get to the second last item I copied on my phone 🙁

Got a question/query or a suggestion? Drop it below.