Jump to content

cydia sub-process /usr/bin/dpkg returned an error code (1)


Go to solution Solved by Bluff.,

19 posts in this topic

Recommended Posts

Posted

Hey guys, so im getting this error everytime im installing or removing something from cydia.

 

cydia sub-process /usr/bin/dpkg returned an error code (1)

 

I dont know why, i have done most solutions like

Delete sources

Rename the available to available-bak etc.

And more.

 

Im running 8.1.2 iPad 3.

 

Thanks.

  • Thanks 1
Posted (edited)

How to Solve Cydia Dpkg Was Interrupted error with iFile

 

  • Requirement

1) iFile need to be installed.

  • iFile Procedure

1) To follow up this method, you need to have iFile installed on your i-device. iFile is cydia app which is only available on cydia. If you cydia is broken and you don’t have iFile installed then this process isn’t for you.

(Note:- iFile.deb raw package is available on internet, and there is a way to install it without Cydia also but here I’m not going to discuss how to do that, so make a quick search on google if you want to know, else go with iFunbox procedure bellow.)

 

Cydia-DPKG-was-Interrupted-Fix-with-iFil

2) Launch the iFile application from apps drawer and tap the HOME button from bottom bar.

 

3) tap the back button from top-left corner to open up “var” folder.

 

4) now search and open “lib” folder > then “dpkg” folder.

 

5) From inside the dpkg folder open the “updates” folder and delete everything inside it.

 

6) now go back to dpkg folder and open up each and every folder one by one and search if there is any file name starting

with “000” (zero) or “1111” , if you found any – delete them immediately.

 

7) Now close the iFile app.

 

8) Reboot your i-device. (Don’t go for respring, make a complete reboot)

 

After the reboot try opening cydia and I hope now it won’t show any DPKG error. If it still showing the same error then probably you have missed any file to deleted that starts with 000. So your next choice will be Complete Restore method.

Updated by Cyramae
Posted

How to Solve Cydia Dpkg Was Interrupted error with iFile

 

  • Requirement

1) iFile need to be installed.

  • iFile Procedure

1) To follow up this method, you need to have iFile installed on your i-device. iFile is cydia app which is only available on cydia. If you cydia is broken and you don’t have iFile installed then this process isn’t for you.

(Note:- iFile.deb raw package is available on internet, and there is a way to install it without Cydia also but here I’m not going to discuss how to do that, so make a quick search on google if you want to know, else go with iFunbox procedure bellow.)

 

Cydia-DPKG-was-Interrupted-Fix-with-iFil

2) Launch the iFile application from apps drawer and tap the HOME button from bottom bar.

 

3) tap the back button from top-left corner to open up “var” folder.

 

4) now search and open “lib” folder > then “dpkg” folder.

 

5) From inside the dpkg folder open the “updates” folder and delete everything inside it.

 

6) now go back to dpkg folder and open up each and every folder one by one and search if there is any file name starting

with “000” (zero) or “1111” , if you found any – delete them immediately.

 

7) Now close the iFile app.

 

8) Reboot your i-device. (Don’t go for respring, make a complete reboot)

 

After the reboot try opening cydia and I hope now it won’t show any DPKG error. If it still showing the same error then probably you have missed any file to deleted that starts with 000. So your next choice will be Complete Restore method.

Thanks for all that, there was nothing in the Updates folder before nor there are any 000 ot 1111 names :/

Posted

Which app/tweak did you install last before getting this error?

Posted

Thanks for the help guys, but just restored and JB it all good now.

Simply re jailbreaking should have fixed it also but glad you fixed it. :)

Posted (edited)

I have this with the (2) : sub-process /usr/bin/dpkg returned an error code (2)

 

Just jailbroke an iphone 5 ios 8.1.2 and when i try to add a repo..(tried several) I get that message..

gonna re-jailbreak...ill let you guys know


Simply re jailbreaking should have fixed it also but glad you fixed it. :)

To Re-Jailbreak with TaiG simply delete Cydia? Or need a full restore also?

Updated by Dataw0rm
Posted

I have this with the (2) : sub-process /usr/bin/dpkg returned an error code (2)

 

Just jailbroke an iphone 5 ios 8.1.2 and when i try to add a repo..(tried several) I get that message..

gonna re-jailbreak...ill let you guys know

To Re-Jailbreak with TaiG simply delete Cydia? Or need a full restore also?

No.. Just download latest version of TaiG and plug in your phone and you should get the Re-Jailbreak option. (At least that's what happens with Pangu :3)

 

Make iTunes/iCloud backups before though. :)

Posted

No.. Just download latest version of TaiG and plug in your phone and you should get the Re-Jailbreak option. (At least that's what happens with Pangu :3)

 

Make iTunes/iCloud backups before though. :)

Yeah i thought the same, but that re-jailbreak option isnt there :D:(

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