Board logo

標題: [心得分享] 解决一些Cydia的問题 [打印本頁]

作者: koz    時間: 2011-4-16 11:16 PM     標題: 解决一些Cydia的問题

本帖最後由 koz 於 2011-4-17 09:10 PM 編輯

最近發覺有些人同我一樣都遭遇到一些Cydia上的問题, 经過搜寻,發現以下资料很有用, 現转载给大家参考.

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.


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.




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:
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!”

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 Cydia (use google to find the link)
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!




作者: pcngpcng    時間: 2011-4-17 06:55 PM

what,不懂.
作者: koz    時間: 2011-4-17 08:57 PM

Do you have Cydia problem? E.g. Cydia disappear on your desktop, Cydia crash on loading, etc.., those instructions can help you to fix these problems.  If you go to shop ask someone to fix for you, will cost money and can be expensive.

However, you need to understand Terminal and how to SSH your iPhone.  If interested go to Google and search about SSH and Terminal, you will find out how to do it.  It is not very hard to understand.
作者: maybank123    時間: 2011-4-25 05:21 PM

thank for sharing.support.
作者: ocean111    時間: 2011-4-26 12:14 PM

just keep this as a reference , maybe some day may need this
thanks
作者: wing1970    時間: 2011-4-27 01:04 AM

Thank you so much
作者: glayccl    時間: 2011-5-5 05:56 PM

谢谢分享




歡迎光臨 公仔箱論壇 (http://5.39.217.77:8898/) Powered by Discuz! 7.0.0