[xubuntu-users] Problem with Ubuntu Tweak
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Mon Oct 14 10:09:43 UTC 2013
On Mon, 2013-10-14 at 12:06 +0200, Ralf Mardorf wrote:
> If you want to remove 10 or 15 kernels, I would launch Synaptic and
> check the kernels to purge remove by mouse-click and then rm -r unneeded
^^^^^^ IIRC purge is called "completely" or so by
synaptic and btw. a package hold by apt might be "locked" by Synaptic or
not, I don't remember, since I prefer another distro for a long time and
seldom maintain Ubuntu installs.
> directories in /lib/modules/.
>
> If you want to remove 3547 kernels, I would write a script,
> e.g. sudo apt-mark hold <kernel you want to hold> and then purge remove
> _all_ other kernels, how to do this with less effort is nothing I want
> to think about now, but it's possible, followed by sudo apt-mark unhold
> <kernel you want to hold> and keep in mind that a package management
> usually doesn't remove directories in /lib/modules/, if they are not
> part of the kernel package, so those dirs need to be removed by rm or a
> module packages.
More information about the xubuntu-users
mailing list