Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Cydia dpkg error
08-30-2009, 08:33 PM #1Cydia dpkg error
I recently had a problem with cydia crashing and searched for the error and fixed it. The fix was deleting the /var/lib/dpkg/updates folder. I launched cydia and I got this error when installing something. "dkpg: cannot scan updates folder /var/lib/dpkg/updates no such file or directory" so I did the obvious thing- I created a new updates folder. I still got the error. I also tried setting the permissions to read/write/execute for all groups. Still no luck
08-30-2009, 08:59 PM #2
08-30-2009, 09:08 PM #3
I too was frustrated with a dpkg error for countless hours until I realized what my problem was. I had used the iPhoneBrowser to use the iPhone as a USB Drive...basically sore non iphone files on some of the hard drive space I had free.
I had plenty of space free but the real problem is the iPhone actually splits the hard drive into two partitions (one is very small, which is like 750mb) and little did I know that's where I had put my 3rd party files.
Some but not all cydia installs / updates seem to install on the smaller partition..so long story short if you did upload any files on the iphone or create new directories to use it as storage delete them (you can host it on the bigger partition but i forget the directory off hand).
Then you should be good to go!
08-30-2009, 09:32 PM #4
if you understand how cydia works it uses dpkg to figure out where packages are located and how to interact with such. since you do not have the ability to install packages via cydia you will need to find a way to reinstall dpkg. unfortunately because you cannot use dpkg properly you will be unable to install any .deb. you /could/ install dpkg manually but for a more simple approach you can run redsn0w again to install the default packages.
you might just consider restoring because i am not really sure whether reinstalling everything will go as smoothly as in theory.
08-30-2009, 10:39 PM #5
So if I run redsn0w again it should do the trick? Thanks.
Will I lose my sources and cydia packages?
Also, the only problem is it can't find the updates FOLDER why can't it find it when I create it again.
Last edited by ddonuts4; 08-30-2009 at 10:39 PM. Reason: Automerged Doublepost
09-02-2009, 04:48 PM #6
Ok did what u told me to do. Whenever I install something from cydia OR THE APP STORE, my iPod touch resprings into safe mode.