Jump to content

Sub-process /usr/bin/dpkg returned an error code (2)


Go to solution Solved by nick32,

12 posts in this topic

Recommended Posts

Posted

I just update my iOS version to 8.3 and JB it. but everytime i try to install a package i got

Sub-process /usr/bin/dpkg returned an error code (2)

Posted

  1. Get your way to the file and directory structure of your iPhone (through SSH or iFile or Mobile ..)

Look for the /var/lib/dpkg/ directory

You should be able to find the following files: available, availble-old, status, status-old

Rename "available" to "available-bak"

Rename "status" to "status-bak"

Rename "available-old" to "available"

Rename "status-old" to "status"

Start Cydia , make sure that you allow Cydia to load completely first (just to be on the safe side ), try to install some apps. 

try this one

 

Posted

 

  1. Get your way to the file and directory structure of your iPhone (through SSH or iFile or Mobile ..)
  2. Look for the /var/lib/dpkg/ directory
  3. You should be able to find the following files: available, availble-old, status, status-old
  4. Rename "available" to "available-bak"
  5. Rename "status" to "status-bak"
  6. Rename "available-old" to "available"
  7. Rename "status-old" to "status"
  8. Start Cydia , make sure that you allow Cydia to load completely first (just to be on the safe side ), try to install some apps. 

try this one

 

I dont have afc2add , SSH , or any file manager installed

is there a way to reach that directory without them?

Posted

I don't think you'll be able to fix this without any file managers or AFC & OpenSSH installed.

 

You will need to re-jailbreak.

Posted (edited)

did you reboot you phone?

i tried power off and power on. but didnt work. rebooting right now

edit: doesnt work

Updated by ----DeadGod----
Posted (edited)

well re-jailbreak then 

 

I don't think you'll be able to fix this without any file managers or AFC & OpenSSH installed.

 

You will need to re-jailbreak.

wait. im gonna try safe mode first..

I cant get in safe mode with that volume-up button method.

please help

Updated by ----DeadGod----

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines