PDA

View Full Version : error in cydia... will not refresh data



smokey_jnr
26th January, 2010, 01:28 PM
hi guys..

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
be found

the method driver
/usr/lib/apt/methods/Http could not
be found

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..

nish.patel
26th January, 2010, 02:00 PM
Hi are you using WIFI connection when running Cydia, because sometimes this can happen with 3G or Edge etc, try with WIFI and eventually the message will go away..

smokey_jnr
26th January, 2010, 02:21 PM
it doesn't matter what i use i always get this message..

pangster
7th February, 2011, 12:24 AM
it doesn't matter what i use i always get this message..

any luck with this???...

fordfan
7th February, 2011, 12:59 AM
on my side i had to copy some file over a good working phone to this one and it a pain

pangster
7th February, 2011, 01:08 AM
on my side i had to copy some file over a good working phone to this one and it a pain

ahh - I just wondered as I read this thread earlier and came across this:

To those who are having similar problems to this:

"GPG error: http//example.com/ Release: The following signatures were invalid: NODATA 1 NODATA 2"

"Failed to fetch IANA — Example domains (http://example.com/cydia/) ./ Packages.bz2 Sub-process/bin/bzip2 returned an error code(2)"


You will need:

* CyberDuck/WinSCP on a Mac/Windows (Google)
* OpenSSH on your iDevice (Cydia)
* SBSettings on your iDevice (Cydia)
* A wifi network. An ad-hoc LAN is enough
* [HowTo] SSH

If you've ever added a repo that you have no access to, or a repo that no longer works/exists, or perhaps entered a wrong url, you will have seen this error:
Sub-process bzip2 returned an error code (2)

Here's how to fix that once and for all. Since they don't show up in Cydia, you need to manually remove the sources.

Launch the SSH client on your computer and SSH into your iDevice's filesystem.

Step 1:

* Navigate to /private/etc/apt/sources.list.d and delete all files that contain the offending repo in the filename.
* Open cydia.list for editing.
* You will see lines that look like deb http://somerepo.url/ ./ Remove the line that has the offending repo url.
* Save the file.

Step 2:

* Navigate to /private/var/lib/apt/list and delete all files that contain the offending repo in the filename.

Step 3:

* Navigate to /private/var/lib/apt/list/partial and delete all files that contain the offending repo in the filename.

Step 4:

* Navigate to /private/var/lib/cydia and open the metadata.plist for editing.
* Ctrl+F (or similar) for your offending repo url and delete all instances of it (it may appear more than once in the file).
* Save the file.

Done.