package-cleanup: 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

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/package-cleanup - from package: yum-utils

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