In certain cases when you installing apps on Cydia you might get following error:
To fix it, follow these steps:
Error: running sub-process /usr/bin/dpkg returned an error code (2)This error message appears to be related to some file corruption in your Cydia.
To fix it, follow these steps:
- Navigate to /var/lib/dpkg/ directory.
- Rename "available" to "available-bak".
- Rename "status" to "status-bak".
- Rename "available-old" to "available".
- Rename "status-old" to "status".
- Start Cydia and allow it to load everything it needs. Try to install or remove some apps to verify the error is fixed.
This works!! Thanks!!
ReplyDelete@Mikegyro, you're welcome :)
ReplyDelete