Results 1 to 2 of 2

Thread: Apt timing out on update, all other network connections working normally

  1. #1
    Join Date
    Nov 2019
    Beans
    1

    Apt timing out on update, all other network connections working normally

    Fresh install of Ubuntu 18.04LTS, run in a VM on a Windows 7 Host. Network is through a proxy which has been set up through the UI, browser, ping, wget working normally.

    I've tried configuring the apt.conf file to use the proxy, makes no difference. Also, network does not seem able to handle IPv6 so I'm forcing apt to use IPv4

    When I run:

    Code:
    sudo apt -o Debug::Acquire::http=true -o Acquire::ForceIPv4=true update
    Err:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                                 
      Could not connect to us.archive.ubuntu.com:80 (91.189.91.23), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.14), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.26), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.24), connection timed out
    Err:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                        
      Unable to connect to us.archive.ubuntu.com:http:
    Err:3 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease                                      
      Unable to connect to us.archive.ubuntu.com:http:
    Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease                                         
      Could not connect to security.ubuntu.com:80 (91.189.88.173), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.24), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.174), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.31), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.26), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.14), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.149), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.162), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.23), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.24), connection timed out
    Reading package lists... Done                        
    Building dependency tree       
    Reading state information... Done
    All packages are up to date.
    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...onic/InRelease  Could not connect to us.archive.ubuntu.com:80 (91.189.91.23), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.14), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.26), connection timed out Could not connect to us.archive.ubuntu.com:80 (91.189.91.24), connection timed out
    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...ates/InRelease  Unable to connect to us.archive.ubuntu.com:http:
    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...orts/InRelease  Unable to connect to us.archive.ubuntu.com:http:
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...rity/InRelease  Could not connect to security.ubuntu.com:80 (91.189.88.173), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.24), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.174), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.31), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.26), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.14), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.149), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.162), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.23), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.24), connection timed out
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    I can wget this address:
    Code:
    wget 91.189.91.23:80
    --2019-11-22 11:34:41--  http://91.189.91.23/
    Resolving proxy.myproxy.net (proxy.myproxy.net)... myproxyIP
    Connecting to proxy.myproxy.net (proxy.myproxy.net)|myproxyIP|:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 11321 (11K) [text/html]
    Saving to: ‘index.html’
    
    index.html                                         100%[================================================================================================================>]  11.06K  --.-KB/s    in 0.001s  
    
    2019-11-22 11:34:41 (21.2 MB/s) - ‘index.html’ saved [11321/11321]

    Any ideas on how to debug this?
    Last edited by mboros; November 22nd, 2019 at 06:25 PM. Reason: code tags

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,374
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Apt timing out on update, all other network connections working normally


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •