Hi,
I can`t install packages using apt-get, it stuck at waiting for headers, then I get failed to fetch... . I tried another internet connection but problem still exists, I can open webpages with no problem, what is the problem? can I solve it by changing download server? How?
I`m using rasbian on RPi2
Thanks
- DougieLawson
- Posts: 40833
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: change package managers download server
You can hard code a mirror name in /etc/apt/sources.list
The Raspbian mirrors are listed here: http://raspbian.org/RaspbianMirrors
The Raspbian mirrors are listed here: http://raspbian.org/RaspbianMirrors
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: change package managers download server
I get this error:DougieLawson wrote:You can hard code a mirror name in /etc/apt/sources.list
The Raspbian mirrors are listed here: http://raspbian.org/RaspbianMirrors
W: GPG error: http://mirror.ox.ac.uk wheezy Release: The following signatures were invalid:...
- DougieLawson
- Posts: 40833
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: change package managers download server
Try http://mirror.mythic-beasts.com/raspbian/raspbian/ that one appears to be alive.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: change package managers download server
Thanks, download speed is improved, but when I rum apt-get update, Still get the error aboveDougieLawson wrote:Try http://mirror.mythic-beasts.com/raspbian/raspbian/ that one appears to be alive.
- DougieLawson
- Posts: 40833
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: change package managers download server
Can you ping that address? Can you wget that URL?
ping -c3 mirror.mythic-beasts.com
wget http://mirror.mythic-beasts.com/raspbian/raspbian/
ping -c3 mirror.mythic-beasts.com
wget http://mirror.mythic-beasts.com/raspbian/raspbian/
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: change package managers download server
yes, they both worksDougieLawson wrote:Can you ping that address? Can you wget that URL?
ping -c3 mirror.mythic-beasts.com
wget http://mirror.mythic-beasts.com/raspbian/raspbian/
- DougieLawson
- Posts: 40833
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: change package managers download server
Try editing sudo nano /etc/apt/sources.listThen run sudo apt-get update && sudo apt-get upgrade
Code: Select all
deb http://mirror.mythic-beasts.com/raspbian/raspbian/ wheezy main contrib non-free rpi
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: change package managers download server
It is working now, thanksDougieLawson wrote:Try editing sudo nano /etc/apt/sources.listThen run sudo apt-get update && sudo apt-get upgradeCode: Select all
deb http://mirror.mythic-beasts.com/raspbian/raspbian/ wheezy main contrib non-free rpi
- DougieLawson
- Posts: 40833
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: change package managers download server
Assuming the failure was a transient error you should change it back now.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.