I tried it once more with fresh installed ubuntu server, but now it was installed from 18.04.2 “alternative” server image (installations mentioned above were made using 18.04.1 live install image). And with this version 18.04.2, everything works like @bkm described in post 8 and 10 above - if there is no frappe user created before running install script, everything works absolutely OK without errors. If you create frappe user before running install script or install with current user, you got error for the first time, but if you run install script once again, it finishes without errors and erpnext looks to be working OK.
In Ubuntu 18.04 LTS, the dnsmasq package is only available through Universe, not Main.
deb http://ubuntu.ca-west.mirror.fullhost.io/ubuntu/ bionic-security universe
If you add the Universe repository, then apt-get update, you should be able to install it.
2 Likes
Yes, you are right, if you install from image 18.04.2 you get by default different source list than you get from image 18.04.1 (here you get only main)