If you are using an older release, I believe the file 'installed.ini' in the root of the devkitPro folder contains the versions of the packages.
If the version you're using is more recent, you could try running the following command in mingw64 (also, it's a good idea to zip up your devkitPro...