addpart: 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:

/sbin/addpart - from package: util-linux-ng

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/addpart - from package: util-linux

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