Today I tried to install LAMP on my notebook and got a lot of errors from Ubuntu apt-get, related to connection problems - the server (br server) from which it was trying to download the updates was apparently down. If you ever get these kind of errors on apt-get:
Err http://br.archive.ubuntu.com/ubuntu/ precise/main libapr1 amd64 1.4.6-1 Something wicked happened resolving 'br.archive.ubuntu.com:http' (-5 - No address associated with hostname)And your internet seems to be ok (in a nutshell, the archive server is offline), there's a super easy way to fix it: just go to Ubuntu Software Center, then select the "Edit -> Software Sources...". You can change it to "Server for United States" or another location which suits you better. Then, run a
sudo apt-get updateAnd that's all. You can try to install your software again and it will be okay (unless you're facing internet problems).