Simple fix, as root:
# hostname -f
hostname: Name or service not known
# echo "127.0.0.1 `hostname`" >> /etc/hosts
# hostname -f
karlo-laptop
Simple fix, as root:
# hostname -f
hostname: Name or service not known
# echo "127.0.0.1 `hostname`" >> /etc/hosts
# hostname -f
karlo-laptop