OS or Plesk update fails with the following messages:
The following packages have unmet dependencies:
imunify360-firewall : Depends: imunify360-webshield-bundle (>= 1.20.119-14) but 1.20.1-17 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Executing the suggested command results in the following:
cp: cannot stat '/usr/share/imunify360-webshield/captcha/templates/head.tpl': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/imunify360-webshield-bundle_1.20.119-14_amd64.deb (--unpack):
new imunify360-webshield-bundle package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Remove the problem package:
# dpkg -r --force-depends imunify360-webshield-bundle
Fix the inconsistency:
# apt --fix-broken install
Proceed with the update.
The package installation script fails due to a corrupted package on the system.
Please sign in to leave a comment.