stk500_rkv() programmer is not responding error


Having some issues using my Arduino UNO with an Ubuntu 16.04 VM which I'm running on a mac. I keep getting the error message posted below (it trys 10 times), I've tried pressing the reset button as it uploads, when the text about bytes appears, I've tried unplugging the USB and replugging it back in as it uploads and I've tried using a different board/wire but no luck with anything.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Problem uploading to board.  See for suggestions.

Trying to run the hello world example from ros_lib so I don't have any wires or anything attached to the Arduino.

Any help is greatly appreciated.

Are you selecting Tools/Board: "Arduino/Genuino Uno" and ....................Tools/Port: "/dev/ttyACM0 (Arduino/Genuino Uno)"

Then the Upload button.

This Url will maybe help you.

I get this avrdude: stk500_recv(): programmer is not responding message quite often and it usually means I don't have the right board or port selected or I have something hooked up wrong.