Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have troubles again after upgrading Linux to version 12.04 - When I try to update progams and files with "apt-get update" it says something like there is no address added to your computer name. So my hostname has name "Marco" and my hosts file has line "127.0.0.1 Marco" So where is problem? Where should I change my name to get it right for updates? Thank you. Before on version 11.10 it was working fine.

W: Failed http://en.archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en Something bad happened in the translation "en.archive.ubuntu.com: http" (-5 - The machine name is not assigned to any address)
share|improve this question

migrated from stackoverflow.com Jun 4 '12 at 8:26

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

up vote 1 down vote accepted

So the problem is with the nameserver(s). After updating to 12.04 there is no resolv.conf file, these settings are being configured in /etc/network/interfaces

For instance if this was you resolv.conf nameserver 10.10.10.10 nameserver 10.10.10.20

No you need to rewrite it like this in /etc/network/interfaces:

dns-nameservers 10.255.255.10 10.255.255.20
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.