| $ dpkg -l linux-{image,headers}-"[0-9]*" | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e '[0-9]' | xargs sudo apt-get -y purge | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| You might want to run 'apt-get -f install' to correct these: | |
| The following packages have unmet dependencies: | |
| linux-image-server : Depends: linux-image-3.0.0-32-server but it is not going to be installed | |
| E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment