Apt-get update trouble

Discussion in 'Installation/Configuration' started by aws910, Jul 23, 2006.

  1. aws910

    aws910 New Member

    Hi, newb here having a problem with the tutorial:
    "Postfix Spam Filter using Ubuntu Dapper, MailScanner and ClamAV"

    Got some probs with it saying it couldn't find some packages when I pasted the long install string in. I used the recommended sources and even the ubuntu source-o-matic. So when I update my sources list, I have to run "apt-get update", and then my package-list will be updated so when I DO go to install things, it knows what it can get(?) if so, I think that's where my problem lies. Here's what happens:

    Code:
    apt-get update
    Get:1 http://security.ubuntu.com dapper-security Release.gpg [189B]
    Hit http://security.ubuntu.com dapper-security Release
    Hit http://security.ubuntu.com dapper-security/main Packages
    Hit http://security.ubuntu.com dapper-security/restricted Packages
    Hit http://security.ubuntu.com dapper-security/main Sources
    Hit http://security.ubuntu.com dapper-security/restricted Sources
    Hit http://security.ubuntu.com dapper-security/universe Packages
    Hit http://security.ubuntu.com dapper-security/multiverse Packages
    Hit http://security.ubuntu.com dapper-security/universe Sources
    Hit http://security.ubuntu.com dapper-security/multiverse Sources
    Err http://us.archive.ubuntu.com dapper Release.gpg
      Could not connect to us.archive.ubuntu.com:80 (146.137.96.7), connection timed out
    Err http://us.archive.ubuntu.com dapper-updates Release.gpg
      Could not connect to us.archive.ubuntu.com:80 (146.137.96.7), connection timed out
    Fetched 1B in 8m0s (0B/s)
    Could it be that I don't have the correct sources.list? I paste "http://security.ubuntu.com" into a browser and it connects... but "http://us.archive.ubuntu.com" just times out (on two different computers, same conn). I'm pretty sure that this connectivity issue could be the root here. Is it possible that I'm the only person who can't hit it? Maybe a DNS error? It seems to resolve ok...confusing... Any help would be greatly appreciated. Thanks.

    (my sources.list from http://www.ubuntulinux.nl/source-o-matic)
    Code:
    #deb cdrom:[Ubuntu-Server 6.06 _Dapper Drake_ - Release i386 (20060531)]/ dapper main restricted
    # Automatically generated sources.list
    # http://www.ubuntulinux.nl/source-o-matic
    #
    # If you get errors about missing keys, lookup the key in this file
    # and run these commands (replace KEY with the key number)
    #
    # gpg --keyserver subkeys.pgp.net --recv KEY
    # gpg --export --armor KEY | sudo apt-key add -
    
    # Ubuntu supported packages (packages, GPG key: 437D05B5)
    deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
    deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
    deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    
    # Ubuntu supported packages (sources, GPG key: 437D05B5)
    deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
    deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    
    # Ubuntu community supported packages (packages, GPG key: 437D05B5)
    deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
    deb http://us.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
    deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
    
    # Ubuntu community supported packages (sources, GPG key: 437D05B5)
    deb-src http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. aws910

    aws910 New Member

    okay

    Thanks for the help. Tried it from the office and it works better now. It didn't want to install unarj - no installation candidate or some madness. I took that one out, installed the packages four at a time, and everything worked much better.

    When you're learning a new os, these little things can really hang you up. The other day I spent forever trying to get my freshly installed ubuntu box onto my network, only to realize that the network cable was unplugged. If a user at work came to me with a prob like that, I'd have gone bofh on him!
     

Share This Page