Could not resolve 'archive.ubuntu.com' while proxy setting in Network Manager

Bug #1725353 reported by Mohd Iftakhar Ahamad
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nplan (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Yesterday I upgrade my Ubuntu to 17.10 from 17.04.

I am using proxy given by my organization which is 200.0.1.254:99

I have also manually set an IP address given by my organization which is 200.0.1.155

There was no problem in Ubuntu 17.04 while updating or installing anything but after upgrading to Ubuntu 17.10 , I am not able to install anything (including 'software updater' and 'software & Updates) .

There are no problem in browser , It working fine.(All other software working fine)

When I try to install anything the I getting following error....

$ sudo apt update
Err:1 http://archive.ubuntu.com/ubuntu artful InRelease
  Could not resolve 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu artful-updates InRelease
  Could not resolve 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu artful-backports InRelease
  Could not resolve 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu artful-security InRelease
  Could not resolve 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/artful/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/artful-updates/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/artful-backports/InRelease Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/artful-security/InRelease Could not resolve 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Without setting proxy it works fine...

Revision history for this message
Mohd Iftakhar Ahamad (iftakhar) wrote :

Look at this bug..

Revision history for this message
Scott Moser (smoser) wrote :

The reason that the "terminal" appears to be broken to you while the browser works fine is that your DNS is not configured or misconfigured. When the browser uses a proxy it does not do dns resolution locally, the proxy server does. But your 'apt-get update' is not using the proxy.

Please give some more information on what exactly you did to:
  "configured proxy and static IP"

Did you use network-manager? Did you edit files in /etc/ ?

After supplying that information, please move this bug back to 'New' status.

Changed in nplan (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nplan (Ubuntu) because there has been no activity for 60 days.]

Changed in nplan (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.