Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Remove Cydia Sources through SSHis a discussion within the
File Modsforums, a part of the
YOU MUST HAVE OPENSSH INSTALLED, AND YOU MUST KNOW HOW TO ACCESS YOUR IPHONE OR IPODS DATABASE THROUGH AN SFTP CLIENT. If you added a source that causes Cydia to...
02-08-2009, 03:34 PM #1
Remove Cydia Sources through SSH
- Join Date
- Dec 2008
- Livingston, NJ
- Thanked 35 Times in 1 Post
YOU MUST HAVE OPENSSH INSTALLED, AND YOU MUST KNOW HOW TO ACCESS YOUR IPHONE OR IPODS DATABASE THROUGH AN SFTP CLIENT.
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/iPod, hopefully you know how to do that.
2. Go to the root of your iPhone/iPod [/].
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.
Mac OS X 10.5.7
2.2 GHz Intel Core 2 Duo
1GB 667 MHz DDR2 SDRAM
2.2.1 Jailbreak w/QuickPwn
The Following 35 Users Say Thank You to XanderEdwards For This Useful Post:
Amyindemand (01-17-2011), BazookaAce (03-26-2009), benhedgehog (07-05-2010), brennnaaannn (09-14-2010), c2izzy (04-01-2011), cliffeman (08-03-2010), darylzero (09-03-2009), Dchef (11-26-2010), dieselboy27 (02-17-2009), Dudepop34 (09-27-2009), Eagleye (10-13-2010), floydbass (11-22-2010), gbertoli3 (02-25-2010), geoffe (11-16-2009), gergoke (10-13-2010), GH2 (04-13-2010), hozay09 (08-11-2010), IiTz ShAnE (10-04-2011), jepp376 (11-03-2010), JPili (12-31-2011), jsnone1 (08-19-2010), lilskaterpunk (10-20-2009), Lindararith (07-17-2010), Maxx Team (09-18-2010), metaljay (07-05-2009), nugget28 (05-06-2010), Shaker Baig (01-20-2010), soto806 (08-25-2010), talljg (10-24-2009), tellytel (04-30-2010), ToonRN (08-10-2010), UmarAllAroundYou (08-14-2010), unsleepable (01-23-2010), xSURPx (12-24-2009), Za-Gor (06-07-2010)
07-05-2009, 09:03 AM #2
ive done this, but everytime i add another source, it pops up about the source i entered incorrectly
Like A Boss
09-03-2009, 03:01 AM #3
apologies - but i am super new - how do you SSH?
i have a 3gs running 3.0.1 on windows
09-26-2009, 03:14 PM #4
Happens to me too - did you find a solution?
10-20-2009, 07:04 PM #5
I looked into doing this, but the directory mentioned didn't have that file. Instead, it had a bunch of .list files... presumably one for each source. Tried deleting the source .list file that was slowing down my Cydia (MacCiti), but no luck (permissions).
Searched some more and found that you just go into the search section and find the original package (source) by searching for it... it should have a green check beside it and you just select it and remove it. Voila'... very simple.
10-20-2009, 09:04 PM #6
Thanks for this info, help me out.
10-21-2009, 08:02 PM #7lol umm
i just went to (sections)scroll down to (repositorys) and found macciti and removed it..
im refreshing mi list now ill tell u if it worked or not lets hope its does..
ohh yer im on ipod touch 2g 8 gig (3.0)
u should allso remove free coder if that pops up as wel so far its workin for me
all u gotta do is when it erros just look at the names then go (sections)-(repositorys)-then find what is causeing cydia to error and remove them HOPE IT WRKS FOR U AND KEEP ON HACKING
ITOUCHHACKER3 out latez
Last edited by itouchhacker3; 10-21-2009 at 08:10 PM. Reason: Automerged Doublepost
The Following User Says Thank You to itouchhacker3 For This Useful Post:
10-26-2009, 02:20 PM #8
- Join Date
- Oct 2009
- Thanked 5 Times in 1 Post
11-16-2009, 04:30 PM #9
A million thanks
12-24-2009, 02:07 AM #10
You know what .. Thanks a ******* ******* Lot ..A ******* big one .. Solved
12-24-2009, 09:20 AM #11
12-24-2009, 11:20 PM #12
Not solved .. It didn't oocured for like 20 mins then it has started again. What to do?
02-03-2010, 02:23 PM #13
i'm getting an error evrytime i go into Cyida now.. it won;t update the packages and throws a wobbly everytime..
the error i get is:
Error: Refreshing Data
the method driver
/usr/lib/apt/methods/Http could not
the method driver
/usr/lib/apt/methods/Http could not
and then times out.. the last update i had was on the 18th of jan..
anybody else have this problem or know how to fix this..
02-04-2010, 06:54 PM #14
im not sure where to post and i didnt want to make another thread, but a problem i am having (as well as the one mentioned by everyone else), is that whenever i got to install anything from cydia it automatically adds ********** to the list of things being downloaded. i already have ********** so this causes my ipod to loose its mind trying to overwirte **********. in short its getting really irritating and i have tried everything to resolve it myself
02-16-2010, 07:35 PM #15
Thanks a Million!!! I was getting so ticked off!!!
05-12-2010, 02:16 AM #16
It works for me!! Thanks for this post!
06-29-2010, 08:06 AM #17
Just to add to this topic, while the above method does in fact work, it will not stop the source being re-added the next time you add a source. To completely remove said repo you need to do the following (this guide was not originally written by me):
Step 1. Open your SSH Client. (WinSCP for PC, Cyberduck for Mac)
-1a. Enter your I.P address in the 'hosts' box. Your I.P address can be found by Opening SBSettings.
-1b. Enter your Username and Password. The default username and password is : 'root' and 'alpine' (Changing root password is HIGHLY recommended.)
Step 2. You are now inside the iPhone and can see all of the directories. Navigate to '/private/etc/apt/sources.list.d'
-2a. Open it, and Delete all files that come up as a error on Cydia.
-2b. Open Cydia.list for editing You will see lines that look like : deb http://i.danstaface.net/deb/ for example.
-2c. Remove the line that has the offending repo URL.
Step 3. Navigate to : /private/var/lib/apt/list and Delete all files that contain the corrupted repo in the name.
Step 4. Navigate to : /private/var/lib/apt/list/partial and Delete all files that contain the corrupted repo in the name.
Step 5. Navigate to : /private/var/lib/cydia and Open the metadata.plist for editing using a .plist editing program
-5a. Search for the corrupted repo, and Delete all instances of it. It may appear More than once in the metadata.plist file.
-5b. Save the file.
Step 1. Navigate to '/private/etc/apt/sources.list.d'
-1a. Open it, and delete all files that come up as a error on Cydia.
-1b. Open Cydia.list for editing You will see lines that look like : deb http:/************* for example.
-1c. Remove the line that has the offending repo URL.
Step 2. Navigate to : /private/var/lib/apt/list and Delete all files that contain the corrupted repo in the name.
Step 3. Navigate to : /private/var/lib/apt/list/partial and Delete all files that contain the corrupted repo in the name.
Step 4. Navigate to : /private/var/lib/cydia and Open the metadata.plist
-4a. Search for the corrupted repo, and Delete all instances of it. It may appear More than once in the metadata.plist file.
-4b. Save the file.
Open up Cydia and see whether the problem still persists. If everything was done correctly, the corrupted repo should be gone.
08-08-2010, 03:23 PM #18
Awesome. This helped a lot! Thanks!
08-08-2010, 10:33 PM #19
Why doesn't anyone just file it lol no ssh required
08-09-2010, 01:24 AM #20
Just download cyfix foget all this ssh stuff...... Dont know where to get it just google it