Cant't register fonts in TeXLive - sudo updmap-sys fails

I’m trying to install a class into my /usr/local/share/ directory. All the files are there and I have run sudo mktexlsr.
But I cannot register the fonts.

david@X: sudo updmap-sys --nomkmap --nohash --enable
Can't locate TeXLive/ in @INC (you may need to install the TeXLive::TLUtils module) (@INC contains: /usr/share/tlpkg /usr/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.2 /usr/lib/perl5/vendor_perl/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.2 /usr/lib/perl5/5.26.2/x86_64-linux-thread-multi /usr/lib/perl5/5.26.2 /usr/lib/perl5/site_perl) at /usr/bin/updmap line 41.
BEGIN failed--compilation aborted at /usr/bin/updmap line 41.

Help would be much appreciated.

Seems to be a bug in Texlive 2018 and should get fixed soon:


Thanks for the update.

Has been fixed in the recent Texlive update that came with snapshot 20180704.