-
Apt-get stalls on cable cable connection
I'm new to Knoppix and Debian. Do you have any idea why apt-get stalls randomly, after accessing a certain amount of mirrors when doing "apt-get update"? The only way out is to Ctrl-C and then repeat, but it happens again, so "apt-get update" is practically unusable for me.
I did a thorough web search on combinations of apt-get, TCP, stall, stalls, stalling, etc., but nothing really came out, except that certain cable internet providers seem to have "broken software".
My IP is received via DHCP.
The interesting thing is that my internet access using other applications under Knoppix has no problems.
Aso, apt-get install [someapp] works without problems. Probably the stalling problems stem from the fact that doing "apt-get update" involves making too many outgoing connections in a certain way or in a short time. Perhaps someone would have a clue? What configuration options could potentially influence this positively?
-
Senior Member
registered user
When you do the update is it the same source where you are getting the the programs from that stall? You can always change the sources you get the programs from in the /etc/apt/sources.list to a mirror closer to your actual location and see if that helps. Unofficial list of apt sources.
-
No, the source is "random". Yes, I've tried changing /etc/apt/sources.list, even used apt-spy to find the supposedly fastest and more reliable mirrors, but nothing really changes.
-
Senior Member
registered user
That's really strange it sounds like you have one sucky ISP. I've had a couple of problems with broken mirrors and slow sites but apt works fine with both static and dhcp with my ISP. This probably is not the way you want to do it but you can always download the packages individually and use dpkg to install but I would imagine you want apt to work properly. Have you contacted your ISP to see if they somehow limit the connections that can be made from your computer?
-
Thanks. No, I haven't contacted them yet, but I guess it would be in order. And manually downloading packages would require too much hassle sometimes (
But the strange problem is, sometimes apt-get runs for a long time before it stalls, say 20 mins. Sometimes -- and still contacting the same amount of servers -- it stalls with 1 minute. There is no apparent cause or time of day when it works or not.
I'll see what I can do, at least now I am more sure there isn't anything absolutely obvious that could help.
Best regards,
Vesselin.
-
Senior Member
registered user
Have you tried commenting out all but one server in your sources list and going thru them one by one to see if there is maybe a certain server that your machine/isp doesn't like? Have you installed Linneighborhood or are you using Samba? You have not adjusted the MTU recently have you (standard is usually 1500). It sounds like perhaps you're dropping packets. (just a guess).
-
I had the same apt-get stalling out problem
I fixed the problem by exchanging ftp.de.debian.org in the etc/apt/sources.list file with the following:
ftp2.de.debian.org
The reason for the stall was that ftp.de.debian.org was not a functioning server (at least when I attempted to access it from my computer!)
Similar Threads
-
By HoBiT in forum Networking
Replies: 1
Last Post: 05-11-2005, 09:13 PM
-
By wishbone in forum Networking
Replies: 1
Last Post: 05-12-2003, 08:29 PM
-
By sucux in forum General Support
Replies: 5
Last Post: 04-20-2003, 04:50 PM
-
By strogon42 in forum Hardware & Booting
Replies: 3
Last Post: 01-31-2003, 05:58 PM
-
By Dagger in forum General Support
Replies: 2
Last Post: 01-03-2003, 03:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$89.99
WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN
$109.99
Dell EMC - Intel DC P4510 SSDPE2KX010T8T 1TB U.2 PCIe NVMe 3.1 SSD 008MW
$98.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$27.25
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Apple 1TB Solid State Drive for Apple MacBook Pro
$80.00
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39