Article ID: 125312, created on Apr 29, 2015, last review on Dec 25, 2015

  • Applies to:
  • Business Automation

Symptoms

The hotfix is listed as available for installation ("Prepared") in System > Information > Available Hotfix. Clicking Install results in Operation done but does not change anything - hotfix is still listed as available for installation.

In generic_worker.out.log or /usr/local/bm/log/pba_hotfixes.log the records below can be seen:

== Start PBA hotfix autoinstaller (Version: 4) (log:/usr/local/bm/log/pba_hotfixes.log, cache:/usr/local/bm/pba_hotfixes) == ...
Detect PBA version: 6.0.3-081 ...
Retrieving new version of autoinstaller (http://download.pa.parallels.com/pba/6.0/pba-hotfixes.pl) ... [SKIP]
Retrieving list of hotfixes for PBA 6.0 (http://download.pa.parallels.com/pba/6.0//hotfixes.list) ... [DONE]
[Mon May 11 07:48:35 2015] Connect 'dbi:Pg:database=pba;host=10.8.5.10;', pba
Downloading 'pba-6.0.3-081-hf125263.sh' ... [SKIP] : already in local repository
Downloading 'pba-6.0.3-081-hf125299.sh' ... [SKIP] : already in local repository
[Mon May 11 07:48:35 2015] Execute: 'sudo', '/usr/local/bm/tools/pba-hotfixes.pl', 'hfinstall', 'PBA 6.0.3-081 HF 125263'
sudo: sorry, you must have a tty to run sudo
[Mon May 11 07:48:36 2015] [Call stack]:
[Mon May 11 07:48:36 2015]     'helper::msystemex' at /usr/local/bm/tools/pba-hotfixes.pl line 605
[Mon May 11 07:48:36 2015]     'main::installHF' at /usr/local/bm/tools/pba-hotfixes.pl line 912
[Mon May 11 07:48:36 2015]     'main::main' at /usr/local/bm/tools/pba-hotfixes.pl line 1126
[Mon May 11 07:48:36 2015] PWD: /usr/local/bm/pba_hotfixes
Command 'sudo', '/usr/local/bm/tools/pba-hotfixes.pl', 'hfinstall', 'PBA 6.0.3-081 HF 125263' exited with error code 256 at /usr/local/bm/tools/helper.pm line 607.

or

== Start PBA hotfix autoinstaller (Version: 4) (log:/usr/local/bm/log/pba_hotfixes.log, cache:/usr/local/bm/pba_hotfixes) == ...
Detect PBA version: 6.0.3-081 ...
Retrieving new version of autoinstaller (http://download.pa.parallels.com/pba/6.0/pba-hotfixes.pl) ... [SKIP]
Retrieving list of hotfixes for PBA 6.0 (http://download.pa.parallels.com/pba/6.0//hotfixes.list) ... [DONE]
[Sun May 10 23:09:28 2015] Connect 'dbi:Pg:database=pba;host=10.2.5.10;', pba
Downloading 'pba-6.0.3-081-hf125263.sh' ... [SKIP] : already in local repository
Downloading 'pba-6.0.3-081-hf125299.sh' ... [SKIP] : already in local repository
[Sun May 10 23:09:28 2015] Execute: 'sudo', '/usr/local/bm/tools/pba-hotfixes.pl', 'hfinstall', 'PBA 6.0.3-081 HF 125263'
sudo: no tty present and no askpass program specified
[Sun May 10 23:09:28 2015] [Call stack]:
[Sun May 10 23:09:28 2015]     'helper::msystemex' at /usr/local/bm/tools/pba-hotfixes.pl line 605
[Sun May 10 23:09:28 2015]     'main::installHF' at /usr/local/bm/tools/pba-hotfixes.pl line 912
[Sun May 10 23:09:28 2015]     'main::main' at /usr/local/bm/tools/pba-hotfixes.pl line 1126
[Sun May 10 23:09:28 2015] PWD: /usr/local/bm/pba_hotfixes
Command 'sudo', '/usr/local/bm/tools/pba-hotfixes.pl', 'hfinstall', 'PBA 6.0.3-081 HF 125263' exited with error code 256 at /usr/local/bm/tools/helper.pm line 607.

Cause

Changes were done in /etc/sudoers file.

Resolution

Add the following line to the /etc/sudoers

#includedir /etc/sudoers.d

Note, the # here does not mean a comment.

If required, the changes can be reverted after successful hotfix installation.

Search Words

hotfix prepared can not be installed

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF