-
12-10-2010, 07:32 PM #1
How do I remove some invalid repos in Cydia?
In Cydia, I tried to install some repos which don't exist. Now I keep getting error messages that mention them. And they don't show up in the sources list.
How can I remove all traces of them?
-
12-10-2010, 07:41 PM #2Super Moderator
- Join Date
- Feb 2008
- Location
- Vancouver, Canada
- Posts
- 13,014
- Thanks
- 67
- Thanked 2,658 Times in 2,549 Posts
How to remove bad URL
Cydia repo errors, garanteed to fix and never come back, I find this easier.
SSH Method
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.
--------------------------------------------------------------------
iFile Method
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
-
12-10-2010, 07:42 PM #3Super Duper Moderator
- Join Date
- Aug 2008
- Location
- Valley of the Sun, Arizona
- Posts
- 23,538
- Thanks
- 2,822
- Thanked 7,443 Times in 4,768 Posts
There is only one way to get rid of them for ever, because even if you uninstall them they will return every time you add a new repo.
Download the meta plist editor here Plist Editor - Free software downloads and software reviews - CNET Download.com
SSH into your device, go to private/var/lib/cydia
Drag the metadata.plist to your desktop.
Open it with the file you downloaded,
edit out all bad repos, save and then drag back in. Re-spring and there gone forever.
Always make a backup just in case.
Haha, you beat me yeow, lolzLast edited by blkcadi; 12-10-2010 at 07:42 PM. Reason: Automerged Doublepost

-
12-10-2010, 07:44 PM #4Super Moderator
- Join Date
- Feb 2008
- Location
- Vancouver, Canada
- Posts
- 13,014
- Thanks
- 67
- Thanked 2,658 Times in 2,549 Posts
Haha, Cut and Paste ..LMAO
Last edited by iYeow; 12-10-2010 at 07:46 PM.

-
12-10-2010, 07:51 PM #5Super Duper Moderator
- Join Date
- Aug 2008
- Location
- Valley of the Sun, Arizona
- Posts
- 23,538
- Thanks
- 2,822
- Thanked 7,443 Times in 4,768 Posts
Your learning quick Edwin, nice job. lolz

-
12-29-2010, 10:18 PM #6iPhone? More like MyPhone
- Join Date
- Jun 2010
- Location
- Earth, Milky Way Galaxy - Alpha Quadrant
- Posts
- 194
- Thanks
- 27
- Thanked 5 Times in 4 Posts
Wow, I was just looking for this and I realized how many times this question has been answered. Someone needs to create a bad source remover...
-
01-27-2011, 08:52 PM #7My iPhone is a Part of Me
- Join Date
- Sep 2009
- Location
- Heartland of America
- Posts
- 956
- Thanks
- 464
- Thanked 68 Times in 66 Posts
Well I tried this and could not get it to work.
What I did do to resolve the problem was to purchase Diskaid, I think it was like $9.99 and well worth it. I also downloaded Notepad ++ which is free.
I used diskaid to get to the '/private/etc/apt/sources.list.d'
and copied cydia.list to my computer and used notepad ++ to open the file and deleted the bad repos then copied file from pc to iPhone and it stated that there was a file already with that name do I want to replace it and I chose yes.
Once that was done I rebooted the phone and all is well. Well for now we will see when I add a new repo.
-
01-28-2011, 08:45 AM #8Super Moderator
- Join Date
- Feb 2008
- Location
- Vancouver, Canada
- Posts
- 13,014
- Thanks
- 67
- Thanked 2,658 Times in 2,549 Posts
Winscp will do the job as Diskaid and is free

-
The Following User Says Thank You to iYeow For This Useful Post:
area51crypto (01-28-2011)
-
01-28-2011, 09:06 AM #9iPhone? More like MyPhone
- Join Date
- Jun 2010
- Location
- Earth, Milky Way Galaxy - Alpha Quadrant
- Posts
- 194
- Thanks
- 27
- Thanked 5 Times in 4 Posts
-
The Following User Says Thank You to Xenthis For This Useful Post:
area51crypto (01-28-2011)
-
02-17-2011, 06:19 PM #10
-
02-17-2011, 09:26 PM #11My iPhone is a Part of Me
- Join Date
- Sep 2009
- Location
- Heartland of America
- Posts
- 956
- Thanks
- 464
- Thanked 68 Times in 66 Posts
-
02-17-2011, 09:29 PM #12
Hm. It works for me on 4.1 and 4.2.1. Have you tried cyfix -l (L, not i)? I don't think you put in the http://, only stuff from the list that shows up after cyfix -l
Let's go Red Wings!



LinkBack URL
About LinkBacks
Reply With Quote

