The wiki: https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba Debian / Ubuntu These 2 packages are not available for 18.04 but are for 16.04 python-gpgme python3-gpgme Does this mean you can't build on 18.04? I assume so. I assume this is okay: Note, selecting 'perl-modules-5.26' instead of 'perl-modules' -Barry Adkins