* [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
@ 2012-09-07 11:24 Tanstaafl
2012-09-07 11:40 ` Neil Bothwick
` (3 more replies)
0 siblings, 4 replies; 19+ messages in thread
From: Tanstaafl @ 2012-09-07 11:24 UTC (permalink / raw
To: gentoo-user
This has never happened to me before...
Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
install???
I have *always* kept my prior GCC around for a while, if not until the
next upgrade, just as something to fall back on if the current one breaks.
I am NOT a happy camper.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 11:24 [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? Tanstaafl
@ 2012-09-07 11:40 ` Neil Bothwick
2012-09-07 11:41 ` [gentoo-user] " Nikos Chantziaras
` (2 subsequent siblings)
3 siblings, 0 replies; 19+ messages in thread
From: Neil Bothwick @ 2012-09-07 11:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
On Fri, 07 Sep 2012 07:24:44 -0400, Tanstaafl wrote:
> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
> install???
Since always if both versions are in the same slot, which is what I would
expect for a "simple upgrade". A major version step would be in a
different slot (4.5, 4.6 etc) and would be installed alongside your old
version (until you depclean).
--
Neil Bothwick
One difference between a man and a machine is that a machine is quiet
when well oiled.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* [gentoo-user] Re: GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 11:24 [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? Tanstaafl
2012-09-07 11:40 ` Neil Bothwick
@ 2012-09-07 11:41 ` Nikos Chantziaras
2012-09-07 11:44 ` [gentoo-user] " Markos Chandras
2012-09-08 15:06 ` James Cloos
3 siblings, 0 replies; 19+ messages in thread
From: Nikos Chantziaras @ 2012-09-07 11:41 UTC (permalink / raw
To: gentoo-user
On 07/09/12 14:24, Tanstaafl wrote:
> This has never happened to me before...
>
> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
> install???
>
> I have *always* kept my prior GCC around for a while, if not until the
> next upgrade, just as something to fall back on if the current one breaks.
>
> I am NOT a happy camper.
It has always been that way for packages in the same slot. 4.5.3 and
4.5.4 are both in the "4.5" slot. I think you're confusing
patch-version upgrades with major and minor-version ones. If you emerge
GCC 4.6.3, your 4.5.4 version will be kept.
If you really wont to keep multiple patch-versions, then you must set
the "multislot" USE flag for GCC. But unless you have a reason to do
that, and it seems you don't, there's no reason to have multiple such
versions installed.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 11:24 [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? Tanstaafl
2012-09-07 11:40 ` Neil Bothwick
2012-09-07 11:41 ` [gentoo-user] " Nikos Chantziaras
@ 2012-09-07 11:44 ` Markos Chandras
2012-09-07 12:53 ` Tanstaafl
2012-09-08 15:06 ` James Cloos
3 siblings, 1 reply; 19+ messages in thread
From: Markos Chandras @ 2012-09-07 11:44 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 7, 2012 at 12:24 PM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> This has never happened to me before...
>
> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
> install???
>
> I have *always* kept my prior GCC around for a while, if not until the next
> upgrade, just as something to fall back on if the current one breaks.
>
> I am NOT a happy camper.
>
This always happens if the gcc your are upgrading to is in the same
slot as the previous one. It is like a normal package upgrade. You
can't keep both gccs in the same slot. gcc preserves installations
only if they are on different slots. And please write proper subject
on emails. "WTF" is not really appropriate for a mailing list.
Regards,
Markos
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 11:44 ` [gentoo-user] " Markos Chandras
@ 2012-09-07 12:53 ` Tanstaafl
2012-09-07 13:00 ` Michael Mol
` (4 more replies)
0 siblings, 5 replies; 19+ messages in thread
From: Tanstaafl @ 2012-09-07 12:53 UTC (permalink / raw
To: gentoo-user
On 2012-09-07 7:44 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
> On Fri, Sep 7, 2012 at 12:24 PM, Tanstaafl<tanstaafl@libertytrek.org> wrote:
>> This has never happened to me before...
>>
>> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
>> install???
>>
>> I have *always* kept my prior GCC around for a while, if not until the next
>> upgrade, just as something to fall back on if the current one breaks.
>>
>> I am NOT a happy camper.
> This always happens if the gcc your are upgrading to is in the same
> slot as the previous one.
Well, I've been managing this gentoo server since I installed it over 8
years ago, and I don't *ever* recall a GCC upgrade removing my prior
version.
> And please write proper subject on emails. "WTF" is not really
> appropriate for a mailing list.
Don't be stupid. I see that all the time... if you don't like it just
ignore it.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 12:53 ` Tanstaafl
@ 2012-09-07 13:00 ` Michael Mol
2012-09-07 13:12 ` Markos Chandras
` (3 subsequent siblings)
4 siblings, 0 replies; 19+ messages in thread
From: Michael Mol @ 2012-09-07 13:00 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 7, 2012 at 8:53 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-09-07 7:44 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
>>
>> On Fri, Sep 7, 2012 at 12:24 PM, Tanstaafl<tanstaafl@libertytrek.org>
>> wrote:
>>>
>>> This has never happened to me before...
>>>
>>> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
>>> install???
>>>
>>> I have *always* kept my prior GCC around for a while, if not until the
>>> next
>>> upgrade, just as something to fall back on if the current one breaks.
>>>
>>> I am NOT a happy camper.
>
>
>> This always happens if the gcc your are upgrading to is in the same
>> slot as the previous one.
>
>
> Well, I've been managing this gentoo server since I installed it over 8
> years ago, and I don't *ever* recall a GCC upgrade removing my prior
> version.
FWIW, My boxes for the last two years have always removed patch
versions. Depcleans remove old minor versions, if nothing depends on
them.
--
:wq
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 12:53 ` Tanstaafl
2012-09-07 13:00 ` Michael Mol
@ 2012-09-07 13:12 ` Markos Chandras
2012-09-07 14:27 ` Tanstaafl
2012-09-07 13:22 ` Markos Chandras
` (2 subsequent siblings)
4 siblings, 1 reply; 19+ messages in thread
From: Markos Chandras @ 2012-09-07 13:12 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 7, 2012 at 1:53 PM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-09-07 7:44 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
>>
>> On Fri, Sep 7, 2012 at 12:24 PM, Tanstaafl<tanstaafl@libertytrek.org>
>> wrote:
>>>
>>> This has never happened to me before...
>>>
>>> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
>>> install???
>>>
>>> I have *always* kept my prior GCC around for a while, if not until the
>>> next
>>> upgrade, just as something to fall back on if the current one breaks.
>>>
>>> I am NOT a happy camper.
>
>
>> This always happens if the gcc your are upgrading to is in the same
>> slot as the previous one.
>
>
> Well, I've been managing this gentoo server since I installed it over 8
> years ago, and I don't *ever* recall a GCC upgrade removing my prior
> version.
>
All of us told you that you are wrong. Since you insist that Gentoo
always keep multiple gcc versions of the same slot around, then ok , I
guess you know better.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 12:53 ` Tanstaafl
2012-09-07 13:00 ` Michael Mol
2012-09-07 13:12 ` Markos Chandras
@ 2012-09-07 13:22 ` Markos Chandras
2012-09-07 14:29 ` Tanstaafl
2012-09-07 14:25 ` [gentoo-user] " Grant Edwards
2012-09-07 17:26 ` [gentoo-user] " Michael Hampicke
4 siblings, 1 reply; 19+ messages in thread
From: Markos Chandras @ 2012-09-07 13:22 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 7, 2012 at 1:53 PM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-09-07 7:44 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
>>
>> On Fri, Sep 7, 2012 at 12:24 PM, Tanstaafl<tanstaafl@libertytrek.org>
>> wrote:
>>>
>>> This has never happened to me before...
>>>
>>> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
>>> install???
>>>
>>> I have *always* kept my prior GCC around for a while, if not until the
>>> next
>>> upgrade, just as something to fall back on if the current one breaks.
>>>
>>> I am NOT a happy camper.
>
>
>> This always happens if the gcc your are upgrading to is in the same
>> slot as the previous one.
>
>
> Well, I've been managing this gentoo server since I installed it over 8
> years ago, and I don't *ever* recall a GCC upgrade removing my prior
> version.
>
>
>> And please write proper subject on emails. "WTF" is not really
>> appropriate for a mailing list.
>
>
> Don't be stupid. I see that all the time... if you don't like it just ignore
> it.
>
And calling someone who is trying to help you "stupid" is not very
mature. You are on your own
^ permalink raw reply [flat|nested] 19+ messages in thread
* [gentoo-user] Re: GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 12:53 ` Tanstaafl
` (2 preceding siblings ...)
2012-09-07 13:22 ` Markos Chandras
@ 2012-09-07 14:25 ` Grant Edwards
2012-09-07 17:26 ` [gentoo-user] " Michael Hampicke
4 siblings, 0 replies; 19+ messages in thread
From: Grant Edwards @ 2012-09-07 14:25 UTC (permalink / raw
To: gentoo-user
On 2012-09-07, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-09-07 7:44 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
>> This always happens if the gcc your are upgrading to is in the same
>> slot as the previous one.
>
> Well, I've been managing this gentoo server since I installed it over 8
> years ago, and I don't *ever* recall a GCC upgrade removing my prior
> version.
>
>> And please write proper subject on emails. "WTF" is not really
>> appropriate for a mailing list.
>
> Don't be stupid. I see that all the time... if you don't like it just
> ignore it.
Will do.
<plonk>
--
Grant Edwards grant.b.edwards Yow! Here I am in 53
at B.C. and all I want is a
gmail.com dill pickle!!
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 13:12 ` Markos Chandras
@ 2012-09-07 14:27 ` Tanstaafl
2012-09-07 14:58 ` Paul Hartman
0 siblings, 1 reply; 19+ messages in thread
From: Tanstaafl @ 2012-09-07 14:27 UTC (permalink / raw
To: gentoo-user
On 2012-09-07 9:12 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
> On Fri, Sep 7, 2012 at 1:53 PM, Tanstaafl<tanstaafl@libertytrek.org> wrote:
>> Well, I've been managing this gentoo server since I installed it over 8
>> years ago, and I don't *ever* recall a GCC upgrade removing my prior
>> version.
> All of us told you that you are wrong. Since you insist that Gentoo
> always keep multiple gcc versions of the same slot around, then ok , I
> guess you know better.
I'm simply saying that I have always been very careful with GCC upgrades
(among a few others), and I have always kept the prior version around,
using gcc-select to switch to the new version after the upgrade.
I guess the only explanation if what you guys are saying is correct is
that I've never done a minor upgrade for the version in the current slot...
Weird...
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 13:22 ` Markos Chandras
@ 2012-09-07 14:29 ` Tanstaafl
2012-09-07 14:44 ` Michael Mol
0 siblings, 1 reply; 19+ messages in thread
From: Tanstaafl @ 2012-09-07 14:29 UTC (permalink / raw
To: gentoo-user
On 2012-09-07 9:22 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
> On Fri, Sep 7, 2012 at 1:53 PM, Tanstaafl<tanstaafl@libertytrek.org> wrote:
>> Don't be stupid. I see that all the time... if you don't like it just ignore
>> it.
> And calling someone who is trying to help you "stupid" is not very
> mature. You are on your own
Sorry... I should have said 'That is stupid'... I didn't mean that *you*
were stupid, I meant that what you said was stupid, and it was... I see
people use wtf on lists all the time, so saying I shouldn't use it is -
well, stupid...
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 14:29 ` Tanstaafl
@ 2012-09-07 14:44 ` Michael Mol
0 siblings, 0 replies; 19+ messages in thread
From: Michael Mol @ 2012-09-07 14:44 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 7, 2012 at 10:29 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> On 2012-09-07 9:22 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
>>
>> On Fri, Sep 7, 2012 at 1:53 PM, Tanstaafl<tanstaafl@libertytrek.org>
>> wrote:
>>>
>>> Don't be stupid. I see that all the time... if you don't like it just
>>> ignore
>>> it.
>
>
>> And calling someone who is trying to help you "stupid" is not very
>> mature. You are on your own
>
>
> Sorry... I should have said 'That is stupid'... I didn't mean that *you*
> were stupid, I meant that what you said was stupid, and it was... I see
> people use wtf on lists all the time, so saying I shouldn't use it is -
> well, stupid...
Every mailing list is like its own group of friends and acquaintances,
and has its own social rules. Just because some lists uses phrases
like WTF doesn't mean it fits into the cultures of the rest.
Not that _I_ care, but obviously others do, and so I filter myself accordingly.
--
:wq
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 14:27 ` Tanstaafl
@ 2012-09-07 14:58 ` Paul Hartman
0 siblings, 0 replies; 19+ messages in thread
From: Paul Hartman @ 2012-09-07 14:58 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 7, 2012 at 9:27 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> I guess the only explanation if what you guys are saying is correct is that
> I've never done a minor upgrade for the version in the current slot...
Basically any slotted package works this way. Upgrades within the same
slot replace the previous version within the same slot. You can only
have one version installed in each slot at any given time.
Using eix we can see the versions currently in portage (as of my last
sync) for each slot:
[I] sys-devel/gcc
Available versions:
(2.95) *2.95.3-r9 ~*2.95.3-r10^s
(3.1) *3.1.1-r2
(3.2) **3.2.2^s *3.2.3-r4
(3.3) (~)3.3.6-r1^s
(3.4) 3.4.6-r2^s
(4.0) ~*4.0.4^s
(4.1) 4.1.2^s
(4.2) (~)4.2.4-r1^s
(4.3) (~)4.3.3-r2^s{tbz2} 4.3.4^s{tbz2} (~)4.3.5^s 4.3.6-r1^s
(4.4) (~)4.4.2^s{tbz2} (~)4.4.3-r3^s 4.4.4-r2^s{tbz2}
4.4.5^s{tbz2} 4.4.6-r1^s 4.4.7^s
(4.5) (~)4.5.1-r1^s{tbz2} (~)4.5.2^s{tbz2} 4.5.3-r2^s{tbz2} 4.5.4^s
(4.6) (~)4.6.0^s (~)4.6.1-r1^s (~)4.6.2^s (~)4.6.3^s{tbz2}
(4.7) [M]**4.7.0^s [M]**4.7.1^s
So, for example, you can see the 4.5 slot contains 4.5.1, 4.5.2,
4.5.3, 4.5.4. You can only have one of those installed at any given
time.
Off the top of my head, the only packages that routinely have slots
for every patch release are kernel packages.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 12:53 ` Tanstaafl
` (3 preceding siblings ...)
2012-09-07 14:25 ` [gentoo-user] " Grant Edwards
@ 2012-09-07 17:26 ` Michael Hampicke
2012-09-07 19:52 ` Neil Bothwick
4 siblings, 1 reply; 19+ messages in thread
From: Michael Hampicke @ 2012-09-07 17:26 UTC (permalink / raw
To: gentoo-user
Am 07.09.2012 14:53, schrieb Tanstaafl:
> On 2012-09-07 7:44 AM, Markos Chandras <hwoarang@gentoo.org> wrote:
>> On Fri, Sep 7, 2012 at 12:24 PM, Tanstaafl<tanstaafl@libertytrek.org>
>> wrote:
>>> This has never happened to me before...
>>>
>>> Since when did a simple GCC upgrade *automatically* REMOVE my prior GCC
>>> install???
>>>
>>> I have *always* kept my prior GCC around for a while, if not until
>>> the next
>>> upgrade, just as something to fall back on if the current one breaks.
>>>
>>> I am NOT a happy camper.
>
>> This always happens if the gcc your are upgrading to is in the same
>> slot as the previous one.
>
> Well, I've been managing this gentoo server since I installed it over 8
> years ago, and I don't *ever* recall a GCC upgrade removing my prior
> version.
>
Well, then this simple little command should help you refresh your
memory. It shows every install and uninstall of gcc on your system.
With 8 years of emerge.log you are good to go
genlop -ul | grep 'sys-devel/gcc-[0-9]'
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 17:26 ` [gentoo-user] " Michael Hampicke
@ 2012-09-07 19:52 ` Neil Bothwick
2012-09-07 21:14 ` Michael Hampicke
0 siblings, 1 reply; 19+ messages in thread
From: Neil Bothwick @ 2012-09-07 19:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
On Fri, 07 Sep 2012 19:26:40 +0200, Michael Hampicke wrote:
> Well, then this simple little command should help you refresh your
> memory. It shows every install and uninstall of gcc on your system.
>
> With 8 years of emerge.log you are good to go
>
> genlop -ul | grep 'sys-devel/gcc-[0-9]'
And this week's prize for unnecessary use of pipes and grep goes to...
genlop -u sys-devel/gcc
:P
--
Neil Bothwick
BING But It's Not Google
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 19:52 ` Neil Bothwick
@ 2012-09-07 21:14 ` Michael Hampicke
2012-09-07 22:59 ` Neil Bothwick
0 siblings, 1 reply; 19+ messages in thread
From: Michael Hampicke @ 2012-09-07 21:14 UTC (permalink / raw
To: gentoo-user
Am 07.09.2012 21:52, schrieb Neil Bothwick:
> On Fri, 07 Sep 2012 19:26:40 +0200, Michael Hampicke wrote:
>
>> Well, then this simple little command should help you refresh your
>> memory. It shows every install and uninstall of gcc on your system.
>>
>> With 8 years of emerge.log you are good to go
>>
>> genlop -ul | grep 'sys-devel/gcc-[0-9]'
>
> And this week's prize for unnecessary use of pipes and grep goes to...
>
> genlop -u sys-devel/gcc
>
> :P
>
>
Nope, we not only need the time when gcc was unmerged (-u), but also
when it was merged (-l). When there's little time difference between
merge and unmerge we can assume, that portage auto-cleaned the old
version of gcc. If you combine -u and -l you need to grep (to be exact
sys-devel/gcc-[0-9], because of sys-devel/gcc-config and
sys-devel/gcc-apple).
Yeehaw cowboy :) :)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 21:14 ` Michael Hampicke
@ 2012-09-07 22:59 ` Neil Bothwick
2012-09-07 23:32 ` Michael Hampicke
0 siblings, 1 reply; 19+ messages in thread
From: Neil Bothwick @ 2012-09-07 22:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1644 bytes --]
On Fri, 07 Sep 2012 23:14:05 +0200, Michael Hampicke wrote:
> >> genlop -ul | grep 'sys-devel/gcc-[0-9]'
> >
> > And this week's prize for unnecessary use of pipes and grep goes to...
> >
> > genlop -u sys-devel/gcc
> Nope, we not only need the time when gcc was unmerged (-u), but also
> when it was merged (-l). When there's little time difference between
> merge and unmerge we can assume, that portage auto-cleaned the old
> version of gcc. If you combine -u and -l you need to grep (to be exact
> sys-devel/gcc-[0-9], because of sys-devel/gcc-config and
> sys-devel/gcc-apple).
genlop, unlike qlop, does exact matching by default, so gcc mtches only
gcc, not gcc-config (use -s if you want that). When you give a package
name all merges are shown by default (-l is to show the full
history), so the command I gave does what you want, like this
Thu Jun 21 01:45:05 2012 <<< sys-devel/gcc-4.5.3-r2
Thu Jun 21 01:45:33 2012 >>> sys-devel/gcc-4.5.3-r2
Mon Jul 16 10:30:01 2012 <<< sys-devel/gcc-4.5.3-r2
Mon Jul 16 10:30:32 2012 >>> sys-devel/gcc-4.5.4
Thu Sep 6 11:24:27 2012 <<< sys-devel/gcc-4.6.3
Thu Sep 6 11:24:45 2012 >>> sys-devel/gcc-4.6.3
Thu Sep 6 11:26:15 2012 <<< sys-devel/gcc-4.5.4
Thu Sep 6 11:26:43 2012 >>> sys-devel/gcc-4.5.4
Except it is coloured by default when outputting to a terminal, merges in
green, unmerges in red. Using -l and then grep is saying "show me
everything, oh no, cut out anything that's not gcc" rather than "show me
all gcc merges and unmerges".
--
Neil Bothwick
There's no place like http://www.home.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 22:59 ` Neil Bothwick
@ 2012-09-07 23:32 ` Michael Hampicke
0 siblings, 0 replies; 19+ messages in thread
From: Michael Hampicke @ 2012-09-07 23:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2254 bytes --]
2012/9/8 Neil Bothwick <neil@digimed.co.uk>
> On Fri, 07 Sep 2012 23:14:05 +0200, Michael Hampicke wrote:
>
> > >> genlop -ul | grep 'sys-devel/gcc-[0-9]'
> > >
> > > And this week's prize for unnecessary use of pipes and grep goes to...
> > >
> > > genlop -u sys-devel/gcc
>
> > Nope, we not only need the time when gcc was unmerged (-u), but also
> > when it was merged (-l). When there's little time difference between
> > merge and unmerge we can assume, that portage auto-cleaned the old
> > version of gcc. If you combine -u and -l you need to grep (to be exact
> > sys-devel/gcc-[0-9], because of sys-devel/gcc-config and
> > sys-devel/gcc-apple).
>
> genlop, unlike qlop, does exact matching by default, so gcc mtches only
> gcc, not gcc-config (use -s if you want that). When you give a package
> name all merges are shown by default (-l is to show the full
> history), so the command I gave does what you want, like this
>
> Thu Jun 21 01:45:05 2012 <<< sys-devel/gcc-4.5.3-r2
> Thu Jun 21 01:45:33 2012 >>> sys-devel/gcc-4.5.3-r2
> Mon Jul 16 10:30:01 2012 <<< sys-devel/gcc-4.5.3-r2
> Mon Jul 16 10:30:32 2012 >>> sys-devel/gcc-4.5.4
> Thu Sep 6 11:24:27 2012 <<< sys-devel/gcc-4.6.3
> Thu Sep 6 11:24:45 2012 >>> sys-devel/gcc-4.6.3
> Thu Sep 6 11:26:15 2012 <<< sys-devel/gcc-4.5.4
> Thu Sep 6 11:26:43 2012 >>> sys-devel/gcc-4.5.4
>
> Except it is coloured by default when outputting to a terminal, merges in
> green, unmerges in red. Using -l and then grep is saying "show me
> everything, oh no, cut out anything that's not gcc" rather than "show me
> all gcc merges and unmerges".
>
>
I tried your command before answering you - so I don't look like a fool :)
And I am 100% certain that genlop -u <package> only showed unmerges when I
tested it on my workstation (that's the reason I added -l | grep). However,
just now I tested it again on my notebook, and it works like you described
it (and like how you would expect it to work). Have to try it again on my
WS on monday.
Anyhoo, my point was to show the OP how he could check for himself that
portage always unmerges older packages when upgrading to newer versions in
the same slot - and for that, both solutions work.
Going to bed now
[-- Attachment #2: Type: text/html, Size: 2899 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf???
2012-09-07 11:24 [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? Tanstaafl
` (2 preceding siblings ...)
2012-09-07 11:44 ` [gentoo-user] " Markos Chandras
@ 2012-09-08 15:06 ` James Cloos
3 siblings, 0 replies; 19+ messages in thread
From: James Cloos @ 2012-09-08 15:06 UTC (permalink / raw
To: gentoo-user
If you want gcc's minor versions in their own slots, then you want the
mutislot use flag:
:; euses multislot
sys-devel/gcc:multislot - Allow for SLOTs to include minor version (3.3.4 instead of just 3.3)
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2012-09-08 15:11 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-07 11:24 [gentoo-user] GCC upgrade from 4.5.3 to 4.5.4 automatically removes 4.5.3???? Wtf??? Tanstaafl
2012-09-07 11:40 ` Neil Bothwick
2012-09-07 11:41 ` [gentoo-user] " Nikos Chantziaras
2012-09-07 11:44 ` [gentoo-user] " Markos Chandras
2012-09-07 12:53 ` Tanstaafl
2012-09-07 13:00 ` Michael Mol
2012-09-07 13:12 ` Markos Chandras
2012-09-07 14:27 ` Tanstaafl
2012-09-07 14:58 ` Paul Hartman
2012-09-07 13:22 ` Markos Chandras
2012-09-07 14:29 ` Tanstaafl
2012-09-07 14:44 ` Michael Mol
2012-09-07 14:25 ` [gentoo-user] " Grant Edwards
2012-09-07 17:26 ` [gentoo-user] " Michael Hampicke
2012-09-07 19:52 ` Neil Bothwick
2012-09-07 21:14 ` Michael Hampicke
2012-09-07 22:59 ` Neil Bothwick
2012-09-07 23:32 ` Michael Hampicke
2012-09-08 15:06 ` James Cloos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox