Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 7497  / 2 Years ago, sun, august 14, 2022, 3:35:58

I am using Ubuntu 10.4.04 LTS with in VMware5.
I used automatic proxy configuration and I'm able to use internet from firefox.
When I wanted to update apt-get update, I am getting following errors.
The following link gives some solution, but I don't have any port number as I'm using automatic proxy
https://answers.launchpad.net/uck/+question/108860.



Error:



Ign http security.ubuntu.com lucid-security multiverse Packages              
Ign http security.ubuntu.com lucid-security multiverse Sources
Ign http security.ubuntu.com lucid-security main Packages
Err http security.ubuntu.com lucid-security main Packages
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/restricted Packages
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/main Sources
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/restricted Sources
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/universe Packages
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http security.ubuntu.com/ubuntu/dists/lucid-security/main/i18n/Translation-en_US.bz2 Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http security.ubuntu.com/ubuntu/dists/lucid-security/restricted/i18n/Translation-en_US.bz2 Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)


Thank you for your response!


More From » apt

 Answers
6

apt-get does not use the global proxy settings. Try adding the proxy settings to /etc/apt/apt.conf:



Acquire::http::proxy "http://<your-proxy-url>";


Or just run the following commands in terminal:



sudo su
echo 'Acquire::http::proxy "http://<your-proxy-url>";' >> /etc/apt/apt.conf

[#30837] Monday, August 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tiowift

Total Points: 119
Total Questions: 113
Total Answers: 110

Location: South Sudan
Member since Sun, Jul 11, 2021
3 Years ago
tiowift questions
Wed, Aug 3, 22, 04:45, 2 Years ago
Mon, Nov 7, 22, 10:58, 2 Years ago
Wed, May 10, 23, 17:52, 1 Year ago
;