explicitely reinstall linux-image-generic on ubuntu, after removing old kernel
This commit is contained in:
parent
ea1f6c468f
commit
cfe697570c
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
sudo apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)
|
||||
|
||||
sudo apt-get remove -y $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)
|
||||
sudo apt-get install -y linux-image-generic
|
||||
sudo apt-get autoremove
|
||||
|
|
Loading…
Reference in a new issue