Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page Problem in using apt-get
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Closed Thread
 
Thread Tools Display Modes
Old 06-02-2008   #1 (permalink)
vnpatriot7
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.
vnpatriot7 is offline  
Old 06-02-2008   #2 (permalink)
iwanabeguru
Linux User
 
Join Date: Feb 2006
Posts: 411
Send a message via MSN to iwanabeguru
apt-get behind proxy - Google Search
iwanabeguru is offline  
Old 06-02-2008   #3 (permalink)
vnpatriot7
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
vnpatriot7 is offline  
Old 06-02-2008   #4 (permalink)
jledhead
Linux Engineer
 
jledhead's Avatar
 
Join Date: Oct 2004
Location: North Carolina
Posts: 789
setting this
Code:
http_proxy="http://<my.proxy.address>:<proxy port number>"
export http_proxy
in my bash.rc file works for me.
jledhead is offline  
Old 06-02-2008   #5 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,108
Duplicate threads/posts are not allowed. Please continue here only.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 07:12 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0