Jump to content

Advertisement



Donate

Skrill

Stripe

BitPay



Photo

[FIX] Cydia Problems? LOOK HERE!


  • This topic is locked This topic is locked
444 replies to this topic

#1
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts

*
POPULAR

Due to the overabundance of threads on cydia crashing, I have decided to create one large source for fixes.
If you have a problem that is not on the list then please post here, do not create a new topic.

If you have a solution to a problem that is not listed here, send me a PM and I will update this list.

You will need to know how to SSH into your device, if you are having wifi issues the get iPhoneBrower here: http://code.google.com/p/iphonebrowser/downloads/list

If you installed both Cydia and Icy while jailbreaking and Cydia crashes, the only solution is to rejailbreak.
This is a problem with the jailbreaking program and there is no other fix.

If you have problems with the apt-get command not being found, download the apt-get file here: http://www.sendspace.com/file/ekubav
Then SSH it to /usr/bin/ and the command should work.

Due to the recent virus many people have changed their root password.
If this is the case just substitute your new password wherever it says alpine.



Identify the Problem:

This is probably a good place to start ... follow the steps to see if you can determine the problem with your Cydia:

1) Open Terminal on the device or through SSH.
2) Type the following:

su
alpine
apt-get update


3) Read the error message.

Sometimes just running the update command will fix the issue!


Cydia Crash on Load:


1) SSH into your device.
2) Navigate to the /var/lib/apt/lists/ folder.
3) Delete everything EXCEPT the partial folder.
4) Reboot.

Another possible fix is to SSH into root/private/ect/apt/sources.list.d and remove all entries except saurik.list.
This will delete all your manually added repos. (Thanks to neyzcorp for this fix)


Cydia Won't Add a Repo:


There are very few possible explanations, here are a few:
1) The repo is down, check the forums for more information.
2) You typed it wrong, many people forget to put the / at the end of a repo url.
3) You aren't connect to a network ... pretty self explanatory.


Source Error:

A common error message would be Bzip2 error or the fact that a source is not functioning correctly.

IF A REPO ONLY ACCEPTS ONE DEVICE PER ACCOUNT YOU WILL GET THIS MESSAGE IF YOU ADD MORE THAN ONE DEVICE (our repo is like this)

If you cannot remove the source from Cydia or the problem persists, try this:

1) SSH into your device.
2) Navigate to the /etc/apt/ folder.
3) Backup the cydia.list OR sources.list.d file.
4) Edit the cydia.list OR sources.list.d file with a text editor and remove the entry related to the problematic source.
5) Reboot.


Crash After "Reloading Data":


If Cydia is crashing after the Reloading Data message then try this:
(If you don't have terminal installed, use terminal through SSH)

1) Open Mobile Terminal/Terminal via SSH.
2) Type:

su
alpine
dpkg --configure -a


3) Reboot.

I am unsure that this is a valid fix but if you try it let me know the outcome please.


Package Header Error:


If on startup, Cydia says there's an error with package headers do the following to fix it.

1) Open terminal and type:

su
alpine
dpkg --a configure


2) Respring just to make sure it reloads the data.


July 18th Error:


On July 18th, a corrupt package was posted. There was a 10 minute window where anyone who loaded Cydia would experience problems.
If you think you are having this problem please follow this link:

http://www.xsellize....=cydia crashing


Icon is not Visible:

If your Cydia icon disappeared after you installed a new package and restarting doesn't get it back, follow these steps:

1) SSH into /applications/cydia.app
2) Copy the icon.png to your computer.
3) Delete icon.png from the device
4) Respring and a basic, white icon will appear for Cydia.
5) Copy the icon.png back to /applications/cydia.app
6) Respring and the normal icon should be there.


Cyder:


Cyder is a progam for your computer that downloads and transfers packages/sources to your device.
It also has other useful feature which may fix problems such as clearing the cache.
To get it go here: http://www.xsellize....highlight=cyder

Download here: http://www.mediafire.com/?myzmjnog3cz


A New Cache Fix:

If you are having problems with the cache and want to clear it try this new tool. There are 2 things you must install first though.

1) FixCydiaCache here - download
2) afc2add package from Cydia

To fix the cache you must:

1) Load FixCydiaCache and connect your iDevice to the PC
2) Click on the only button that says “Fix My Cydia Cache!”

thanks to crikboy


Reinstall Cydia:

If you can't find a fix for the problem and you really want it fixed, then try reinstalling Cydia.

1) Open Terminal on your device or through SSH
2) Type the following commands:

su
alpine
apt-get remove cydia
apt-get install cydia


3) Reboot

Another method of reinstalling Cydia is:

1) Download http://www.2shared.c...13e/Cydia.html?
2) SSH the package to /var/mobile on your device.
3) Open Terminal and type the following:

su
alpine
dpkg -i cydia.deb


4) Reboot (twice sometimes)





If none of the above worked then you will be forced to rejailbreak ... there is no other way!



To any mods: Please do not merge this thread with any others, this is only active cydia crashing thread now.


Edited by Light33, 20 October 2010 - 03:00 PM.
Added some info

  • 84

x-bot

x-bot

    x-bot

  • Ad-Bot
  • Ad post



#2
chris102192

chris102192

    Elite Member/Win 7 Master

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 722 posts
Great info. Thanks

um i couldnt find the 3.0.1 or the 3.0 firmware on iclarified anywhere.
can anyone provide a link to the firmwares



Nevermind im downloading them now thanks ill come back in a few hours with an update

ok i have just one more question....
am i gonna be able to restore from back-up after downgrading.
cause i really dont wanna lose all my contacts and information

Edited by Pyrox69, 24 August 2009 - 07:31 AM.
Double Post

  • 8

#3
boggie

boggie

    Senior Member

  • Members
  • PipPipPipPipPipPipPip
  • 270 posts

Source Error:

A common error message would be Bzip2 error or the fact that a source is not functioning correctly.

IF A REPO ONLY ACCEPTS ONE DEVICE PER ACCOUNT YOU WILL GET THIS MESSAGE IF YOU ADD MORE THAN ONE DEVICE (our repo is like this)

If you cannot remove the source from Cydia or the problem persists, try this:

Quote:
1) SSH into your device.
2) Navigate to the /etc/apt/ folder.
3) Backup the sources.list.d file.
4) Edit the sources.list.d file with a text editor and remove the entry related to the problematic source.
5) Reboot.


its cydia.list you want to edit in a text editor in order to remove a bad repo.
  • 2

#4
steve51184

steve51184

    Senior Member

  • +Contributor
  • PipPipPipPipPipPipPip
  • 403 posts

well it seems that the device is looking to a repo for the package which the repo does not have anymore.
Thats what it looks like to me anyways, installing through a .deb may work but I still have the feeling cydia will look to that repo for the package.
Try editing your sources.lst ... tutorial in the first post of the thread\

Also just give the deb installation a shot, it might work!


looked at the tutorial and it mentions a /etc/apt/cydia.list file but i don't have one but i do have a /etc/apt/sources.list.d/cydia.list file is that the same one?
  • 0

#5
steve51184

steve51184

    Senior Member

  • +Contributor
  • PipPipPipPipPipPipPip
  • 403 posts
my cydia crashes right away (shows loading data for a few seconds then closes) and i run ap-get update but i get this error:

FATAL -> Failed to fork.


how do i fix this?

also it started doing this after i tried to install the new fasttwitter but it failed :\
  • 0

#6
wheeliestunt

wheeliestunt

    Whats an iPhone

  • Members
  • PipPipPip
  • 35 posts
Hi. As of today I haven't been able to open Cydia. Yesterday I upgraded my 3G to 3.0.1, jailbroke, reinstalled all my Cydia apps, iTunes apps, everything. And it all was working fine untill this morning when I opened Cydia and it just crashed. I can't figure out if anything changed, I know I didn't change anything but what else can it be?

So I started looking for solutions and first deleted all the files inside /var/lib/apt/lists, except the parcials folder, with no luck. Deleted the sources mentioned in the other folder but no luck either. Then I went into console and removed Cydia, then apt-get install cydia..... same error as dieg0_o above my post. Well, let's install essentials then. apt-get install essentials. Guess what? it depends on cydia so it won't be installed. apt-get install cydia esentials. No dice. So I went and found a deb package and installed that one (dpkg -i cydia.deb) it gave me some error but it got installed without configuring essentials or something like that. Cydia is now in springboard but it's still the same thing, it won't open past the black screen. All right, install icy and remove cydia, then reinstall. Didn't work either and I get an error: "dpkg returned error #1" when trying to uninstall. But it does disapear from the installed packages list inside icy, well, let's reinstall it then. Same dpkg error #1 message.

Last resort, rejailbreak. And so I did with redsn0w 0.72 but guess what? Cydia still won't open.

What else is there to do and please don't tell me to restore 3.0.1, jailbreak and reinstall everything as it's just not possible as I did all of that twice yesterday ;)
  • 0

#7
wheeliestunt

wheeliestunt

    Whats an iPhone

  • Members
  • PipPipPip
  • 35 posts
What didn't work? Have you uploaded the deb into p/v/m/ ?

Enter into terminal and execute

ls

What do you see now?
  • 0

#8
dieg0_o

dieg0_o

    Disinabled

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 2161 posts

What didn't work? Have you uploaded the deb into p/v/m/ ?

Enter into terminal and execute

ls

What do you see now?

Posted Image
  • 0

#9
wheeliestunt

wheeliestunt

    Whats an iPhone

  • Members
  • PipPipPip
  • 35 posts
???????

You should notice that the package you should have downloaded from the first post is named "Cydia.deb" with capital "C". So you should write it as

dpkg -i Cydia.deb

Capital letters DO matter.
  • 0

#10
wheeliestunt

wheeliestunt

    Whats an iPhone

  • Members
  • PipPipPip
  • 35 posts
The post above is blank just quoting my post. Have you uploaded the Cydia.deb into /p/v/m trough ssh?
What does the command "ls" returns in screen?
Did you enter "dpkg -i cydia.deb" or "dpkg -i Cydia.deb"

Edited by wheeliestunt, 20 August 2009 - 05:31 AM.

  • 1

#11
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts
Have you tried deleting the cache?
  • 0

#12
dieg0_o

dieg0_o

    Disinabled

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 2161 posts
uh oh.. cydia is all buggy now =/
  • 0

#13
steve51184

steve51184

    Senior Member

  • +Contributor
  • PipPipPipPipPipPipPip
  • 403 posts

Have you tried deleting the cache?


how do i do this? and will i lose any apps or my list of installed apps?
  • 0

#14
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts

1) SSH into your device.
2) Navigate to the /var/lib/apt/lists/ folder.
3) Delete everything EXCEPT the partial folder.
4) Reboot.


That will clear the cache ... it wont delete any apps, just incomplete ones that can cause problems.
  • 0

#15
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts
Try apt-get install com.anorange.peanutbutterjellytime

If that doesnt work just try apt-get install "packagename"

where packagename is the name of the file that did not install correctly
  • 0

#16
steve51184

steve51184

    Senior Member

  • +Contributor
  • PipPipPipPipPipPipPip
  • 403 posts

Try apt-get install com.anorange.peanutbutterjellytime

If that doesnt work just try apt-get install "packagename"

where packagename is the name of the file that did not install correctly


# apt-get install com.anorange.peanutbutterjellytime
Reading package lists... Done
Building dependency tree... Done
E: The package com.anorange.peanutbutterjellytime needs to be reinstalled, but I can't find an archive for it.

# apt-get install peanutbutterjellytime
Reading package lists... Done
Building dependency tree... Done
E: The package com.anorange.peanutbutterjellytime needs to be reinstalled, but I can't find an archive for it.

nope didn't work and i'm not 100% sure of it's name

is there anyway to force remove that package or clear the "half installed list" or whatever.. any suggestions will be gratefully appreciated thanks

Edited by steve51184, 19 August 2009 - 02:16 AM.

  • 0

#17
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts
yes ... replace install in the command with remove

so it would be: apt-get remove peanutbutterjellytime
  • 0

#18
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts
So you have deleted everything in /var/lib/apt/lists/ right (except partials)?

Actually thinking about it ... that sounds like a repo problem too!

Edited by NastyBen, 19 August 2009 - 02:50 AM.

  • 0

#19
steve51184

steve51184

    Senior Member

  • +Contributor
  • PipPipPipPipPipPipPip
  • 403 posts

So you have deleted everything in /var/lib/apt/lists/ right (except partials)?

Actually thinking about it ... that sounds like a repo problem too!


i did yes but it only made things worse so i put them back.. isn't the .deb file the best option? :\
  • 0

#20
NastyBen

NastyBen

    Just a Nasty Guy

  • +Contributor
  • PipPipPipPipPipPipPipPipPipPip
  • 841 posts
well it seems that the device is looking to a repo for the package which the repo does not have anymore.
Thats what it looks like to me anyways, installing through a .deb may work but I still have the feeling cydia will look to that repo for the package.
Try editing your sources.lst ... tutorial in the first post of the thread\

Also just give the deb installation a shot, it might work!
  • 0




IPB skins by Skinbox