- Edited
I am having this issue right now. Exact same.
sudo: unable to resolve host HOSTNAMEHERE: Name or service not known
Host file is stripped down to this after TinyCP install:
127.0.0.1 localhost.localdomain localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I added the hostname entry back in just below the local host entry, and after reboot, gone again. This makes TinyCP unusable.