Nope, fine here.
Did you add any new repos latelly?
Thats probably the problem.
You'll have to remove the repo you just added thru SSH.
Hope you have OpenSSH installed.
I do have OpenSSH installed. Where do I find the repo I need to remove?
Would it be easier to just re-install Cydia?
Update: Rock wanted to re-install Cydia so I let it, didn't change anything. I did notice in Rock that none of the things I installed through Cydia show up there now so I know the DataBase is gone. Why would a repo cause this problem?
How can I just DELETE Cydia and re-install clean?
Everytime I get my iPhone just the way I want it, something like this happens. I'm starting to see why Apple puts so many restrictions on what you can do with the iPhone. The more I tinker, the more problems pop up and I haven't really done anything out of the ordinary except for LockInfo, SBSettings and Backgrounder with Kirakae. The life of Jailbreaking isn't what I thought it was going to be.
I'm open for suggestions on how to get everything back (I really don't want to Restore AGAIN!).
No need to reinstall cydia or mess with Rock.
Sometimes the repo is buggy or misspelled.
Heres the steps.
If you added a source that causes Cydia to crash, this is the thread for you. This will help you remove the buggy source you added.
You will need an ftp/sftp client. [WinSCP for Windows/Cyberduck for Mac]
1. SSH into your iPhone.
2. Go to the root of your iPhone.
3. Navigate to /etc/apt/sources.list.d/cydia.list
4. Download the Cydia.list to your computer and open it using any text editor.
5. Delete the source you added. For example, "deb http://www.iphone.org.hk/apt/ ./" if this is the source you want to delete, simply delete that one line. NOT THE WHOLE DOCUMENT. Make sure you save the document as is. We are NOT adding any extensions.
6. Drag the saved document into the sources.list.d folder and replace the file.
7. Respring.
ALL DONE!
Good luck bro.
Here's a few other things to tryout.
1. Connect & ssh to your iPhone and iPod Touch or use ifile.
2. Now go to /private/var/lib/apt/lists
3. Delete all the files in /root/private/var/lib/apt/lists/ except for the partial subfolder.
4. Exit and reopen cydia. It will take a little longer to download new files.
Another solution:
Go to etc/apt/sources.list.d/ where you will find all your sources for Cydia.
Select all of them EXCEPT SAURIK.list and move them over to your computer. Delete the versions that are on your iPhone/iPod Touch.
Cydia should now open up.
To get all your old sources back reinstall Community Sources (this didnt work for me but it did for some. If this doesnt work with you can simply move those files back to where they were. Cydia should still boot up.)
Hope it helps!
One more thing to try
In mobileterminal:
su
alpine
apt-get update
When update is done it will tell you which repos are the problem.
1. SSH into your IPhone
2. Navigate to /private/var/lib/apt/lists
3. Delete whatever_repo_Packages, whatever_repo_Release and whatever_repo_Packages.gpg(if there is one)
That is all.
I have ran into a problem where I couldnt remove a source from the cydia interface. Manage sources and manage packages didnt work at all.
Here is how is done.
1. SSH into your IPhone.
2. Navigate to etc/apt/sources.list.d
3. find the file cydia.list
4. If you are using WinSCP, right click onit and select EDIT
5. Delete : deb http://cydia.any source.com/ ./
6. Save and exit.
If you had jailbroken with blackra1n, you could easily uninstall Cydia from the blackra1n app...
I would recommend a restore if nothing works and use blackra1n this time around..
I've been reading conflicting reports on Cydia installed with Rock. For some, its been a nightmare having both installed. Others...it's been working fine for months.
I've avoided Rock because of it and stick primarily with Cydia. Of course, this means I can't install MyWi and such but it hasn't been a problem for me.
What I'm suspecting is that Rock installs a package which Cydia has a dependency on. An older or newer version of a library and bam!...everything goes to pot when Cydia accesses it.
Now that I've said all that, I'd recommend you install Cydia without Rock (for a while at least). See how stable the phone is or is not. After you install Cydia, you can delete the blackra1n icon from your phone. (Personally, I JB'ed by iPhone with blackra1in, installed Cydia, and then deleted the BR icon.)
If you're loading any beta software (or even if not), you might also try to inspect any uncertain .deb packages first with a "dpkg --contents" parameter. I did this with iKeyEx & and 5-row-qwerty keyboard...and once I knew there wasn't anything overwritten, I installed the .deb files.
Anyway, my $0.02 worth, and sorry to read about your problem.
It amazes me that we can't completely and cleanly remove packages we install. Is there some type of "cleaner" out there?
Believe it or not, Cydia can completely uninstall itself. Just go into Cydia>Manage>Packages. Select Cydia Installer>Modify>Remove.
The thing is, though, I don't think your problem is with Cydia. It's with apt (the packaging tool behind the scenes).
apt-get --purge remove <package>
apt-get clean
Has anyone tried running
Code:apt-get --purge remove <package> apt-get clean
as root, either over SSH in mobile-terminal? Presumably that's what Cydia would do, anyway...
I tried in MobileTerminal but it said that command (apt-get?) didn't exist. I did find on the internet that this command can be downloaded and SSH'd into the correct dir. I did not try it from WinSCP.
apt-get remove --purge com.ashman.weathericon
apt-get clean
Hmm. I just ran the following commands, which seemed to work fine. Seems to have removed WeatherIcon with no problems.
Code:apt-get remove --purge com.ashman.weathericon apt-get clean
Maybe I didn't do something right when I did it. I definitely believe you were able to do it.
This is my problem, when I go into Cydia>Manage>Packages, there is absolutely nothing listed.
Thanks for trying to help though...
Update:
Just before starting to do another restore, I thought I had nothing to loose by trying some variations of what Applejuiced had suggested.
Here's a few other things to tryout.
1. Connect & ssh to your iPhone and iPod Touch or use ifile.
2. Now go to /private/var/lib/apt/lists
3. Delete all the files in /root/private/var/lib/apt/lists/ except for the partial subfolder.
4. Exit and reopen cydia. It will take a little longer to download new files.
I decided after this didn't work I would delete one source and leave everything else in tact. I FOUND IT!!! ModMyi was the culprit, not the ones I added! I think I mentioned things were kind of screwy after I noticed ModMyi was updating one time but it was one of those "can't see the forest for the trees" kind of thing. I was sure it was something I added and not a stock repo! Funny thing is, when I went back in and looked at the list I changed, ModMyi is back in there.
What I'm doing now, is re-installing packages that were installed (even though they work fine) because Cydia didn't see them installed. So far so good.
I'll stop back when I get done and give another update.
Thanks again to all those who helped! Especially you Applejuiced, for sticking with me and not giving up!