rosdistro_reformat: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/rosdistro_reformat - from package: python-rosdistro

You may install the required package with command yum install {package}
Error in other languages:
rosdistro_reformat: bevel nie gevind nie
rosdistro_reformat: comandă negăsită
rosdistro_reformat: comando não encontrado
rosdistro_reformat: commande introuvable
rosdistro_reformat: command not found
rosdistro_reformat: käsku ei ole
rosdistro_reformat: không tìm thấy lệnh
rosdistro_reformat: komanda nerasta
rosdistro_reformat: Kommando nicht gefunden.
rosdistro_reformat: kommandot finns inte
rosdistro_reformat: komut yok
rosdistro_reformat: nie znaleziono polecenia
rosdistro_reformat: níor aimsíodh an t-ordú
rosdistro_reformat: no se encontró la orden
rosdistro_reformat: no s'ha trobat l'ordre
rosdistro_reformat: opdracht niet gevonden
rosdistro_reformat: parancs nem található
rosdistro_reformat: perintah tidak ditemukan
rosdistro_reformat: príkaz nenájdený
rosdistro_reformat: příkaz nenalezen
rosdistro_reformat: команда не найдена
rosdistro_reformat: командата не е открита
rosdistro_reformat: 命令找不到
rosdistro_reformat: コマンドが見つかりません