+ Reply
Results 1 to 6 of 6

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Cydia dpkg error

is a discussion within the

Cydia Support

forums, a part of the

Native iPhone / iPod Touch App Discussion

section;
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
...
  1. #1
    My iPhone is a Part of Me ddonuts4's Avatar
    Join Date
    Dec 2008
    Posts
    536
    Thanks
    17
    Thanked 22 Times in 21 Posts

    Default Cydia 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

  2. #2
    Super Duper Moderator blkcadi's Avatar
    Join Date
    Aug 2008
    Location
     Valley of the Sun, ARIZONA ♥♥♥
    Posts
    30,418
    Thanks
    3,702
    Thanked 9,619 Times in 5,898 Posts

    You may want to read this thread, some have had luck fixing the Cydia crashes.

  3. #3
    What's Jailbreak?
    Join Date
    Aug 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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!

  4. #4
    Developer/Hacker JStraitiff's Avatar
    Join Date
    Oct 2008
    Location
    Buffalo, NY
    Posts
    2,391
    Thanks
    81
    Thanked 283 Times in 214 Posts

    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.

  5. #5
    My iPhone is a Part of Me ddonuts4's Avatar
    Join Date
    Dec 2008
    Posts
    536
    Thanks
    17
    Thanked 22 Times in 21 Posts

    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

  6. #6
    My iPhone is a Part of Me ddonuts4's Avatar
    Join Date
    Dec 2008
    Posts
    536
    Thanks
    17
    Thanked 22 Times in 21 Posts

    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.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts