When i reinstall a sofware via command line

Means the file is empty? Can you check following

ls -la /var/lib/dietpi/dietpi-software/