/usr/share/appstream/templates/ubuntu is in appstream-generator 0.6.8-2build2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/appstream/templates/debian
/usr/share/appstream/templates/debian