How to Fix Could not open /var/lib/dpkg/status in iOS 9.3.3 and iOS 10

For those of you who came here after using Yalu Jailbreak for iOS 10 devices and got stuck at this error, the tutorial below will work on your version as well.

Shortly after jailbreaking my iPhone 6 using the PG Client app, everything seems to work fine from the outside.

How did I know?

I was feeling relief until this showed up

Could not open file /var/lib/dpkg/status — open (2: No such file or directory)

This package lists or status file could not be parsed or opened.

These kind of popups are usually normal, so I thought it’s not a big deal.

Not until I switch over to the Changes tab. There is nothing there. Whenever I choose Refresh, the error would display again. So everything was empty except for the default Sources and Cydia’s main screen.

ios-933-jailbreak

I did a quick search on Google regarding this, and none of the tutorials would help, and some were way off.

Thankfully, someone recently published a short guide on how to fix this problem. Shout out to /u/senditdown on Reddit.

Fix Cydia Could Not Open File /Var/lib/dpkg/status

A lot of people have tried the following method:

  • Go to Settings > General > Reset > Erase All Content and Settings

But no chance of resolving anything.

database-error-cydia

If that’s the case, try this:

  1. Download the NewTerm .deb from here
  2. Mac users can use iOS App Signer to turn it from .deb to .iPA. Windows users can follow this video or this
  3. Download Cydia Impactor from here and sideload the MobileTerminal.ipa to your iOS device
  4. Go to the official site of i-Funbox and download it. Also, this lib.zip file as well
  5. Open iFunbox and navigate to /var/mobile/Media/Books then drop the ‘lib’ folder to that directory

Last but not least, open MobileTerminal on your iPhone or iPad and type in the following commands.

type su

type in your password. default is alpine

type: cp -R /var/mobile/Media/Books/lib /var

After that, Cydia should start working again. For those who have either iFile or Filza and Mobile Terminal installed already, you can start with Step 4 and forward.

How to Fix com.teiron.pphelper error in Cydia

When I finished troubleshooting the “Could Not Open File…” error there is another one that pop out and this one says something like this:

trying to overwrite ‘/Library/MobileSubstrate/DynamicLibraries’, which is also in package com.teiron.pphelperns

Luckily, this problem is a bit easier to resolve since it doesn’t require a computer or installing another app. Switch over to the Installed tab and look for an app called PP Helper. Go ahead and uninstall that tweak.

Respring your iOS device, and you can start installing Cydia tweaks as usual again.

I hope this help and Happy Jailbreaking!

ForkException Error

How to Fix Could not open /var/lib/dpkg/status in iOS 9.3.3 and iOS 10 1

I received several messages today from readers asking about a new error in Mobile Terminal that says: “Not allowed to fork from inside Sandbox.” This error message usually appears when your iOS device is not in a jailbroken state. If your iPhone or iPad is running 9.x.x, then use the Pangu app to re-jailbreak it.

We are looking into this problem and will update this post soon. Until then, please don’t mess around with your iPhone to avoid any further issues.

Cydia is Showing DPKG_LOCKED

This problem appears when a user is trying to install a package from Cydia, and during the installation, it shows the DPKG_locked error.

If you want to fix this problem, try the following steps:

  1. Just like the tutorial above, we’re going to need some sort of SSH client to login into our device. I recommend using PuTTY regardless of your computer OS (Windows or Mac).
  2. Connect your iPhone to the computer
  3. Open PuTTY and enter the following info t it: Host IP: 127.0.0.1 and Port 22
  4. Your login credentials will be root / alpine (default password)
  5. Now type in the following command: dpkg –configure -a
  6. Press enter and then logout of the screen

After you disconnect your iOS device, try to open the Cydia and install a tweak from the Changes tab. See if the error continues to show up. If it does, comment down below the error code, and we’ll try to help.

229 Comments

  1. John
    • Aidan
    • Nate
      • Paul
        • damned
        • harrison
        • Putra desky
      • Арсен
    • yasin
      • Abi
      • Abi
    • Abi
  2. reda
    • Riswan
    • Riswan
      • senditdown
        • Anand
        • Jonathan Huang
    • Mike
    • S
  3. Hanna Shanar
    • teeayeand
    • Abi
  4. Caty5263
  5. Caty5263
    • Aidan
  6. Ricky
    • senditdown
      • Leah
    • Adam
  7. Ricky
    • teeayeand
  8. Ricky
  9. roborg
    • Royce Fruciano
  10. jay
    • teeayeand
      • Jay
      • Daniel
  11. Lollie
    • teeayeand
      • eduardo
        • ash
          • Aidan
  12. Gustavo T
  13. Matthew
  14. rae
    • Sn0w78
      • teeayeand
        • Brandon
          • teeayeand
    • teeayeand
      • Jess
  15. Hanna Shanar
    • DANO
  16. Sn0w78
    • Mike
    • HUSS
    • yasin
  17. Zo
  18. milehigh80920
    • DANO
  19. Danilo
  20. Hanna
  21. Zach
    • MAH
      • Jamie
  22. josh
    • teeayeand
  23. josh
    • Si
  24. joshua gaspard
  25. Aaron
  26. Danny
  27. Zoe
    • teeayeand
  28. Will
    • teeayeand
  29. Juwain
    • teeayeand
      • DGKavon
        • DGKavon
          • ishant
            • trickskicks
  30. zoe
    • Ghost
      • Ghost
  31. Donald
    • Manny
    • ayyyeee
    • Emil Aloysius
  32. D Ray
    • teeayeand
  33. Ghost
    • teeayeand
      • 127.2288
  34. Jess
  35. Alexpine
  36. Emir
  37. Mel
    • TeeTeev
  38. CONNOR
  39. TeeTeev
  40. Amin
  41. FusinBonez
    • MAH
  42. Dante
  43. Mike1021
  44. feras alrayes
  45. JY
  46. Jordan
  47. kerroum
    • Urbane
  48. George
    • johnny
      • SillaShooter
  49. chakir
  50. Luis
  51. Gr8One
    • Thomas
    • Thomas
    • Bill Nguyen
  52. Arnold Padillo
  53. Sara
  54. johnny
    • urmom
  55. johnny
  56. tony
  57. Arnav Nagpal
  58. Uknow
  59. Ahmad Jomah
  60. Asia
  61. midooooooooooo
  62. Nate
  63. Mads
    • Tyrone
  64. Jim
    • Nate
      • Nate
        • Jim
          • Paul
            • Jim
            • Jim
        • Okan
        • zafar zaheer
  65. Jim
    • Carlos
  66. tiffgu
  67. 127.2288
  68. KimRoura
  69. Kim
  70. Nathan
    • Julian
      • Muffin
  71. Jayden
  72. Dylan D
    • Amine
      • Jacob
  73. zafar zaheer
  74. Daark x WoLf
    • trickskicks
  75. Someone
  76. dey
  77. trickskicks
    • Emil Aloysius
  78. Jacob
  79. youssof khorfan
  80. cody ryan
    • cody ryan
      • cody ryan
        • Armaan
          • cody ryan
            • Trolling Mudkip
              • cody ryan
            • Jerzy
            • Jerzy
              • cody ryan
            • Abe
              • cody ryan
                • Jonathan
            • iFrown
          • trickskicks
      • youssof khorfan
      • youssof khorfan
      • pranshoo
    • Rizoniel
  81. Muffin
  82. Shujat
    • Tyrone Hamilton
  83. Rohan Patel
    • Tyrone Hamilton
  84. nate
  85. Socheata Rose
    • Tyrone Hamilton
  86. pranshoo
  87. mua
  88. Jay
    • Tyrone
  89. ares
  90. Steve
  91. Mayen
    • Tyrone
  92. T-Time
  93. Callum
  94. Bob
  95. Kalleb
    • Bin
  96. ‎Linkon
    • Brian
  97. Putra desky
  98. Kirkovm
  99. Oscar
  100. haks
  101. Seth
  102. Chris
  103. Faddy
  104. Shaulu
  105. Arrun
  106. zhz

Leave a Reply