Uploading to new Uno

I can see from your error and output that you did an "Upload Using Programmer". Upload Using Programmer process is triggered by doing one of the following:

  • Selecting Sketch > Upload Using Programmer from the Arduino IDE menus
  • Holding the Shift key while clicking the upload button in the Arduino IDE
  • Pressing the Shift+Ctrl+U keyboard shortcut

If you don't have a dedicated ISP programmer hardware connected to your Uno (and you would know if you did), then there is no chance "Upload Using Programmer" will work. It won't do any harm, but it's a waste of time and confusing, so don't do that.

Please try again with a standard upload, which you can do by selecting Sketch > Upload from the Arduino IDE menus.