How to fix Sub-process returned an error code (100) in Cydia

Tons of users are reporting a weird “Sub-process returned an error code (100)” message on iOS 11-11.1.2 firmware. Here’s how you can fix this error on your iPhone, iPad, and iPod touch.

Saurik blocks Cydia Installer upgrades on Electra jailbreak

Jay Freeman aka Saurik, the creator of Cydia, has blocked updates for core packages. The package that is breaking the update right now is APT 7.0.

Whenever a user tries to upgrade this essential package, Cydia will throw the “subprocess” error.

Here’s how this error message looks like.

sub-process returned an error code (100)
Method /usr/lib/apt/methods/https did not start correctly
Method http has died unexpectedly!

sub-process returned an error code (100)

Saurik has purposely pushed an update for APT to break users’ devices.

As you already know, Saurik and Coolstar have a long-standing beef that is yet to show any signs of cooling down.

He clearly doesn’t want users to enjoy Electra jailbreak, which is developed by a competitor.

Thankfully, you can fix this error code by downgrading to APT version 0.7.25.3-15 (thanks to Notex for pointing this out). Here’s how you can do that manually.

  • Update – You can now download a safe update of APT 0.7 Strict version 0.7.25.3.16-coolstar from Electra’s default repository. Don’t install version 0.7.25.3.15 from Saurik’s default repository.
  • Update – Saurik didn’t intend to break Coolstar’s jailbreak. Cydia displayed errors because this update was aimed at iOS 10, not iOS 11.

Requirements

  • An affected iPhone, iPad, or iPod touch
  • Electra jailbreak toolkit
  • Cydia
  • A computer running Windows (optional)
  • Filza file manager (optional)

Fixing Sub-process returned an error code (100) error message on iOS 11-11.1.2

1. Transfer APT 0.7 Strict (lib) package

Step 1 Download the core APT v7.0 Debian package from this link.

Step 2 Copy this Debian package to the “/private/var/tmp” folder of your device’s filesystem. You can use WinSCP (recommended) or Filza file manager for this purpose.

  • WinSCP users – Enter your details and press Login to start an SFTP session. Download the Debian package to your computer and drag it from your computer’s filesystem (left section) to your device’s root folder (right section. If you are unable to connect, try using port number 2222.
  • Filza – Simply search for the file using “apt7” and transfer it to the root (/) folder.

Enter “root” as the user name and “alpine” as the password without quotes.

  • Important – Ensure your device is in jailbreak mode before you start an SFTP session.

2 .SSH into your device

Step 3 SSH into your device using iTerminal App Store application. Thankfully enough, Electra comes with OpenSSH so you can use SSH whenever you want to.

iTerminal

Step 4 Enter the following details and tap Connect once everything is ready.

3. Perform the downgrade 

Step 5 Run the following command once you are in the terminal. Ensure you press the “return” key after typing to execute it.

cd /var/tmp
dpkg -i apt7-lib_0.7.25.3-15_iphoneos-arm.deb
killall -9 SpringBoard

That’s pretty much it! The APT package is now successfully downgraded and you can continue installing tweaks with Cydia. The “Sub-process returned an error code (100)” message will no longer bug you.

If you get the following error message, you can safely ignore it.

warning: unable to delete old directory ‘/usr/lib/apt/methods’: Directory not empty

If SSH is not working for you, try using the method laid out in the comments by user Panayiotis C. below.

Automatic removal using shell script (recommended)

This method relies on a shell script and works on-device without a PC or computer.

  • Download the fix.sh shell script developed by Ariel from here. If you are unable to download it, open the link using Safari web browser on your Apple device.
  • Download the Debian package using the link given in the first section above.
  • Launch FilzaEscaped file manager and copy the aforementioned files to /private/var/root.
  • Tap the “i” icon present next to the script file.
  • Scroll down, tap on Sticky, and change the permissions of this file to 0777.
  • Tap on fix.sh to run the shell script.
  • Once the script runs, delete both the files from “step 1” and “step 2” from Filza.
  • Cydia will now start working as usual.

The following steps are optional but highly recommended.

How to protect Cydia from Saurik’s updates

Step 1 Launch Cydia.

Step 2 Go to the Installed section.

Step 3 Tap on APT 0.7 Strict (lib) package.

Step 4 Tap Change Package Settings.

Step 5 Enable Ignore Upgrades.

This will block any future upgrades by Saurik or by anyone else. No one will be able to ruin your jailbreak fun anymore! Once Saurik properly updates Cydia, you can switch on the “upgrades” again.

If you run into errors while trying this tutorial out, leave a comment below.

For more jailbreak tips and tricks, don’t forget to like and follow us on Facebook and Twitter.

125 Comments

  1. Francesco October 28, 2018
    • Gian October 28, 2018
  2. Alex Smith July 30, 2018
  3. kuraki March 2, 2018
    • iOS Expert March 2, 2018
  4. Haxi March 2, 2018
    • iOS Expert March 2, 2018
  5. Haxxan butt February 28, 2018
    • iOS Expert February 28, 2018
  6. Panayiotis February 28, 2018
    • iOS Expert February 28, 2018
      • Panayiotis February 28, 2018
        • Panayiotis February 28, 2018
        • iOS Expert February 28, 2018
  7. Hassan February 28, 2018
    • iOS Expert February 28, 2018
    • Jo February 28, 2018
  8. Hassan February 28, 2018
    • iOS Expert February 28, 2018
      • Haxxan February 28, 2018
        • iOS Expert February 28, 2018
          • Haxxan February 28, 2018
  9. Djames February 28, 2018
  10. Jay February 28, 2018
    • iOS Expert February 28, 2018
  11. Jay February 28, 2018
  12. Ethan P February 27, 2018
    • iOS Expert February 28, 2018
  13. guy February 27, 2018
    • iOS Expert February 28, 2018
  14. Brendon February 27, 2018
    • iOS Expert February 28, 2018
  15. ky February 27, 2018
  16. nassim February 27, 2018
  17. ! February 27, 2018
    • iOS Expert February 28, 2018
  18. ! February 27, 2018
  19. kylewis February 27, 2018
    • iOS Expert February 28, 2018
  20. DemonizedDrew February 27, 2018
    • iOS Expert February 28, 2018
  21. Getzemani February 27, 2018
  22. Mueed Khan February 27, 2018
    • iOS Expert February 28, 2018
  23. Valentine February 27, 2018
    • iOS Expert February 28, 2018
  24. Jorge February 27, 2018
  25. michel February 27, 2018
  26. John February 27, 2018
    • iOS Expert February 28, 2018
  27. mmo warp February 27, 2018
    • iOS Expert February 28, 2018
  28. Marcinima February 27, 2018
    • iOS Expert February 28, 2018
  29. Thibault February 27, 2018
    • iOS Expert February 28, 2018
  30. iamios February 27, 2018
    • iOS Expert February 28, 2018
  31. The Lord of Memes February 27, 2018
  32. bossdonbebo February 27, 2018
    • iOS Expert February 27, 2018
  33. dor February 27, 2018
    • iOS Expert February 27, 2018
    • Kyle February 27, 2018
  34. Jared February 27, 2018
    • iOS Expert February 27, 2018
      • Jared February 27, 2018
      • Joe February 27, 2018
      • KYle February 27, 2018
        • iOS Expert February 28, 2018
      • Jared February 27, 2018
        • iOS Expert February 28, 2018
      • Jared February 27, 2018
        • iOS Expert February 28, 2018
    • iamios February 27, 2018
  35. Joe February 27, 2018
  36. Kyle February 27, 2018
    • iOS Expert February 27, 2018
  37. Kyle February 27, 2018
    • Kyle February 27, 2018
    • iOS Expert February 27, 2018
      • Kyle February 27, 2018
        • iOS Expert February 28, 2018
  38. zaid February 27, 2018
  39. dor February 27, 2018
    • iOS Expert February 27, 2018
      • dor February 27, 2018
  40. Rick February 27, 2018
    • iOS Expert February 27, 2018
  41. Abhinav Kishore February 27, 2018
    • iOS Expert February 27, 2018
  42. Petr February 27, 2018
    • iOS Expert February 27, 2018
      • Jared February 27, 2018
        • iOS Expert February 27, 2018
      • Lionel February 27, 2018
  43. Adrian Vazquez February 27, 2018
    • iOS Expert February 27, 2018
      • Petr February 27, 2018
        • iOS Expert February 27, 2018
  44. Peter February 27, 2018
    • iOS Expert February 27, 2018
  45. Im noob February 27, 2018
    • iOS Expert February 27, 2018
  46. Liam February 27, 2018
    • iOS Expert February 27, 2018
  47. Panayiotis C. February 27, 2018
    • iOS Expert February 27, 2018
    • Joshua February 27, 2018
  48. Luís February 27, 2018
    • iOS Expert February 27, 2018
  49. Maxime February 27, 2018
    • iOS Expert February 27, 2018
  50. John C February 27, 2018
    • iOS Expert February 27, 2018
  51. Ty King February 27, 2018
    • iOS Expert February 27, 2018
  52. Antonio Battiata February 27, 2018
    • iOS Expert February 27, 2018
  53. UltraNOOB February 27, 2018
    • iOS Expert February 27, 2018
      • Antonio Battiata February 27, 2018
        • iOS Expert February 27, 2018
      • UltraNOOB February 27, 2018
        • iOS Expert February 27, 2018

Leave a Reply

Share via
Copy link
Powered by Social Snap