Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Any consequences to package.mask'ing newer kernels?
Date: Mon, 16 Apr 2007 13:16:43
Message-Id: 200704161507.01695.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] Any consequences to package.mask'ing newer kernels? by Neil Bothwick
1 On Monday 16 April 2007 15:00:30 Neil Bothwick wrote:
2 > On Fri, 13 Apr 2007 08:40:10 +0100, Neil Bothwick wrote:
3 > > > > equery --quiet --nocolor list --duplicates gentoo-sources | awk
4 > > > > '{print $1}' | head -n -2 | xargs --no-run-if-empty emerge
5 > > > > --unmerge &>/dev/null
6 > > >
7 > > > Out of interest:
8 > > >
9 > > > 1) Why --duplicates (i.e. am I missing something ;).
10 > >
11 > > No idea, I wrote the script a couple of years ago, if I'd wanted to
12 > > remember how it worked I'd have commented it. :)
13 >
14 > I remember now. If you have only one kernel installed, --duplicates
15 > prevents it being uninstalled - quite a useful feature ;-)
16
17 head -n -2 would prevent that anyway. As well as preventing the deletion
18 from /boot and /lib/modules (where it really matters)..
19
20 --
21 Bo Andresen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Any consequences to package.mask'ing newer kernels? Neil Bothwick <neil@××××××××××.uk>