HELP! error when adding source, /usr/lib/apt/methods/http could not be found

milan3

New Member
Aug 21, 2009
1
0
0
#1
hi, everytime time i try to add xxxxxxx source i get an error.

"Error
the method driver /usr/lib/apt/methods/http could not be found."

what can i do to fix this error? please help

milan3
 

Aone

New Member
Oct 15, 2009
3
0
0
#3
I'm having the same problem adding repositories in cydia after jailbreaking 3.1 on a 3gs. I havn't been able to find any fixes.
 

diverdown

Contributor
Silver
Sep 12, 2007
970
49
28
NYC
#4
I agree with Naps on the cracked apps....

but for problems loading repositories after jail breaking....did you reboot the phone after installing Cydia.....this worked for me...

~S
 

Aone

New Member
Oct 15, 2009
3
0
0
#5
well, originally I jailbroke on an older firmware when I first got the 3gs (3.0 i believe), so I was lumped in with the people who were waiting for the 3.1 jailbreak. I got mine working by downloading a custom 3.1 firmware and using it to restore via iTunes. See tutorial -http://www.iPhonedownloadblog.com/2009/10/03/jailbreak-iphone-3gs-3-1-windows-tutorial/#idc-ctools

So cydia was already on the iPhone after the restore. Therefor I havn't had to re-install it.

is there a way to re-install cydia or patch it somehow?
 

diverdown

Contributor
Silver
Sep 12, 2007
970
49
28
NYC
#6
well, originally I jailbroke on an older firmware when I first got the 3gs (3.0 i believe), so I was lumped in with the people who were waiting for the 3.1 jailbreak. I got mine working by downloading a custom 3.1 firmware and using it to restore via iTunes. See tutorial -http://www.iPhonedownloadblog.com/2009/10/03/jailbreak-iphone-3gs-3-1-windows-tutorial/#idc-ctools

So cydia was already on the iPhone after the restore. Therefor I havn't had to re-install it.

is there a way to re-install cydia or patch it somehow?
Could be that your custom IPSW was bad .... You could always download the pwanage tool from the dev-team and create your own custom IPSW and re-jailbreak....

~S
 
Oct 20, 2009
1
0
0
#7
PROBLEM SOLVED!


I had the same annoying issue for weeks, here's how I fixed it.

SSH to your iPhone, go into that directory location /usr/lib/apt/methods/

you'll probably see that 'http' is actually there. copy that file to your computer rename it 'HTTP' ALL CAPS copy it back to /usr/lib/apt/methods/ leaving the original in there also. Now make sure the permissions are set up right for 'HTTP'

That should do it!
 

Aone

New Member
Oct 15, 2009
3
0
0
#8
PROBLEM SOLVED!


I had the same annoying issue for weeks, here's how I fixed it.

SSH to your iPhone, go into that directory location /usr/lib/apt/methods/

you'll probably see that 'http' is actually there. copy that file to your computer rename it 'HTTP' ALL CAPS copy it back to /usr/lib/apt/methods/ leaving the original in there also. Now make sure the permissions are set up right for 'HTTP'

That should do it!
VIOLA!

Thanks, but what I had to do was, instead of renaming it with all CAPS, rename "http" to "Http". I also renamed "https" to "http" and it seemed to work. I'm changing http back to https though because I don't know how cydia uses the https driver. Thanks!

I'm guessing this issue is similar for most people, but if you aren't sure what you need to rename, check the error message. Note the caps in the path. ect /usr/lib/apt/methods/Http

Operating systems are case sensitive =D

also, simply having 2 copies of http and renaming one as Http does not work for me. I had to rename "https" to "http" again for it to work. Don't know why.