dependencies issues with apache upgrade in virtualmin can you provide some instruction on how to recover?

dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.22-1ubuntu1.7) | apache2-mpm-prefork (= 2.2.22-1ubuntu1.7) | apache2-mpm-event (= 2.2.22-1ubuntu1.7) | apache2-mpm-itk (= 2.2.22-1ubuntu1.7); however:
  Package apache2-mpm-worker is not installed.
  Package apache2-mpm-prefork is not configured yet.
  Package apache2-mpm-event is not installed.
  Package apache2-mpm-itk is not installed.
apache2 depends on apache2.2-common (= 2.2.22-1ubuntu1.7); however:
  Version of apache2.2-common on system is 2.2.22-1ubuntu1.4.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2-mpm-prefork
apache2
    Reading package lists...
    Building dependency tree...
    Reading state information...
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     apache2 : Depends: apache2.2-common (= 2.2.22-1ubuntu1.7) but 2.2.22-1ubuntu1.4 is to be installed
     apache2-mpm-prefork : Depends: apache2.2-common (= 2.2.22-1ubuntu1.7) but 2.2.22-1ubuntu1.4 is to be installed
                           Depends: apache2.2-bin (= 2.2.22-1ubuntu1.7) but 2.2.22-1ubuntu1.4 is to be installed
     libapache2-mod-php5 : Depends: php5-common (= 5.3.10-1ubuntu3.14) but 5.3.10-1ubuntu3.8 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    .. install failed!

No packages were installed. Check the messages above for the cause of the error.

Status: 
Active

Comments

Howdy -- hmm, that's an unusual set of dependency issues.

How did you go about the package upgrades? Was that done from within Virtualmin? Or perhaps on the command line?

Also, what is the output of this command:

dpkg -l 'apache*'

Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================

un apache (no description available)

When you ran that command, did you add the "*" character to the end of the word "apache"?

Also, did you have any thoughts on how you were performing that update -- was that from the command line, or within Virtualmin?

Sorry! :-(

root@ns1:/home/wwiblinj# dpkg -l 'apache*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ un apache (no description available) un apache-common (no description available) un apache-utils (no description available) iU apache2 2.2.22-1ubuntu Apache HTTP Server metapackage un apache2-common (no description available) ii apache2-doc 2.2.22-1ubuntu Apache HTTP Server documentation un apache2-mpm (no description available) un apache2-mpm-ev (no description available) un apache2-mpm-it (no description available) iU apache2-mpm-pr 2.2.22-1ubuntu Apache HTTP Server - traditional non-threade un apache2-mpm-wo (no description available) un apache2-suexec (no description available) ii apache2-suexec 2.2.22-1ubuntu Configurable suexec program for Apache 2 mod ii apache2-utils 2.2.22-1ubuntu utility programs for webservers ii apache2.2-bin 2.2.22-1ubuntu Apache HTTP Server common binary files ii apache2.2-comm 2.2.22-1ubuntu Apache HTTP Server common files

Through Virtualmin I did the upgrade

I don't see any problems with your Apache version... what you may want to do is see if you're able to perform the update from the command line, outside of Virtualmin.

What happens if you attempt the update by running this command:

apt-get upgrade