Hi there,
I have had a strange problem for some time now. I have installed Debian many times, it is absolutely my favourite. I used to install from the netinstall image, but since sometimes like half a year ago, in the end of the installation it could not find any file mirrors, and the installation could not be completed.
At the time I had a lot of problems with my LAN, and that clouded the problem for some time. Now I found the error, a defective patch cable, but even now, a installation from the netinstall image does not work. No matter what I do, it times out on adding the file mirrors.
I then downloaded a live CD with a desktop, there I selected to skip the file mirrors, and added them myself in sources.list from the wiki. That works, but now I have another problem: Every time I use wget to make a connection, it takes a looooong time before the connection is made. As soon as that happens, the connection goes at normal speed.
I am on a fast 250/250 fibre connection with a very low latency, so that should no be the problem.
My sources.list looks like this :
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
As you can see, I'm running Stretch, but I have had the very same problem with Jessie and Buster.
Cheers
Niels
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Problems installing Debian, and using wget
Re: Problems installing Debian, and using wget
Could be related to IPV6
try running apt-get with the following:
and see how that works
try running apt-get with the following:
Code: Select all
-o Acquire::ForceIPv4=true
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Problems installing Debian, and using wget
Sounds like a DNS resolution issue or defective IPv6 connectivity (i.e. configuration like if there was IPv6 connectivity but there is none).Nielsterp wrote:Every time I use wget to make a connection, it takes a looooong time before the connection is made
Re: Problems installing Debian, and using wget
This worked very well! So I tried to add --inet4-only to my wget - and ZAP! the file was there. That took like 5 or even 10 minutes before!Chrisdb wrote:Could be related to IPV6
try running apt-get with the following:and see how that worksCode: Select all
-o Acquire::ForceIPv4=true
This part solves my problems completely - thank you very much !
Is there any way to apply the same solution to a netinstall installation of Debian?
Cheers
Niels
Re: Problems installing Debian, and using wget
You can try adding the following as kernel parameter during boot:
Code: Select all
ipv6.disable=1
-
- Posts: 1405
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Problems installing Debian, and using wget
Or in /etc/sysctl.conf insert
and
Code: Select all
net.ipv6.conf.all.disable_ipv6 = 1
Code: Select all
sysctl -p
Last edited by peter_irich on 2020-02-12 18:02, edited 1 time in total.
Re: Problems installing Debian, and using wget
And this also work very fine, now I don't even have to use the -o Acquire::ForceIPv4=true on my WGETs - it just works in a flash. Perfect - thank you very much for your help !Chrisdb wrote:You can try adding the following as kernel parameter during boot:Code: Select all
ipv6.disable=1
Now I will try to build a netinstall image with this kernel parameter added - I have a good feeling about this now !
BUT FIRST: A full backup of my - now allmost perfect - server.