[Neurodebian-users] Set up my VM. Problems getting packages
Yaroslav Halchenko
debian at onerussian.com
Fri Jan 7 19:31:54 UTC 2011
ah -- forgotten -i for sed, i.e.
sudo sed -i -e 's,neurodebian,debian,g' /etc/hosts
On Fri, 07 Jan 2011, Ariel Rokem wrote:
> 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
> _______________________________________________
> Neurodebian-users mailing list
> Neurodebian-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/neurodebian-users
--
=------------------------------------------------------------------=
Keep in touch www.onerussian.com
Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic
More information about the Neurodebian-users
mailing list