bogoupgrade: 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/bogoupgrade - from package: bogofilter-bogoupgrade

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