Checkinstall script fails when running standalone on Linux with "command not found"
book
Article ID: 105764
calendar_today
Updated On:
Products
CLARITY PPM FOR ITGCLARITY PPM FEDERALClarity PPM SaaS - ApplicationClarity PPM On Premise
Issue/Introduction
On Linux: when preparing for an upgrade, extract the install.jar from DVD. Then navigate to checkinstall folder and run ./checkinstall.sh
Output will be similar to the following:
> sh ./checkinstall.sh ./checkinstall.sh: line 2: $'\r': command not found ./checkinstall.sh: line 4: $'\r': command not found ./checkinstall.sh: line 6: $'\r': command not found ./checkinstall.sh: line 8: $'\r': command not found ./checkinstall.sh: line 9: $'\r': command not found ./checkinstall.sh: line 20: syntax error: unexpected end of file
Workaround 1: You could run the install script that calls the checkinstall:
Please do the following: 1. Navigate to $install 2. Run the command install 3. Follow the prompts 4. The first part of the upgrade will be checkinstall. After it runs successfully it will ask you whether you would like to continue with the upgrade after reviewing the files: