+ Reply
Results 1 to 12 of 12
  1. #1
    Green Apple
    Join Date
    Oct 2009
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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?

  2. #2
    Super Moderator iYeow's Avatar
    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

  3. #3
    Super Duper Moderator blkcadi's Avatar
    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, lolz
    Last edited by blkcadi; 12-10-2010 at 07:42 PM. Reason: Automerged Doublepost

  4. #4
    Super Moderator iYeow's Avatar
    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.

  5. #5
    Super Duper Moderator blkcadi's Avatar
    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

  6. #6
    iPhone? More like MyPhone Xenthis's Avatar
    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...

  7. #7
    My iPhone is a Part of Me area51crypto's Avatar
    Join Date
    Sep 2009
    Location
    Heartland of America
    Posts
    956
    Thanks
    464
    Thanked 68 Times in 66 Posts

    Quote Originally Posted by iYeow View Post
    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
    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.

  8. #8
    Super Moderator iYeow's Avatar
    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

  9. The Following User Says Thank You to iYeow For This Useful Post:

    area51crypto (01-28-2011)

  10. #9
    iPhone? More like MyPhone Xenthis's Avatar
    Join Date
    Jun 2010
    Location
    Earth, Milky Way Galaxy - Alpha Quadrant
    Posts
    194
    Thanks
    27
    Thanked 5 Times in 4 Posts

    Default iFunBox

    Quote Originally Posted by iYeow View Post
    Winscp will do the job as Diskaid and is free
    iFunBox will decode all plst files for you!
    And it is extremely fast and also free.

    Windows 7 x64
    Intel i7 2600k @ 4.5ghz
    EVGA Nvidia GTX 570 Classified SLI
    1200watt Antec PSU
    Haf X
    EVGA P67 FTW
    Corsair H80
    Corsair Vengeance 16gig 8-8-8-24
    Sony Optiarc 24x

  11. The Following User Says Thank You to Xenthis For This Useful Post:

    area51crypto (01-28-2011)

  12. #10
    Go Wings Zokunei's Avatar
    Join Date
    Jun 2010
    Location
    Michigan
    Posts
    5,654
    Thanks
    23
    Thanked 394 Times in 317 Posts

    Quote Originally Posted by Xenthis View Post
    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...
    It's called Cyfix
    Let's go Red Wings!

  13. #11
    My iPhone is a Part of Me area51crypto's Avatar
    Join Date
    Sep 2009
    Location
    Heartland of America
    Posts
    956
    Thanks
    464
    Thanked 68 Times in 66 Posts

    Quote Originally Posted by Zokunei View Post
    It's called Cyfix
    Never could get Cyfix to work.

    Type in bad http:// and Cyfix replies with Running, but does nothing.

  14. #12
    Go Wings Zokunei's Avatar
    Join Date
    Jun 2010
    Location
    Michigan
    Posts
    5,654
    Thanks
    23
    Thanked 394 Times in 317 Posts

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts