Do
ls ~/.platformio/packages
There may be multiple tool-avrdude folders at different versions, who cannot interpret the config file from the other version.
Do
ls ~/.platformio/packages
There may be multiple tool-avrdude folders at different versions, who cannot interpret the config file from the other version.