[Neurodebian-users] Set up my VM. Problems getting packages
Ariel Rokem
arokem at berkeley.edu
Fri Jan 7 19:29:56 UTC 2011
Hi,
On Fri, Jan 7, 2011 at 12:09 AM, Yaroslav Halchenko
<debian at onerussian.com> wrote:
> ho ho -- it seems this is somewhat a bug: we have 'debian' as a
> hostname but in the /etc/hosts 127.0.1.1 is listed as neurodebian.
>
> that leads to all failures with hostname resolution.
>
> quick fix should be to run in a terminal:
>
> sudo sed -e 's,neurodebian,debian,g' /etc/hosts
> sudo apt-get -f install # might not even be needed
>
Is this what you were expecting?
brain at debian:~$ sudo sed -e 's,neurodebian,debian,g' /etc/hosts
sudo: unable to resolve host debian
127.0.0.1 localhost
127.0.1.1 debian
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Cheers,
Ariel
More information about the Neurodebian-users
mailing list