Deleting a repo source

Discussion in 'Jailbreaks and iOS Hacks' started by downingp, Feb 26, 2010.

  1. downingp macrumors 6502a

    Joined:
    Jun 26, 2006
    #1
    I wanted to add a repo source through cydia and entered in an incorrect address. Now whenever I start up cydia I get an error message saying it obviously can not find the path. I went in under sources to see if I could delete the errant source but I couldn't find it. Is there a way to delete the error message? I tried turning my phone off and back on but that didn't work

    thanks.
     
  2. thelatinist macrumors 603

    thelatinist

    Joined:
    Aug 15, 2009
    Location:
    Connecticut, USA
    #2
    You need to delete the line for that source in /etc/apt/sources.list.d/cydia.list.

    ETA: scirica makes a good point about checking /var/lib/apt/lists for entries. I don't know if such a list will be created if the repository can't be contacted, but it's worth checking.
     
  3. scirica macrumors 68020

    scirica

    Joined:
    May 13, 2008
    Location:
    Dallas, TX
    #3
    Do the following to at least get rid of the annoying error messages when you start up cydia, assuming you know how to use SSH or iFile to get into your phone:

    1. Go to /etc/apt/sources.list.d find the cydia list and edit to delete the incorrect repo entry.

    2. Go to /var/lib/apt/lists and delete any list with your incorrect repo entry.

    3. Reboot your phone and start up Cydia.

    The only shortcoming with this process is that if you ever add a new repo to your iphone it is likely that the old bad repo will show up again. Just repeat the process and you'll be fine. To date I haven't found a way to completely clear cydia of the bad repos.

    Good Luck
     
  4. downingp thread starter macrumors 6502a

    Joined:
    Jun 26, 2006
    #4
    Thanks alot. Just before you guys posted, I found a fix on the Internet similar to what you mentioned.
     
  5. scirica macrumors 68020

    scirica

    Joined:
    May 13, 2008
    Location:
    Dallas, TX

Share This Page