Results 1 to 4 of 4
Discuss Cydia problem: "Sub-process /usr/bin/dpkg returned an error code (2)". at the General - Hackint0sh.org; I have ultrasn0w installed strictly to fix the one signal strength bar issue on my ...
  1. #1
    Newbie Array

    Join Date
    Jul 2011
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Cydia problem: "Sub-process /usr/bin/dpkg returned an error code (2)".

    I have ultrasn0w installed strictly to fix the one signal strength bar issue on my ip4 (on AT&T with 4.3.3 & 1.59.00 bb) and I frequently run into problems with it when one of my Cydia apps needs updating. When I try to update an app(s), ultrasn0w gets reinstalled even though it's already installed and not in the queue. When that happens I get an error that says "Sub-process /usr/bin/dpkg returned an error code (2)". Sometimes when I go to update an app I get the same error message without the ultrasn0w reinstall happening.

    I did some research and thought I found a fix, which was the following:

    Solution:
    1- Get your way to the file and directory structure of your iPhone (through SSH or iFile or Mobile Terminal ...)
    2- Look for the /var/lib/dpkg/ directory
    3- You should be able to find the following files: available, availble-old, status, status-old
    4- Rename "available" to "available-bak"
    5- Rename "status" to "status-bak"
    6- Rename "available-old" to "available"
    7- Rename "status-old" to "status"
    8- Start Cydia , make sure that you allow Cydia to load completely first (just to be on the safe side ), try to install some apps.

    I've fixed this problem several times now but it keeps coming back. I'm not sure if it's related to ultrasn0w or not but it seems like ultrasn0w might be stuck in the queue or something. I don't know if I need to do a complete reinstall of Cydia or if there's a way to just rebuild the Cydia databases but I don't know what to do at this point. It seems like every time I try to update an app or something this error comes back and it's the same error every time. Is there an easy way for me to uninstall Cydia and then reinstall it without having to re-jb and start over? I'm so desperate at this point.

    Please help!!!



  2. #2
    Super Moderator Array Olethros's Avatar

    Join Date
    Sep 2007
    Location
    Norway
    Posts
    8,360
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    439

    Default

    Thanks for the contribution.
    Most Cydia issues are due to adding non standard sources (especially the poorer run repos that include badly tested or pirate packages).

    It's very unlikely that your problem is due to ultrasn0w. I think this is just a symptom.
    Please read the stickies & search forum before posting!
    How to report an iTunes restore/update fail in a useful manner
    -

    iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
    iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
    iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
    iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter

    -
    Did we solve your problem? Got a dollar or two spare ? Donate!

  3. #3
    Newbie Array

    Join Date
    Jul 2011
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by Olethros View Post
    Thanks for the contribution.
    Most Cydia issues are due to adding non standard sources (especially the poorer run repos that include badly tested or pirate packages).

    It's very unlikely that your problem is due to ultrasn0w. I think this is just a symptom.
    I agree that ultrasn0w is probably not the problem but the only "non-standard" repos I have are beta repos for LockInfo and BiteSMS and the ultrasn0w repo - those are the only three that I added manually. I don't do hacked apps - never have, never will. So do you think I can fix this without doing my jb over again or no?

  4. #4
    Newbie Array

    Join Date
    Dec 2013
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi, hopefully someone still checks this thread.
    I just ran into this issue, never seen it before, the solution seems pretty straightforward, the only problem is that I cannot download anything in Cydia, including SSH iFile or Mobile Terminal so I have no way to access the files, the problem is preventing me from getting the solution life sucks. Anyone has any ideas on how can I access the file system to rename the files if I'm unable to download anything through Cydia?
    Thanks!

 

 

Similar Threads

  1. Sub-process /usr/bin/dpkg returned an error code (2)
    By berger34 in forum iOS 4.x (iPhone OS 4.x)
    Replies: 4
    Last Post: 03-09-2013, 04:23 PM
  2. Replies: 3
    Last Post: 09-30-2010, 10:02 PM
  3. Replies: 18
    Last Post: 02-18-2010, 06:19 PM
  4. Ultrasn0w Error-sub process usr bin dpkg returned an error code 1
    By ilavu in forum Ultrasn0w (3G(S)/iPhone 4 unlock)
    Replies: 5
    Last Post: 06-25-2009, 05:07 PM
  5. Replies: 3
    Last Post: 12-16-2007, 02:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 04:46 PM.
twitter, follow us!