I have the same version of ubuntu 18 installed on old HP PC and brand new intel NUC. The Arduino IDE just gives this message: “An error occurred while uploading the sketch”. I looked around the web and I found some articles that theorize this could be caused bu the USB3.0 ports on the new NUC versus the USB2.0 ports on the old PC. Here are the DMESG messages from the two PCS when I plug it in:
OLD PC
[ 3379.195264] usb 1-1.6: new low-speed USB device number 7 using ehci-pci
[ 3379.308749] usb 1-1.6: New USB device found, idVendor=1781, idProduct=0c9f, bcdDevice= 1.04
[ 3379.308753] usb 1-1.6: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 3379.308755] usb 1-1.6: Product: FabISP
NEW PC
[174668.274807] usb 1-1: new low-speed USB device number 16 using xhci_hcd
[174668.427714] usb 1-1: New USB device found, idVendor=1781, idProduct=0c9f, bcdDevice= 1.04
[174668.427719] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[174668.427721] usb 1-1: Product: FabISP