Failed to upgrade to tyk gateway 3.2.1

Halo team,

need your support to check failed upgrade to 3.2.1 (from 3.0.0) on tyk on premise.
we get error below

The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
124 not fully installed or removed.
Need to get 0 B/26.4 MB of archives.
After this operation, 2,101 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database … 146056 files and directories currently installed.)
Preparing to unpack …/tyk-gateway_3.2.1_amd64.deb …
Creating user and group…
Unpacking tyk-gateway (3.2.1) over (3.0.0) …
dpkg: error processing archive /var/cache/apt/archives/tyk-gateway_3.2.1_amd64.deb (–unpack):
unable to open ‘/opt/tyk-gateway/coprocess/python/proto/.gitignore.dpkg-new’: No such file or directory
Removing init scripts…
Found Systemd
Stopping the service
Failed to stop tyk-gateway-lua.service: Unit tyk-gateway-lua.service not loaded.
Removing the service
Installing init scripts…
Found Systemd
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

note: os ubuntu 18.04

Thank you

have you tried ?
sudo apt autoremove
sudo apt autoclean