Avrdude Issues
If you get this error avrdude: ser_send(): write error: Bad file descriptor. You will need to copy the data below and put it into /etc/udev/rules.d/10-usbasp.rules:
# /etc/udev/rules.d/ # sudo udevadm trigger SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", MODE="0666", GROUP="plugdev"
Then remove sudo apt-get remove modemmanager.