sudo: unable to resolve host PC_COMPUTER
fixed with using this command lines:
1 |
$nano /etc/hosts #and add your new host name to the 127.0.0.1 line |
AFter it looks like:
1 2 3 4 5 6 7 8 9 10 11 |
127.0.0.1 localhost 192.168.2.2 PC_COMPUTER # 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 Replace "PC_COMPUTER_ OLD NAME ..." in the above example by your new hostname as stated in the /etc/hostname file. |