Issue
-
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:
/var/cache/apt/archives/imunify360-webshield-bundle_1.20.119-14_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Environment
- Imunify360
- Ubuntu
- Plesk
Solution
-
Remove the problem package:
# dpkg -r --force-depends imunify360-webshield-bundle
-
Fix the inconsistency:
# apt --fix-broken install
-
Proceed with the update.
Cause
The package installation script fails due to a corrupted package on the system.
Comments
0 comments
Please sign in to leave a comment.