That is my assumption. I found that 'lo' was not reported by 'ifconfig'. Doing 
'ifup lo' made it so that mysql-server would install w/o issue.
However, doing 'ifdown lo' and removing (using purge) and then reinstalling 
does not fail.
I will try to recreate the issue next week when I again have physical access to 
the machine.

The steps (including typo) are as follows:

Edit /etc/network/interfaces to give the machine its static ip (note missing 
'auto eth0' line):
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet static
address 10.1.10.7
netmask 255.255.255.0
gateway 10.1.10.1

Reboot

Edit /etc/network/interfaces to add 'auto eth0'
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 10.1.10.7
netmask 255.255.255.0
gateway 10.1.10.1

Do 'ifup eth0'

Install mysql server 'apt-get install mysql-server'

Install fails...
The only error in syslog is:
 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested 
address

-- 
Installing mysql-server fails on a machine with a static ip
https://bugs.launchpad.net/bugs/201584
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to