1. remove broken packages

2. after removing package update your system

3. re-install the package

1. fix broken packages

2. cleanup 1st

3. cleanup 2nd

4. Package Manager

Here a brief config snipped to allow WordPress to

  • use a http proxy server for updates
  • enforce ssh
  • enable auto-upgrade for WP core, plugins and themes