Even though the DPKG Locked error was fixed, it didn’t work for some users. This error occurs when you try to install debian packages.
Before you proceed make sure you have jailbroken your device properly. You will need to SSH into your device over USB. Before you proceed, learn the basics of SSH here.
Here’s how to fix the DPKG LOCKED error in minutes.
How to Fix DPKG_LOCKED Cydia Error on iOS 10 [TUTORIAL]
Step 1 Download and install iFunbox 4.0 and Putty.
Step 2 Connect your device to the computer.
Step 3 Fire up iFunbox. Select Toolbox > USB Tunnel.
Step 4 Make sure the details are exactly as given here – Port – 22 and IP address – 127.0.0.1:22.
Step 5 Start Putty and type 127.0.0.1 and 22 as the Host and Port respectively.
Step 6 Establish SSH connection with your device.
Step 7 Enter the following details –
- Login – root
- Password – alpine (this is the default password)
Step 8 If you performed the above steps correctly, you will now get iPhone~ root#.
Step 9 Enter dpkg –configure -a and then press enter and Exit.
Cydia will now work properly as it should. If you still face any other errors, follow our Yalu Jailbreak FAQ here.
Here are some tweaks you might be interested in –
- Appcon Tweak – Replace App Icons with Photos from Library
- AppSync Unified Released for iOS 10, Install it Now!
- Gandalf – Bad Tweaks Shall Not Pass!
- Stashing – Get more space for Cydia Tweaks on iOS 10
- BaytSigner – Jailbreak iOS 10 without Cydia Impactor and Computer
These tutorials take hours to write, please consider following us on Facebook and Twitter.
command doesn’t work because there are two dashes before configure
dpkg –command -a should work
Thanks. I will update the article.
Can you update this method for iOS 11
When I enter dpkg-configure-a. It says command not found. I’m on the iPad Pro 10.2
Hello, John. This method is hit and miss. Simply use Yalufix – https://yalujailbreak.net/yalufix-reinstall-cydia/
When you have done “Step 6 Establish SSH connection with your device.” do you click okay?
Mine is stuck on this error and I don’t have a cable for the phone that can sync to the computer now. When I had a cord tho I tried using putty and ifunbox and when I went into USB tunnel it said port 53 instead or port 22. I don’t know what I could do to fix this error without a cord to be able to plug it into a computer now. And these Cydia apps in the picture Won’t even load there like stuck on my phone I’ve tried to reset but all of them stayed tried find my iPhone erased it from there still they stayed I don’t wanna reset on iTunes when I get a cord and have to update my iPhone to 10.3 https://uploads.disquscdn.com/images/f957df9d7216408fef1f8bf36930f1fb282d9789168456e1defa7d1b43f54bc0.png
Hello, Tannerr. What’s your device and firmware version?
Hello Porter, can you post a screenshot.
This does not work as Putty gives an error that the command is not found
This is an issue with the debian package. I would suggest you setup Theos (http://iphonedevwiki.net/index.php/Theos) first and then retry.
Hello,Tarun. This error can be fixed easily by using YaluFix/modified mach portal IPA file. What’s your device/firmware?