WiringPi issue after upgrading to Pi4

it might not gonna work as DietPi will install WiringPi to /usr/local/bin while the deb package will be installed to /usr/bin

I would recommend to uninstall the DietPi version using dietpi-software + rm /usr/local/bin/gpio + reboot

Once done install the dep package afterwards

However, do a backup before. In case needed, you could restore.

[hr]
MichaIng
I know WiringPi deprecated http://wiringpi.com/wiringpi-deprecated/
But should we switch to the dep version 2.52 to allow support on RPi4?