Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Apt-get Errors Ubuntu 12.0.4 Server

  1. #11
    Join Date
    Sep 2012
    Beans
    7

    Re: Apt-get Errors Ubuntu 12.0.4 Server

    Quote Originally Posted by wojox View Post
    Looks good.

    Try:
    Code:
    sudo mv /etc/apt/sources.list /etc/apt/sources.list.bk
    Code:
    sudo apt-get update
    Thanks for the quick reply, however I thought 'apt-get update's inability to contact the archive servers was also the reason I am also having trouble using 'apt-get install' to install anything. I have also been trying to use 'apt-get install' to install nmap and I am still getting each time I try a "E: Unable to locate package nmap" error. Do you know why this error is occurring.

    Thanks.

  2. #12
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Apt-get Errors Ubuntu 12.0.4 Server

    is this a vm or you behind a proxy?

  3. #13
    Join Date
    Sep 2012
    Beans
    7

    Re: Apt-get Errors Ubuntu 12.0.4 Server

    Quote Originally Posted by wojox View Post
    is this a vm or you behind a proxy?
    Its both. However it seems to be able to navigate the proxy as I was able to download packages straight from the archives using 'wget'. I also added the following lines to the .bashrc file to make sure it could authenticate. However this has had no effect.

    Code:
    http_proxy=http://myUserName:password@proxy.uowa.edu.au:8080
    export http_proxy
    Thanks.
    Last edited by kcars; September 10th, 2012 at 02:35 PM.

  4. #14
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Apt-get Errors Ubuntu 12.0.4 Server

    Quote Originally Posted by kcars View Post
    However it seems to be able to navigate the proxy as I was able to download packages straight from the archives using 'wget'.
    Thanks.
    True, I don't have much vm experience though. I'll try and have this moved to the vm section.

  5. #15
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Apt-get Errors Ubuntu 12.0.4 Server

    Quote Originally Posted by wojox View Post
    True, I don't have much vm experience though. I'll try and have this moved to the vm section.
    Without ANY information about what VM platform this is on and if the VM networking is Bridged or whatever then the OP is not going to get much help at all.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

Page 2 of 2 FirstFirst 12

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
  •