Note that the underlying bug seems to be a race condition and another workaround may be to try the command 10 or 20 times as noted in
https://bugs.edge.launchpad.net/ubuntu/+source/hostname/+bug/113778
Note that the underlying bug seems to be a race condition and another workaround may be to try the command 10 or 20 times as noted in
https:/ /bugs.edge. launchpad. net/ubuntu/ +source/ hostname/ +bug/113778