bin/update-packages: add ubuntu support