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.

Internal content