1. putosusio's Avatar
    While researching a fix for my mms issue I attempted to install the pushfix.info package, but got a 404 error due to some file failing to download. Now every time I open Cydia I get ...

    Error:Refreshing Data

    Failed to fetch
    http://pushfix.info/./Packages.gz

    ... every time I open Cydia now. It's very annoying. Is there some file that may have been saved on my IPhone that tells Cydia to look for the package every time it opens that I can delete to get the message to stop coming up?
    2011-01-12 05:55 AM
  2. Mes's Avatar
    Within Cydia, delete the pushfix.info repository you added before.
    2011-01-12 06:06 AM
  3. putosusio's Avatar
    I can't find any pushfix.info in cydia under manage's Package or Source buttons. Do I have to SSH into the iPhone to find the files?
    2011-01-12 03:50 PM
  4. Mes's Avatar
    Cydia/Manage/Sources/Pushfix.Info....

    It's working today!
    2011-01-12 04:58 PM
  5. putosusio's Avatar
    Cydia/Manage/Sources/Pushfix.Info....
    under cydia/manage/sources/ i have:

    leimobile
    bigboss
    modmyi.com
    repo666.ultrasn0w.com
    telesphoreo tangelo
    zodttd & macciti


    .... no pushfix.info.
    2011-01-12 11:06 PM
  6. Mes's Avatar
    ...
    Error:Refreshing Data

    Failed to fetch
    http://pushfix.info/./Packages.gz
    ...
    If you don't have the source installed, I have only one idea why you're getting this error. Looks like the source was installed at one time, something bad happened and now Cydia is corrupt. Some Cydia issues can be fixed manually, but they are tedious and require a good knowledge of *nix utilities -- not for the novice user.
    2011-01-12 11:13 PM
  7. putosusio's Avatar
    If you don't have the source installed, I have only one idea why you're getting this error. Looks like the source was installed at one time, something bad happened and now Cydia is corrupt. Some Cydia issues can be fixed manually, but they are tedious and require a good knowledge of *nix utilities -- not for the novice user.
    ... I knew it was something like that. Not to worry, I'm not a novice and I'm more than comfortable using *nix utilities. I have ready access to the phones filesystem.

    There has to be some sort of log file that's created when a package doesn't load properly because the error screen that comes up every time I open Cydia has the package listed multiple times.
    2011-01-13 01:41 AM
  8. Mes's Avatar
    Well then,

    1. For every file within /private/etc/apt .... and /private/var/lib edit/remove files and/or program/package info lists/data within files all occurrences of pushfix.info.

    Here's one way to get started:
    cd /private/etc/apt
    grep -R pushfix * .... or ... find . -type f -print | grep pushfix {} \;
    Do the same for /private/var/lib

    Be safe: Modify backup copies just in case

    Usually, /private/etc/apt/sources.list.d/cydia.list, /private/var/lib/apt/lists, /private/var/lib/dpkg/available, and /private/var/lib/cydia/metadata.plist are the culprits.
    Last edited by Mes; 2011-01-13 at 01:58 AM. Reason: Automerged Doublepost
    2011-01-13 01:58 AM
  9. putosusio's Avatar
    /private/etc/apt/sources.list.d/cydia.list

    ... there were three entries in the file, I removed them

    /private/var/lib/apt/lists

    ... I couldn't find anything in there with pushfix in the name

    /private/var/lib/dpkg/available

    ... found same three entries as /private/etc/apt/sources.list.d:

    deb Cydia.pushfix.info ./
    deb Pushfix.info ./
    deb http://beta.leimobile.com/repo/ ./

    ... deleted the above entries and saved file

    /private/var/lib/cydia/metadata.plist

    ... opened the file on my macbook with text editor, has a lot of weird characters. Did use spotlight to look for anything named pushfix in the directory and no results were returned.
    2011-01-13 04:36 PM
  10. Mes's Avatar
    ^metadata.plist is a 'plist' file (xxx.plist). From your post #7, I assumed you were familiar with plist formats. Metadata is in binary (to save space) and the entries contain the full information about each available package separated by a blank line. When you delete something from it, you must delete the whole reference, else the file is corrupted. Also, I believe if you delete it, the new Cydia will rebuild it

    As I said before, be safe ... work on copies and keep the originals safe.
    2011-01-13 06:28 PM
  11. putosusio's Avatar
    ^metadata.plist is a 'plist' file (xxx.plist). From your post #7, I assumed you were familiar with plist formats.
    ... I have worked with plist files. I usually open them in my mac's text editor and make whatever modifications necessary. This one looked a bit weird, however, so I left it alone. Apparently, removing the entries in either one or both of files did the trick. I don't get the pushfix error screen popping up every time I open Cydia anymore.

    Problem Solved!

    Thanks.
    2011-01-13 07:04 PM
  12. Mes's Avatar
    ^Glad to hear it
    2011-01-13 07:06 PM
LINK TO POST COPIED TO CLIPBOARD