can not burn bootloader onto breadboarded 328P in linux, but works in windows

On my linux machine ....
I am trying to burn the bootloader for an 328p bare board. I am using an arduino uno board as the bootloader loader.
I can load the sketch arduinoISP fine on the uno board. When I try an burn the bootloader onto the bare 328P I get
the error shown below.

My circuit is the same as in the tutorial https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

On my windows machine...
I can plug the usb cable into my windows machine and it will burn the bootloader onto the bare 328p succesfully.

I spent a couple of days trying to find the problem, then finally trying my windows machine where it worked. I could
also then connect my ftdi and down load a blink sketch.

Any help is appreciated.

Here is the output of ide window:

Arduino: 1.8.10 (Linux), Board: "ATmega328 on a breadboard (8 MHz internal clock)"

/home/jrm/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/bin/avrdude
-C/home/jrm/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/etc/avrdude.conf
-v -patmega328p -carduino -P/dev/ttyACM1 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xE2:m

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/jrm/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino14/etc/avrdude.conf"
User configuration file is "/home/jrm/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM1
Using Programmer : arduino
Overriding Baud Rate : 19200
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x02

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
Hardware Version: 4238814
Firmware Version: 41305744.0
Topcard : STK502
Vtarget : 1.8 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x01
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

avrdude done. Thank you.

Error while burning bootloader.

After searching a while I found someone who had exactly the same problem as I and the solution was placing a 10uf cap between reset and ground on the arduio uno board (the one used as a programmer) . I was really surprised that it worked.

I'm going back to that thread and thank the guy that figured that out. We do stand on the shoulders of giants.

Here is the thread :
https://forum.arduino.cc/index.php?topic=342977.0

Yes, this is known problem which is solved here almost daily.
Problem reason is a parameter -carduino in avrdude command (Using Programmer: arduino). It is defined in boards.txt file.
The -carduino produces reset pulse at the begining of upload process so it causes reset of programmer UNO thus the upload process never start. Work around is to plug sufficiently big (10uF is far enough) capacitor between RESET and GND on the programmer board, which preserves the RESET pin high during the reset pulse.
However, feasible programmer for the UNO as ISP is stk500v1 (-cstk500v1). This one is same as arduino except the reset, it is without. The newest Arduino SW it has so, reportedly.

I will try the stk500v1 as programmer type so I can remove that cap. thank you. I am so relieved.