I while ago, when I upgraded my ubuntu dist to 19.04 I could no longer flash my code to my AVR chips. I was about to go crazy avrdude wasn't working, but the Arduino version was.

That made me spend a few hours searching for what the heck had happened. But I couln't find anything, until I somehow stumbled upon a post asking about the same thing. That person could only flash with avrdude using sudo, which I could as well. Although it hadn't even ocurred to me that it could've been some problems with the permissions because what I got as an error message was unexpected device signature.

So if you have a Sparkfun AVR pocket programmer (basically a usbtiny) then add this as a udev rule (on my system I have it under /etc/udev/rules.d/49-usbtiny.rules) the number will probably not be that important to you, it has something to do with the order the rules are read.

SUBSYSTEM=="usb", ATTR{idVendor}"1781", ATTR{idProduct}"0c9f", GROUP="plugdev", MODE="0666"```

To be on the safe side though, you could always run the command lsusb when your programmer is connected and verify that the numbers are the that you see here for vendor and product.

Happy continued hacking!