Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: How to Reinstall Cydia via SSH!!is a discussion within the
Cydia Supportforums, a part of the
Native iPhone / iPod Touch App Discussionsection;
Ok, so the other day I started to have problems with Cydia. Every time I opened it, it would crash. Note: Cydia crashes for 3 reasons (that I know of),...
01-10-2010, 12:02 PM #1How to Reinstall Cydia via SSH!!
Ok, so the other day I started to have problems with Cydia. Every time I opened it, it would crash.
Note: Cydia crashes for 3 reasons (that I know of),
1) bad repository/source,
2) bad cache folder,
3) corrupted software
In this posting I help take care of number 3 WITHOUT having to Re-Jailbreak your phone. If you have a problem with the other 2, click here
Also note this, if you don't have ssh installed on your iphone, then this fix is not for you. (technically you could do this with mobile terminal, but I wont get into that in this post)
I kept getting an error when trying to reinstall Cydia (apt-get install Cydia).
Internal Error, Could not perform immediate configuration (2) on cydia
What you need to do is:
1) apt-get remove cydia (this is how you get to the error to begin with)
2) get the latest copy of cydia from Saurik.com (make sure you get the cydia_x.x.xxx_iphoneos-arm.deb version)(I also attached the latest as of this posting)
3) get the file attached here called essential_0-1_iphoneos-arm.deb
4) sftp the files over to your iphone /var/stash folder
5) ssh into your phone as root, cd over to the /var/stash folder
6) run this command:Code:
dpkg -i essential_0-1_iphoneos-arm.deb cydia_x.x.xxxx_iphoneos-arm.debCode:
I want to thank StealthBravo and the Admin over at theIphoneWorld, because without their help/posts, I wouldn't have been able to come up with the fix for my problem
12-27-2010, 11:03 PM #2
I used this to reinstall cydia on my friends 3G that kept saying "loading" forever when clicked on changes, and now it works fine.
I also used your method to upgrade cydia on the iPhone 2G! I kept getting a message to upgrade but couldn't since it's on 3.1.3 (of course) and not 4.0, but with your method I was able to successfully put the latest Cydia on the iPhone 2G.
Edit: However it turns out that it isn't compatible with my 2G. Cydia does run, but any app you want to install automatically removes cydia! So I had to redo the steps and install an earlier version. But along the way my cydia disappeared so I had to follow this to get it back.
Last edited by scrollup; 12-27-2010 at 11:48 PM. Reason: Update
03-01-2011, 02:52 AM #3
This was the first time I decided to try a Cydia reinstall instead of doing a restore (nice to do spring cleaning after months of app installs/upgrade, anyway), and I came across your post in search of the "best way" to reinstall Cydia.
I essentially did what you did, but I did it all from the command line. For those who may prefer this method (I feel it's more streamlined), here's what I did:
- SSH into iPhone
- login as root or use su
- download the latest .deb files directly from the repo: $ apt-get -d install cydia essential
- browse to the apt download folder: $ cd /var/cache/apt/archives
- install (press TAB to auto complete the filenames): $ apt-get install cydia...deb essential...deb -y
- $ respring
- the ellipsis (...) in the deb filenames above are just me shortening their names. Just press TAB to autocomplete the filenames as you type out the first few letters.
- Browsing to the apt archives directory is optional. You may go straight to the next step as long as you input the full path to the deb's (e.g. $ apt-get install /var/cache/apt/archives/PackageNameHere -y)
- You may need to do "$ apt-get purge" on either (or both) packages prior to downloading/installing.
- You must install both at the same time, otherwise you will have errors.
- Doing "$ apt-get update" before any of this wouldn't hurt, either.
Mr-Marc:~ root# apt-get update ...SNIP... Mr-Marc:~ root# apt-get -d install cydia essential -y Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: cydia essential 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/636kB of archives. After this operation, 1516kB of additional disk space will be used. Download complete and in download only mode Mr-Marc:~ root# cd /var/cache/apt/archives/ Mr-Marc:/var/cache/apt/archives root# dpkg -i essential_0-1_iphoneos-arm.deb cyd ia_1.0.3201-71_iphoneos-arm.deb Selecting previously deselected package essential. (Reading database ... 11767 files and directories currently installed.) Unpacking essential (from essential_0-1_iphoneos-arm.deb) ... Selecting previously deselected package cydia. Unpacking cydia (from cydia_1.0.3201-71_iphoneos-arm.deb) ... Setting up essential (0-1) ... Setting up cydia (1.0.3201-71) ... Mr-Marc:/var/cache/apt/archives root# respring
03-21-2011, 01:54 PM #4
I NEED HELP ! lst night my springboard crash so I check out some YouTube videos n try to fix it n erase some files n now I can't install or do anything on cydia it saids that it dnt knw Wat version of cydia it's running n something abt some files are corrupted n every time I try to install something I get ERROR RUNNING MSG n won't let me do anything on cydia ????
03-22-2011, 09:29 AM #5
Your issue may be related to the topic of this thread, but it is a separate topic altogether. I suggest you edit your post to point to a new thread that you create describing your problem. You should be sure to provide as much info as you can as well as any and all steps you have attempted to try to rectify the problem thus far.
Originally wanted to post:
"no one will help you when you don't provide enough information to even offer any advice other than doing a complete restore. You should then be able to restore your apps and deb packages from any backups you should have been making before installing any new apps/packages."
03-25-2011, 01:50 PM #6
11-22-2013, 06:52 AM #7