+ Reply
Results 1 to 10 of 10
  1. #1
    What's Jailbreak?
    Join Date
    Aug 2008
    Location
    Boston
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default re-install cydia - FATAL -> Failed to fork

    Ok, I've been a bit frustrated with cydia recently, I can't remember when it started but cydia would NOT update automatically from the sources every time I started it. I had to click "refresh" in the "changes" tab and it would crash. After "few" times it would eventually update and I was able to see the changes.

    I think it's a memory issue, maybe!? Who knows, anyway only today I realize that if that is it.

    So tonight I wanted to get this fixed once and for all:

    - I go start cydia and this time it wouldn't even stay up and running, nope, it would just crash during the infamous "update"
    - so I decide to use apt-get to see if I get some new essential upgrade that would affect cydia or repositories, 3 upgrades to be installed, none of them was pertinent (just 3 regulat upgrades for apps I've installed, so I keep going, I want to get to the bottom of this
    - I run apt-get update from the shell on my phone, and that crashed even my console session, so I cannot see the error message if one
    - I decide then to run it connecting via SSH (so at least, I am thinking, I can see the error), well now during the update I get a bunch of them, here they are listed:

    99% [47 Packages gzip 0] [45 Packages bzip2 65536] [Connecting to apt.bigboss.us.com] [Connecting to www.iacces.com] [Connecting toFATAL -> Failed to fork.
    W: GPG error: http://cydia.ifoneguide.nl ./ Release: The following signatures were invalid: BADSIG 8CB0FE34A99404CB iFoneguide (iFoneguide Repository) <[email protected]>
    W: GPG error: http://hackthatifone.com ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D3D6151812F8A7DA
    W: GPG error: http://apt.namedfork.net ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0C11ABBED2C023E5
    E: Method gzip has died unexpectedly!

    ok, this is the final errors when eventually the update completes, eventually it would end earlier with a "FAILED TO FORK", so I would try again and hoping to get to the end.
    OK so now here comes "Google" in my help, I search for all of these quotes, I see lots of forums, nothing helps. So I decide to do what was found on a port: remove and re-install cydia.

    So now I did so and I cannot install cydia anymorem I've rebooted the phone already, several times, but still nothing.
    Here's my output:

    iPhone:~ root# apt-get install cydia
    Reading package lists... Done
    Building dependency tree... Done
    Package cydia is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    W: Couldn't stat source package list iPhone News, Help and Guides stable/main Packages (/var/lib/apt/lists/apt.bigboss.us.com_repofiles_cydia_dists_stable_ma in_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list Welcome to iPhone projects @ freecoder.org ./ Packages (/var/lib/apt/lists/iphone.freecoder.org_apt_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://www.iacces.com ./ Packages (/var/lib/apt/lists/www.iacces.com_apt_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://apt.iphone-storage.de trixy/main Packages (/var/lib/apt/lists/apt.iphone-storage.de_dists_trixy_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list iPhoneIslam > iPhone Arabic & Islamic Apps | آي-فون إسلام > برامج عربية و إسلامية للأيفون ./ Packages (/var/lib/apt/lists/apps.iphoneislam.com_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list Performance Engine Super Chips ECU Power Racing Car Chip Tuning Flash Chips stable/main Packages (/var/lib/apt/lists/apt.theiphoneproject.org_dists_stable_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list iPuhelin ./ Packages (/var/lib/apt/lists/ipuhelin.com_cydia_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://cydia.ispazio.net ./ Packages (/var/lib/apt/lists/cydia.ispazio.net_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list Index of / stable/main Packages (/var/lib/apt/lists/apt.modmyi.com_dists_stable_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://gecko.pri.ee stable/main Packages (/var/lib/apt/lists/gecko.pri.ee_cydia_dists_stable_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list RupertGee iBlog ./ Packages (/var/lib/apt/lists/redwolfberry.com_rupertgee_cydia_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://apt.saurik.com tangelo/main Packages (/var/lib/apt/lists/apt.saurik.com_dists_tangelo_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list Sleepers.net | iPhone News | Application Development | Hosting Repository stable/main Packages (/var/lib/apt/lists/iphone.sleepers.net_repofiles_cydia_dists_stable_m ain_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list Steffwiz.com Random Themes & Things steffwiz/main Packages (/var/lib/apt/lists/apt.steffwiz.com_dists_steffwiz_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://apt.zanekills.com zanekills/main Packages (/var/lib/apt/lists/apt.zanekills.com_dists_zanekills_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list ZodTTD Forums -> ZodTTD&#39;s Blog stable/main Packages (/var/lib/apt/lists/www.zodttd.com_repo_cydia_dists_stable_main_binary-iphoneos-arm_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Package cydia has no installation candidate

    I run 2.1 firwware on a 8GB 2G iPhone.

    Help!



    So today I was lookin

  2. #2
    plain jane vanilla (post count restored to FULL AWESOMENESS) cpjr's Avatar
    Join Date
    Jul 2007
    Location
    ATL
    Posts
    11,692
    Thanks
    181
    Thanked 1,457 Times in 1,263 Posts

    I would run quickpwn it will load Cydia for you.

    Also, looks like the errors you were getting from Cydia we all source (repo) problems....I would have just deleted those repos first to see if that helped.

  3. #3
    What's Jailbreak?
    Join Date
    Aug 2008
    Location
    Boston
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post
    Isn't quickpwn going to erase everything on it thou?

    I had no luck in my previous experience restoring with apt backup or chronus.

    actually to reply to your answer, how can I delete the repo if cydia crashes?

    Just delete the "sources.list.d" ?? or better yet, everything in it ?

    I fixed this without quickpwn.

    I ran TOP and I was able to see that my "Apt-get update" was running "many" http processes and they would not close making my device go out of memory.

    "Failed to fork" (after I google it) seems to be related to memory shortage or corruption.

    SO I went on /private/etc/apt and renamed the old sources.list.d to a *.BAK then I created a new one "sources.list.d" and copied the only repository that would get me cydia back "saurik.list"

    now I re-installed cydia and I have to re-install all the repositories, without adding the back ones that would crash my cydia
    Last edited by dito74; 12-18-2008 at 05:22 PM. Reason: Automerged Doublepost

  4. The Following User Says Thank You to dito74 For This Useful Post:

    manu3008 (09-11-2009)

  5. #4
    What's Jailbreak?
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked 2 Times in 1 Post

    Thumbs up cydia crash

    well today my cydia also decided not to work and keep on crashing after rebooting and rebooting and rebooting.
    so i decided to google it but no luck what so ever.
    but then some thing hit me so i decided to put my iphone on aeroplane mode then i turned off my wifi at the same time. i then rebooted and try to open cydia again. and guess what still didnt work.
    and then some thing else hit me. so i went and open finder and fiddle around with the settings and
    finally there i was inside a folder called (etc) the went on to (apt) folder then (sourcelist) folder the deleted every freakin repo list that on there except for saurik list and cydia list.
    so i exit, reboot and then open cydia for the last time and walah my cydia is back up and running.

  6. The Following 2 Users Say Thank You to inasjm For This Useful Post:

    andresegal (01-27-2009), meecheeman (02-04-2009)

  7. #5
    iPhone? More like MyPhone
    Join Date
    Aug 2008
    Location
    Washington
    Posts
    117
    Thanks
    12
    Thanked 5 Times in 5 Posts

    how do you reload cydia without losing everything??? I add zdott or something simular and it crashed and when I hit the cydia icon it just goes to start up then returns to the home screen. I have rebooted it several times and still no luck. Any help would be apreciated.

    Quote Originally Posted by cpjr View Post
    I would run quickpwn it will load Cydia for you.

    Also, looks like the errors you were getting from Cydia we all source (repo) problems....I would have just deleted those repos first to see if that helped.
    if I run quickpwn again will it erase all of my apps and mods that I have done already??
    Last edited by bookem15; 12-29-2008 at 01:30 AM. Reason: Automerged Doublepost

  8. #6
    What's Jailbreak? andresegal's Avatar
    Join Date
    Dec 2007
    Location
    Campinas / Brasil
    Posts
    3
    Thanks
    4
    Thanked 0 Times in 0 Posts

    thanks inasjm, works perfect for me.....

  9. #7
    iPhone? More like MyPhone
    Join Date
    Jul 2008
    Posts
    122
    Thanks
    9
    Thanked 32 Times in 15 Posts

    I've encountered this type of thing before. For those of you that have installed the "All Sources" package try this:

    Delete BigBoss source via OpenSSH

    At /private/etc/apt/sources.list.d/
    Delete everything, except saurik.list

    At /private/var/lib/apt/lists/
    Delete the 3 BigBoss related files.

    Reboot, start Cydia, hit Manage and Packages. Remove all Repository packages including the 'All Sources' package and leave the Saurik one. I suggest rebooting the phone again after this step.

    Start Cydia and install either community sources or BigBoss source. I do not recommend installing the 'All Sources' package as this may have led to the problem in the first place.

    Anyway, enjoy and let me know if this helped.

  10. The Following 3 Users Say Thank You to dazzastark For This Useful Post:

    BlueRally (09-20-2009), meecheeman (02-04-2009), xxdesmus (10-27-2009)

  11. #8
    What's Jailbreak?
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I followed dito's attack sequence here and also copied over cydia.list. Worked perfect.

    I'm thinking mine was caused by the touch-mania repo. It was one of the last few I installed and before the fix when I did: 'apt-cache policy cydia', it reported header issues with that repo.

    Thanks dito74!

    .daz

  12. #9
    What's Jailbreak?
    Join Date
    Dec 2008
    Posts
    27
    Thanks
    7
    Thanked 0 Times in 0 Posts

    I just downloaded the "All Sources" package from Cydia which supposedly adds all the trusted repositories but now my Cydia takes forever to download packages and shows errors such as host unreachable etc. before finally finishing and now crashes quite frequently. Even worse is that now I have a bunch of Repos that are for foreign languages and they just waste my time scrolling through all of them. I deleted the "All Sources" package under the manage/packages tab but the Repos are still there. In the sources tab I can't delete the Repos either because they are under the installed by packages sections rather than the manually added section. Can I manually delete the Repos I don't want through openSSH?

  13. #10
    What's Jailbreak?
    Join Date
    Apr 2009
    Location
    MA
    Posts
    6
    Thanks
    3
    Thanked 2 Times in 2 Posts

    Quote Originally Posted by dazzastark View Post
    I've encountered this type of thing before. For those of you that have installed the "All Sources" package try this:

    Delete BigBoss source via OpenSSH

    At /private/etc/apt/sources.list.d/
    Delete everything, except saurik.list

    At /private/var/lib/apt/lists/
    Delete the 3 BigBoss related files.

    Reboot, start Cydia, hit Manage and Packages. Remove all Repository packages including the 'All Sources' package and leave the Saurik one. I suggest rebooting the phone again after this step.

    Start Cydia and install either community sources or BigBoss source. I do not recommend installing the 'All Sources' package as this may have led to the problem in the first place.

    Anyway, enjoy and let me know if this helped.
    Dude this worked perfect. I had tried everything and nothing seemed to work but this!! Thanks!

Posting Permissions

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