Pete_Stevens
Posts: 20
Joined: Thu Jun 14, 2012 9:26 pm

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Wed Oct 25, 2017 10:22 am

So there's a mesh of 8 servers that front the archive. Can you ping each of the following,

lb.raspberrypi.org. 245 IN A 46.235.227.11
lb.raspberrypi.org. 245 IN A 93.93.128.133
lb.raspberrypi.org. 245 IN A 93.93.130.39
lb.raspberrypi.org. 245 IN A 93.93.130.104
lb.raspberrypi.org. 245 IN A 93.93.128.211
lb.raspberrypi.org. 245 IN A 93.93.135.188
lb.raspberrypi.org. 245 IN A 93.93.130.214
lb.raspberrypi.org. 245 IN A 93.93.128.230

and let me know if any don't work.

Can you see the indexes at

http://archive.raspberrypi.org/debian/
https://archive.raspberrypi.org/debian/
http://93.93.128.133:81/debian/

Otherwise you should be able to download packages directly from the back-end servers on port 81 which may skip any ISP level filtering.

Setting https in your sources.list file might help.

User avatar
B.Goode
Posts: 8987
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Wed Oct 25, 2017 10:47 am

To put the previous reply in context, since it may not be obvious: the writer, @Pete_Stevens is from Mythic Beasts the company that hosts all the Raspberry Pi Foundation websites and repositories.

I think that makes these forums pretty impressive - less than 5 hours from first mention of a potential problem to having the direct attention of a technical representative of the hosting provider.

thunderknight99
Posts: 24
Joined: Sun Oct 22, 2017 9:51 am

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Wed Oct 25, 2017 10:54 am

Pete_Stevens wrote:
Wed Oct 25, 2017 10:22 am
So there's a mesh of 8 servers that front the archive. Can you ping each of the following,

lb.raspberrypi.org. 245 IN A 46.235.227.11
lb.raspberrypi.org. 245 IN A 93.93.128.133
lb.raspberrypi.org. 245 IN A 93.93.130.39
lb.raspberrypi.org. 245 IN A 93.93.130.104
lb.raspberrypi.org. 245 IN A 93.93.128.211
lb.raspberrypi.org. 245 IN A 93.93.135.188
lb.raspberrypi.org. 245 IN A 93.93.130.214
lb.raspberrypi.org. 245 IN A 93.93.128.230

and let me know if any don't work.

Can you see the indexes at

http://archive.raspberrypi.org/debian/
https://archive.raspberrypi.org/debian/
http://93.93.128.133:81/debian/

Otherwise you should be able to download packages directly from the back-end servers on port 81 which may skip any ISP level filtering.

Setting https in your sources.list file might help.
Greatly appreciate the response! And yes, I can see the indexes from browser. I will revert back with the ping and setting https. BTW how do I switch to port 81?

thunderknight99
Posts: 24
Joined: Sun Oct 22, 2017 9:51 am

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Wed Oct 25, 2017 10:54 am

B.Goode wrote:
Wed Oct 25, 2017 10:47 am
To put the previous reply in context, since it may not be obvious: the writer, @Pete_Stevens is from Mythic Beasts the company that hosts all the Raspberry Pi Foundation websites and repositories.

I think that makes these forums pretty impressive - less than 5 hours from first mention of a potential problem to having the direct attention of a technical representative of the hosting provider.
It is very impressive. :)

thunderknight99
Posts: 24
Joined: Sun Oct 22, 2017 9:51 am

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Thu Oct 26, 2017 4:55 am

Pete_Stevens wrote:
Wed Oct 25, 2017 10:22 am
So there's a mesh of 8 servers that front the archive. Can you ping each of the following,

lb.raspberrypi.org. 245 IN A 46.235.227.11
lb.raspberrypi.org. 245 IN A 93.93.128.133
lb.raspberrypi.org. 245 IN A 93.93.130.39
lb.raspberrypi.org. 245 IN A 93.93.130.104
lb.raspberrypi.org. 245 IN A 93.93.128.211
lb.raspberrypi.org. 245 IN A 93.93.135.188
lb.raspberrypi.org. 245 IN A 93.93.130.214
lb.raspberrypi.org. 245 IN A 93.93.128.230

and let me know if any don't work.

Can you see the indexes at

http://archive.raspberrypi.org/debian/
https://archive.raspberrypi.org/debian/
http://93.93.128.133:81/debian/

Otherwise you should be able to download packages directly from the back-end servers on port 81 which may skip any ISP level filtering.

Setting https in your sources.list file might help.
So, I changed to a much slower, much unstable mobile data and though it got stuck now and then, the files were downloaded without issue! And the mobile data provider is the same as my broadband provider!

thunderknight99
Posts: 24
Joined: Sun Oct 22, 2017 9:51 am

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Thu Oct 26, 2017 7:27 am

So, things work when I am using mobile data - hotspot but not when I use my broadband. But, both are provided by the same ISP - BSNL. And since I don't have the luxury of high bandwidth, high volume mobile data, I would like to fix the problem with the broadband failing few connections! Any leads where I could get started? I use Google's DNS - 8.8.8.8

Or is there a workaround for this like using something like wget? And also I didn't quite get how to add HTTPS and change port as mentioned earlier by @Pete_Stevens.

thunderknight99
Posts: 24
Joined: Sun Oct 22, 2017 9:51 am

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Thu Oct 26, 2017 9:52 pm

Again no exact leads for a beginner unfortunately. And no one has been able to help me resolve the issue.
In case anyone else stumbles upon such an issue, I will post what I have got working!

After tons of trial and error, I think the best alternative is to use synaptic instead of apt.
I have now used synaptic for installing lots of packages and it has given no trouble while apt still continues to drop connections.

use command sudo apt-get install synaptic to download and install synaptic. If even that fails, temporarily use another internet connection (from different ISP maybe) and acquire synaptic. And then run synaptic via sudo synaptic. Use RealVNC interface if you are running headless. TightVNC gives some kind of Display Error.

BTW synaptic has much better package management GUI!

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Help: Best alternative to default Raspbian Stretch Repositories and how to change it

Fri Oct 27, 2017 5:08 pm

thunderknight99 wrote:
Wed Oct 25, 2017 10:54 am
B.Goode wrote:
Wed Oct 25, 2017 10:47 am
To put the previous reply in context, since it may not be obvious: the writer, @Pete_Stevens is from Mythic Beasts the company that hosts all the Raspberry Pi Foundation websites and repositories.

I think that makes these forums pretty impressive - less than 5 hours from first mention of a potential problem to having the direct attention of a technical representative of the hosting provider.
It is very impressive. :)
Equally impressive is when you send a tweet to @Mythic_Beasts and get an equally responsive result. They're highly recommended as a ISP/hosting provider.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Beginners”