Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 24, 2012, 10:30 AM   #1
iPodJBer
macrumors newbie
 
Join Date: Apr 2012
Cydia: Sub-process /user/bin/dpkg returned an error code (2)

Ok, so as you see, i get an error in Cydia when ever i try to install an app.
And while i was trying to fix it, i accidently deleted the sources and i don't know how to get them back
Thank in advance
iPodJBer is offline   0 Reply With Quote
Old Apr 25, 2012, 08:12 AM   #2
iPodJBer
Thread Starter
macrumors newbie
 
Join Date: Apr 2012
Anyone?
iPodJBer is offline   0 Reply With Quote
Old Apr 25, 2012, 08:22 AM   #3
thelatinist
macrumors 603
 
thelatinist's Avatar
 
Join Date: Aug 2009
Location: Connecticut, USA
Do you have MobileTerminal, SSH, or iFile?
__________________
Late 2008 (Penryn) 13" White MacBook 2.4 GHz Core2Duo, 4 GB Ram, Samsung 840p SSD; iPhone 4S 64 GB, AppleCare+
thelatinist is offline   0 Reply With Quote
Old Apr 25, 2012, 09:08 AM   #4
EngageWithRage
macrumors 6502
 
Join Date: Jan 2012
Location: Your girlfriend's house
1. Run Cydia.
2. Search for gzip & reinstall.
3. Search for bzip2 & reinstall.
4. Cydia goto Changes & click Refresh.
5. Wait for Cydia to refresh.

Not sure if you came across this on the net as well..

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.
EngageWithRage is offline   0 Reply With Quote
Old Apr 25, 2012, 01:21 PM   #5
thelatinist
macrumors 603
 
thelatinist's Avatar
 
Join Date: Aug 2009
Location: Connecticut, USA
Quote:
Originally Posted by EngageWithRage View Post
1. Run Cydia.
2. Search for gzip & reinstall.
3. Search for bzip2 & reinstall.
4. Cydia goto Changes & click Refresh.
5. Wait for Cydia to refresh.
His Cydia doesn't work. That's the problem.
__________________
Late 2008 (Penryn) 13" White MacBook 2.4 GHz Core2Duo, 4 GB Ram, Samsung 840p SSD; iPhone 4S 64 GB, AppleCare+
thelatinist is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone: Cydia: Error Couldn’t configure pre-depend dpkg for ncurses, probably a dependency cy eelinnah Jailbreaks and iOS Hacks 10 Nov 16, 2014 04:10 PM
iPad: sub-process /usr/bin/dpkg errors installing any app in Cydia Coleman2010 Jailbreaks and iOS Hacks 24 Jun 2, 2014 01:45 PM
iPad: dpkg error code (1) help? whig4life Jailbreaks and iOS Hacks 6 May 19, 2014 02:01 PM
iPhone: [RESOLVED] Cydia Sub-Process Error - Can't install anything! SpikyiOS3 Jailbreaks and iOS Hacks 4 Apr 7, 2013 06:18 PM
iPhone: Cydia issue - No package header and Usr/bin/dpkg (2) roryhammond Jailbreaks and iOS Hacks 1 Feb 14, 2013 04:31 AM

Forum Jump

All times are GMT -5. The time now is 10:04 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC