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.
Table of Contents
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!
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.
- An affected iPhone, iPad, or iPod touch
- Electra jailbreak toolkit
- 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.
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.
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.