Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: problem with apt-get update

  1. #1
    Join Date
    Jan 2017
    Beans
    14

    problem with apt-get update

    dear mates am using ubuntu server 14.04

    after i ediot my network and ip and make it static

    and this is mmy ip setting
    i use 2 lan cards in this server
    ---

    # The loopback network interface
    auto lo
    iface lo inet loopback





    # The primary network interface
    auto p2p1

    iface p2p1 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    network 192.168.1.1
    broadcast 192.168.1.255
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8


    # The secondary network interface
    auto p4p1
    iface p4p1 inet static
    address 192.168.0.2
    netmask 255.255.255.0
    network 192.168.0.1
    broadcast 192.168.0.255
    gateway 192.168.0.1
    dns-nameservers 4.4.4.4

    ----

    the command apt-get update not work any more


    gives me this error

    Code:
    login as: root
    root@192.168.1.2's password:
    Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.2.0-42-generic x86_64)
    
     * Documentation:  https://help.ubuntu.com/
    New release '16.04.1 LTS' available.
    Run 'do-release-upgrade' to upgrade to it.
    
    Last login: Tue Jan 24 14:31:16 2017 from 192.168.1.35
    root@ubuntu:~# apt-get update
    Ign http://security.ubuntu.com trusty-security InRelease
    Err http://security.ubuntu.com trusty-security Release.gpg
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Ign http://security.ubuntu.com trusty-security Release
    Ign http://security.ubuntu.com trusty-security/main Sources/DiffIndex
    Ign http://security.ubuntu.com trusty-security/restricted Sources/DiffIndex
    Ign http://security.ubuntu.com trusty-security/universe Sources/DiffIndex
    Ign http://security.ubuntu.com trusty-security/multiverse Sources/DiffIndex
    Ign http://security.ubuntu.com trusty-security/main amd64 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/restricted amd64 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/universe amd64 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/multiverse amd64 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/main i386 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/restricted i386 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/universe i386 Packages/DiffIndex
    Ign http://security.ubuntu.com trusty-security/multiverse i386 Packages/DiffIndex
    Err http://security.ubuntu.com trusty-security/main Translation-en_GB
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/main Translation-en
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/multiverse Translation-en_GB
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/multiverse Translation-en
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/restricted Translation-en_GB
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/restricted Translation-en
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/universe Translation-en_GB
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/universe Translation-en
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/main Sources
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/restricted Sources
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/universe Sources
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/multiverse Sources
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/main amd64 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/restricted amd64 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/universe amd64 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/multiverse amd64 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/main i386 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/restricted i386 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/universe i386 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Err http://security.ubuntu.com trusty-security/multiverse i386 Packages
      Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    Ign http://archive.ubuntu.com trusty InRelease
    Ign http://archive.ubuntu.com trusty-updates InRelease
    Ign http://archive.ubuntu.com trusty-backports InRelease
    Err http://archive.ubuntu.com trusty Release.gpg
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates Release.gpg
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports Release.gpg
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Ign http://archive.ubuntu.com trusty Release
    Ign http://archive.ubuntu.com trusty-updates Release
    Ign http://archive.ubuntu.com trusty-backports Release
    Ign http://archive.ubuntu.com trusty/main Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty/restricted Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty/universe Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty/multiverse Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty/main amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/restricted amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/universe amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/multiverse amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/main i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/restricted i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/universe i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty/multiverse i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/main Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/restricted Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/universe Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/multiverse Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/main amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/restricted amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/universe amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/main i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/restricted i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/universe i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-updates/multiverse i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/main Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/restricted Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/universe Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/multiverse Sources/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/main amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/restricted amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/universe amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/main i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/restricted i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/universe i386 Packages/DiffIndex
    Ign http://archive.ubuntu.com trusty-backports/multiverse i386 Packages/DiffIndex
    Err http://archive.ubuntu.com trusty/main Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/main Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/multiverse Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/multiverse Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/restricted Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/restricted Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/universe Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/universe Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/main Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/main Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/multiverse Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/multiverse Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/restricted Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/restricted Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/universe Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/universe Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/main Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/main Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/multiverse Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/multiverse Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/restricted Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/restricted Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/universe Translation-en_GB
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/universe Translation-en
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/main Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/restricted Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/universe Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/multiverse Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/main amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/restricted amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/universe amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/multiverse amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/main i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/restricted i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/universe i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty/multiverse i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/main Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/restricted Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/universe Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/multiverse Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/main amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/universe amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/main i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/restricted i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/universe i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/main Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/restricted Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/universe Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/multiverse Sources
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/main amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/universe amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/main i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/restricted i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/universe i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
      Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    Err http://de.archive.ubuntu.com trusty InRelease
    
    Err http://de.archive.ubuntu.com trusty-security InRelease
    
    Err http://de.archive.ubuntu.com trusty-updates InRelease
    
    Err http://de.archive.ubuntu.com trusty-proposed InRelease
    
    Err http://de.archive.ubuntu.com trusty-backports InRelease
    
    Err http://de.archive.ubuntu.com trusty Release.gpg
      Could not resolve 'de.archive.ubuntu.com'
    Err http://de.archive.ubuntu.com trusty-security Release.gpg
      Could not resolve 'de.archive.ubuntu.com'
    Err http://de.archive.ubuntu.com trusty-updates Release.gpg
      Could not resolve 'de.archive.ubuntu.com'
    Err http://de.archive.ubuntu.com trusty-proposed Release.gpg
      Could not resolve 'de.archive.ubuntu.com'
    Err http://de.archive.ubuntu.com trusty-backports Release.gpg
      Could not resolve 'de.archive.ubuntu.com'
    Reading package lists... Done
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...usty/InRelease
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...rity/InRelease
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...ates/InRelease
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...osed/InRelease
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...orts/InRelease
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...nslation-en_GB  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...Translation-en  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...nslation-en_GB  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...Translation-en  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...nslation-en_GB  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...Translation-en  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...nslation-en_GB  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...Translation-en  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...source/Sources  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...amd64/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages  Unable to connect to security.ubuntu.com:http: [IP: 2001:67c:1562::19 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...ty/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...es/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...ts/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_GB  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...source/Sources  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...amd64/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::21 80]
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...ty/Release.gpg  Could not resolve 'de.archive.ubuntu.com'
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...ty/Release.gpg  Could not resolve 'de.archive.ubuntu.com'
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...es/Release.gpg  Could not resolve 'de.archive.ubuntu.com'
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...ed/Release.gpg  Could not resolve 'de.archive.ubuntu.com'
    
    W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/...ts/Release.gpg  Could not resolve 'de.archive.ubuntu.com'
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@ubuntu:~#
    Last edited by oldos2er; January 24th, 2017 at 04:15 PM. Reason: Please use code tags for large terminal output.

  2. #2
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: problem with apt-get update

    The first obvious question: Do any other network applications on that system (web browser, email, etc) have successful network access?

  3. #3
    Join Date
    Jan 2017
    Beans
    14

    Re: problem with apt-get update

    no enven i try to piung google it didnt respond

  4. #4
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: problem with apt-get update

    Then the problem is your network, not apt.
    Revert your network changes to whatever last worked.

  5. #5
    Join Date
    Jan 2017
    Beans
    14

    Re: problem with apt-get update

    do you have any sample how to put it corectly

    for me this one is 192.168.1.2 with ennter net to first lan with my provider
    while this one 192.168.0.2

    is for out side network
    if there is sampel of config

  6. #6
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: problem with apt-get update

    Sorry, I do not understand what you are trying to tell us about your network settings.

    Please show us the complete output of the command 'route'.

  7. #7
    Join Date
    Jan 2017
    Beans
    14

    Re: problem with apt-get update

    hello in my interface file

    this setting of the router
    iface p2p1 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    network 192.168.1.1
    broadcast 192.168.1.255
    gateway 192.168.1.1
    dns-nameservers 8.8.8.8


    this net is with from my privider provider


    now i added second lan card which indecates p4p1

    i want to make it like out side like to give others from my net with other ranger not same ranger
    192.168.0.2

    hope u got what i mean

  8. #8
    Join Date
    Jan 2017
    Beans
    13

    Re: problem with apt-get update

    Your problem is that you are specifying (2) Gateways.
    Whichever one gives you internet access, leave the gateway in the config.
    e.g. gateway 192.168.1.1

    Remove the gateway for the interface that you just want to route on.
    e.g. Local LAN (192.168.0.2)
    You will still be able to route the local LAN from the P4p1 Interface, but to go out to the internet it will use the P4P2 Interface.

    Thanks.

  9. #9
    Join Date
    Jan 2017
    Beans
    13

    Re: problem with apt-get update

    Also, Don't forget to update your post as "Solved" if this fixed your issue.
    This allows others to use the answer to resolve the same issue going forward.

    Thanks.
    -Tech-J

  10. #10
    Join Date
    Jan 2017
    Beans
    14

    Re: problem with apt-get update

    solved mate thanx for your help

Page 1 of 2 12 LastLast

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
  •