Gentoo Archives: gentoo-user

From: Michael Hampicke <gentoo-user@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
Date: Fri, 07 Sep 2012 21:17:08
Message-Id: 504A639D.7070004@hadt.biz
In Reply to: Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? by Neil Bothwick
1 Am 07.09.2012 21:52, schrieb Neil Bothwick:
2 > On Fri, 07 Sep 2012 19:26:40 +0200, Michael Hampicke wrote:
3 >
4 >> Well, then this simple little command should help you refresh your
5 >> memory. It shows every install and uninstall of gcc on your system.
6 >>
7 >> With 8 years of emerge.log you are good to go
8 >>
9 >> genlop -ul | grep 'sys-devel/gcc-[0-9]'
10 >
11 > And this week's prize for unnecessary use of pipes and grep goes to...
12 >
13 > genlop -u sys-devel/gcc
14 >
15 > :P
16 >
17 >
18
19 Nope, we not only need the time when gcc was unmerged (-u), but also
20 when it was merged (-l). When there's little time difference between
21 merge and unmerge we can assume, that portage auto-cleaned the old
22 version of gcc. If you combine -u and -l you need to grep (to be exact
23 sys-devel/gcc-[0-9], because of sys-devel/gcc-config and
24 sys-devel/gcc-apple).
25
26 Yeehaw cowboy :) :)

Replies

Subject Author
Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? Neil Bothwick <neil@××××××××××.uk>