During an upgrade you may encounter the following error:
Hostname or IP address must be properly configured.
Before proceeding, please fix this and test your fix by running '/bin/hostname -f'.
If you see this, then please check your /etc/hosts file and verify that the hostname is at the end of the line starting with '127.0.0.1'.
If its' not, first grab IPV4 address
ifconfig
and get the hostname
hostname
then, add these two into the last line of /etc/hosts. Example:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
<private_IP> <host.name>
If it's not, then add it and re-try installation.
Comments
0 comments
Please sign in to leave a comment.