-
-
Save roxlu/4793b91edddc7a24c348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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