Mount Galaxy A5 (2017) on Ubuntu via MTP
For users who were out of luck with mtpfs, jmtpfs, go-mtpfs or any other libraries which depend on libmtp; try android-file-transfer.

It does not depend on libmtp and thus free from inherent bugs, is the most up-to-date mtp library I have seen on github (as of May 2018), and also can be used with FUSE, although I personally recommend to use its own Qt based GUI to avoid possible FUSE back-front interaction bugs.

Just make sure you DO NOT open your MTP device using any default mechanisms provided by your linux distro, e.g. clicking on Open when the device-connected notification pops up!

github: https://github.com/whoozle/android-file-transfer-linux

PPA: https://launchpad.net/~samoilov-lex/+archive/ubuntu/aftl-stable

Read about MTP on linux: https://wiki.archlinux.org/index.php/MTP