Out of space
Ralf Mardorf
silver.bullet at zoho.com
Tue Aug 2 08:01:32 UTC 2016
On Tue, 2 Aug 2016 07:50:45 +0200, Ralf Mardorf wrote:
>You can
>
> sudo apt-get purge linux-headers-4.4.0-18
> linux-headers-4.4.0-18-generic linux-headers-4.4.0-21
>
>and all the other packages from the above list.
Simply run
sudo apt-get purge $(dpkg -l linux*|grep -v $(uname -r|sed "s/[[:alpha:]]//g;s/.$//g;s/-/./g")|grep -v base|grep -v firmware|grep ii|cut -d" " -f3)
so you don't need to add all packages manually. Nobody else should do
this. It most likely works for most installs. However, we checked
that the output of the dpkg line is ok for Richard's install, so he
could do the above. It should be ok without the "s/.$//g" part, too, but
to be absolutely sure, we keep it, since you used it to list the
packages.
More information about the ubuntu-users
mailing list