-
02-25-2010, 11:58 PM #1What's Jailbreak?
- Join Date
- Feb 2010
- Location
- Puyallup,WA
- Posts
- 3
- Thanks
- 0
- Thanked 6 Times in 1 Post
Error Refreshing Data GPG error, PLEASE HELP
I am getting this Error everytime I open Cydia now.
Error: Refreshing Data
GPG error:
h t t p : / / a p t . g u a r d i a n s o f c h a o s . c o m
Release: The following signatures were invalid: NODATA 1 NODATA 2
Failed to fetch
h t t p : / / a p t . g u a r d i a n s o f c h a o s . c o m
Sub-process bzip2 returned an error code (2)
Some index files failed to download, they have been ignored, or old ones used instead.
What do I do?
I tried adding the source (h t t p : / / a p t . g u a r d i a n s o f c h a o s . c o m ) again, but.... I would then get this error:
h t t p : / / a p t . g u a r d i a n s o f c h a o s . c o m
sub-process bzip2 returned an error code (2)
how can I eliminate the GPG error, the source doesn't appear in my source list either.
Thanks in advance
**I added spaces between the web address to allow everyone to see the source**Last edited by cire253; 02-26-2010 at 12:11 AM.
-
02-27-2010, 03:45 PM #2What's Jailbreak?
- Join Date
- Feb 2010
- Location
- Puyallup,WA
- Posts
- 3
- Thanks
- 0
- Thanked 6 Times in 1 Post
any help would be appreciated
-
02-27-2010, 05:42 PM #3
hey CirE253
i have the same problem. by mistake i added "repo.*****************" instead of "*****************.repo/" which is now making my cydia pop up those same annoying error / failed to fEtch messages. its not in my sources and i cannot find it in ssh either... hopfully someone will help us out with thid
-
02-27-2010, 06:59 PM #4What's Jailbreak?
- Join Date
- Feb 2010
- Location
- Puyallup,WA
- Posts
- 3
- Thanks
- 0
- Thanked 6 Times in 1 Post
I fixed the issue heres what I did:
Use CyberDuck or whatever SFTP and navigate to
/private/var/lib/cydia
and download metadata.plist
and back it up then edit it,
you can dl PlistEditPro from apple
and do a search and find the bad url then
use it to delete them from the
metadata.plist file. Now upload that back to
/private/var/lib/cydia
and overwrite the old one.
do the same with the following
SSH into your device.
Navigate to the /etc/apt/ folder.
Backup the cydia.list OR sources.list.d file.
Edit the cydia.list OR sources.list.d file with a text editor and remove the entry related to the problematic source.
Part B:
Go to /private/var/lib/apt/list
and
/private/var/lib/apt/list/partial
and look for and delete any files with the bad url.
That should do it.....Reboot see if that fixes the prob
It worked for me, just had one bad source it was guardiansofchaos, dont add that one lol
-
-
02-27-2010, 07:19 PM #5
hey!!!!!! it worked!!!!! i just did it...same here, only had 1 bad source too... Great job dude, you rock
-
02-28-2010, 09:26 AM #6
-
02-28-2010, 12:23 PM #7
I follow the tutorial to fix this situation
I mod de cydia.list metadata.plist and partial folder
and now I get this message
"Erroratabase
Type_ deb is not known on line 1 in source list /etc/apt/sources.list.d/cydia.list
-
05-05-2010, 03:46 AM #8
Thanks
Had exactly this issue and followed your instructions which have rescued me.
Really impressed with the knowledge of many in this site.
Thanks again for this.
-
05-18-2010, 12:48 AM #9
Cydia plist file
My metadata.plist file in cydia has a bunch of odd stuff in it not the urls of anything why would this be? oh and im use Ifunbox to see the file and then useing a text editor to view it I am not sure what you mean by erase the bad urls as I don't see any at all... could be the problem with cydia not finding any of the urls in my list. Was working now not lame....
any help would be nice...Last edited by anthony0perez; 05-18-2010 at 12:50 AM. Reason: adding more
-
07-04-2010, 12:49 AM #10
Thanks! Took a few tries to get the metadata.plist file edited correctly...good thing I backed it up. For all you reading this and wanting to try, make sure you backup your files before editing and saving. It is extremely important!!

:::anthony0perez:::
You need to download a .plist editor. Here is one for Windows:
Thank you for downloading Plist Editor from Download.com
Install, then open the .plist file. It is actually readable then. Use the "Find" option under the Edit menu to find the bad URL, then delete the whole chunk dealing with it.
Tip: When you find the bad URL in the .plist file, look at the bad URL as a chunck, not just an individual line.Last edited by thunderbird985; 07-04-2010 at 05:31 PM. Reason: Automerged Doublepost
-
The Following User Says Thank You to thunderbird985 For This Useful Post:
t_allen_t (09-01-2010)
-
09-01-2010, 09:45 AM #11
cire253 & thunderbird985
THANKS A LOT THAT WAS REALLY ANNOYING, BUT SO WAS THE ERROR MESSAGE!!!
I STILL CAN'T BELIEVE I DID IT !!!!!!!!
PEACE & LOVE
I USED TEXTPAD5 TO EDIT cydia.list FILE IN THE sources.list.d FOLDER...IT WAS FREE!!!
I feel smart !!!
Last edited by t_allen_t; 09-01-2010 at 09:45 AM. Reason: Automerged Doublepost
-
09-08-2010, 05:02 AM #12
Just what i was after as i've been getting GPG errors, will give this a go.
-
10-03-2010, 10:54 AM #13
Cyfix is also another solution.
-
01-20-2011, 08:13 PM #14
-
01-01-2012, 05:15 PM #15
I followed these instructions exactly and now Cydia will not open. It simply goes to the home page and closes immediately. I had three bad sources that I was getting GPS and packages.bz2 errors from so I followed the instructions to eliminate all three sources. The sources were cydia.install0us, cydia.iloveidevice, and cydia.xselize. Any ideas are appreciated, I want to avoid having to restore.



LinkBack URL
About LinkBacks
Reply With Quote
