• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Chroot_Update broken

VinnyT

Regular Pleskian
Hi. I am trying to add new programs to the CHROOTED environment via this post: http://kb.odin.com/en/115842

I downloaded the following file "http://kb.odin.com/Attachments/kcs-19590/chroot_update.zip", but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working. Can you please update the file or attach a new copy to this message?

Thanks

: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then
 
Fix script with

# yum install dos2unix
# dos2unix chroot_update.sh
 
Back
Top