[Bug 1070643] [NEW] Quantal DNS resolution rejects apt-get
Launchpad Bug Tracker
1070643 at bugs.launchpad.net
Wed Oct 24 02:38:11 UTC 2012
You have been subscribed to a public bug:
I had DNS resolution problems after upgrading to 12.10 from 12.04. It is
a desktop install, but I may have done something wrong by letting it
install unattended overnight.
I was able to fix this within an hour or so by configuring the network manager and /etc/dhcp/dhclient.conf to point to 8.8.8.8, which is Google's DNS system. From there, all sites within a browser worked fine.
However, I was unable to perform any updates or use the Software Center. A sudo apt-get update would fail to download or find the Ubuntu mirrors (if that's the right term). I played around so long with different config options (see below), that I realized my system was totally fixed and no longer needed Google's DNS IP, so I edited it out and replaced it with the default 192.168.1.1. Running nm-tool showed me the correct DNS of 192.168.1.1: the same for the "Show Connection Information" option in the network manager. However, apt-get update still pointed to Google's 8.8.8.8. After many hours of Googling, I found this post (http://serverfault.com/questions/81234/ubuntu-server-update-issue) that discussed the possibility of a proxy config problem. I edited /etc/apt/apt.conf to include a proxy pointing to us.archive.ubuntu.com, and this almost seemed to fix it - Google's 8.8.8.8 was gone, replaced by us.archive.ubuntu.com.
However, updates still failed to come in. sudo apt-get update would show
a long list of files, some HITS, some IGNs, and a few W's at the end -
see below.
First of all, the 8.8.8.8 address must be cached somewhere in order to
keep popping up like this. Secondly, the apt-get update output tells me
at the very end there could be something wrong with sources.list. I have
checked /etc/apt/sources.list and I don't see how it could be a source
of problems, but who knows.
Finally: after adding /ubuntu to my proxy I mentioned, while the update
manager still displays a "Failed to download repository information"
message, it was able to tell me that I had 11 MB of updates from a
previous check and download and install them completely through the GUI.
I don't know if that helps or not.
Lastly: is all I need to do at this point is just add the partner source
list? I'm curious now.
Stuff I did to try and get it to work (more detail above):
* editing /etc/network/interface and adding my 192.168.1.1 interface,
* editing /etc/dhcp/dhclient.conf and adding a prepend value of 192.168.1.1
* running sudo apt-get autoremove (which I believe removed resolvconf for me, along with three other packages)
#output of very end of apt-get update file list
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/quantal/Release Unable to find expected entry 'partner/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch
http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-i386/Packages
404 Not Found [IP: 91.189.91.14 80]
W: Failed to fetch
http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-i386/Packages
404 Not Found [IP: 91.189.91.14 80]
E: Some index files failed to download. They have been ignored, or old
ones used instead.
** Affects: dnsmasq (Ubuntu)
Importance: Undecided
Status: New
--
Quantal DNS resolution rejects apt-get
https://bugs.launchpad.net/bugs/1070643
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu.
More information about the Ubuntu-server-bugs
mailing list