I have an ATmega328PB and I am wiring it up as shown here but it gives me the error:
avrdude: Expected signature for ATmega328P is 1E 95 0F Double check chip, or use -F to override this check. Error while burning bootloader.
which is expected, because the signature for the ATmega328PB is a "0x16" instead of "0x0F" at the end. With verbose output checked, avrdude does indeed read a 16 at the end, so nothing mysterious there. I read online that I could just go to C:\Program Files (x86)\Arduino\hardware\tools\avr\etc and edit the avrdude.conf file and replace the "0F" with the "16". I tried that, but somehow Arduino is giving me the exact same error.
I am using the Arduino as ISP sketch on my Arduino Uno and setting the board as "Arduino Duemilanove" with ATmega328 before clicking "Burn Bootloader".