This question already has an answer here:
- APT wedged by kernel version mismatch 3 answers
I'm very new to Ubuntu and I messed up something and I cannot install any packages with apt-get install.
Initially I got this error:
The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-36-generic but it is not going to be installed linux-server : Depends: linux-headers-server (= 126.96.36.199.43) but 188.8.131.52.45 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And when I tried to run "sudo apt-get -f install" I get this:
dpkg: dependency problems prevent configuration of linux-image-server: linux-image-server depends on linux-image-3.2.0-36-generic; however: Package linux-image-3.2.0-36-generic is not installed. dpkg: error processing linux-image-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of linux-server: linux-server depends on linux-image-server (= 184.108.40.206.43); however: Package linux-image-server is not configured yet. linux-server depends on linux-headers-server (= 220.127.116.11.43); however: Version of linux-headers-server on system is 18.104.22.168.45. dpkg: error processing linux-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: linux-image-server linux-server E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help is much appreciated because I don't know what to do next.