Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I am a newbie in Linux, so please help me to solve my headache problem. I have had a problem whenever I used apt-get. Firstly, I want to emphasize ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    7

    Problem in using apt-get

    Hi,

    I am a newbie in Linux, so please help me to solve my headache problem. I have had a problem whenever I used apt-get.

    Firstly, I want to emphasize that my internet connection is fine. I can surf net by Konqueror browser.

    In addition, I have been using NTML to set up proxy and connect to internet since I am behind company proxy

    However, I have not managed to update or install any new software through apt-get command or adept.

    When I type a command "sudo apt-get update" I have the following errors
    "Err http://non-us.debian.org stable/non-US Release.gpg
    Could not connect to non-us.debian.org:80 (194.109.137.21,
    connection timed out
    Err http://ftp.debian.org stable Release.gpg
    Could not connect to ftp.debian.org:80 (128.101.240.212), connection timed out
    Err http://non-us.debian.org stable/non-US/main Translation-en_ZA"

    I tested variety of address in etc/apt/sources.list in many different times but it did not work.

    The strangest thing is that I open Adept manager, go to Adept menu, all the following items are disable (can not click):
    Manage repositories
    Apply changes
    Safe upgrade
    Full upgrade

    By the way, thanks a lot for your time and help.

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    7
    Hi iwanabeguru, I tested all methods in this forum, but they do not help me.

    I had two Linux PC, one works well, the other does not work. Installing NTML is an alternative way of setting proxy in bash file.

    Anyway, thanks a lot for your reply

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    setting this
    Code:
    http_proxy="http://<my.proxy.address>:<proxy port number>"
    export http_proxy
    in my bash.rc file works for me.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Duplicate threads/posts are not allowed. Please continue here only.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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