Error while installing latest monthly platform patch on gatewat 11.1
search cancel

Error while installing latest monthly platform patch on gatewat 11.1

book

Article ID: 376510

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We are trying to install the latest monthly platform patch. But getting a error and the install fails :

Sep 04, 2024 6:48:59 AM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: /tmp/patchertemp3680472721909077489.tmp/mysql-common_8.0.37+commercial-1debian11_amd64.deb
Sep 04, 2024 6:48:59 AM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: sudo: unable to resolve host <Gatewayhostname>: Name or service not known
Sep 04, 2024 6:49:00 AM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: /tmp/patchertemp3680472721909077489.tmp/patch_sh_script12025798665450823998: line 395: sudo:: command not found
Sep 04, 2024 6:49:00 AM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: ERROR  : Failed installing mysql-commercial-client-plugins
Sep 04, 2024 6:49:00 AM com.broadcom.patchman.service.PatchServiceApiImpl installPatch

Resolution

The patch install fails because the sudo command is failing due to a incorrect name resolution configuration.

INFO: Output from patch install: sudo: unable to resolve host <Gatewayhostname>: Name or service not known

Make sure the hostname on the appliance is set correctly and make sure it can be resolved, Check your DNS config or add the hostname to the local hosts file .