* [gentoo-user] upgrade to gcc-6.4.0
@ 2018-03-16 2:26 thelma
2018-03-16 2:37 ` thelma
2018-03-16 2:51 ` Nikos Chantziaras
0 siblings, 2 replies; 5+ messages in thread
From: thelma @ 2018-03-16 2:26 UTC (permalink / raw
To: Gentoo mailing list
I'm upgrading one of my older boxes to newer gcc-6.4.0
After switching to gcc-6.4.0
source /etc/profile
running: emerge --ask --oneshot sys-devel/libtool
!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:
default/linux/amd64/17.0/desktop
You may use the following command to upgrade:
eselect profile set default/linux/amd64/17.0/desktop
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-devel/automake-1.15.1-r2 [1.15-r2] USE="{-test%}"
[ebuild R ] sys-devel/libtool-2.4.6-r3
[blocks B ] <sys-apps/sandbox-2.10-r4 ("<sys-apps/sandbox-2.10-r4" is blocking sys-devel/libtool-2.4.6-r3)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
------
I did not switch to new profile "17" yet. I was trying to rebuild "sys-devel/libtool" first, but got a blocker.
--
Thelma
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] upgrade to gcc-6.4.0
2018-03-16 2:26 [gentoo-user] upgrade to gcc-6.4.0 thelma
@ 2018-03-16 2:37 ` thelma
2018-03-30 13:52 ` [gentoo-user] " Kai Krakow
2018-03-16 2:51 ` Nikos Chantziaras
1 sibling, 1 reply; 5+ messages in thread
From: thelma @ 2018-03-16 2:37 UTC (permalink / raw
To: gentoo-user
On 03/15/2018 08:26 PM, thelma@sys-concept.com wrote:
> I'm upgrading one of my older boxes to newer gcc-6.4.0
> After switching to gcc-6.4.0
> source /etc/profile
>
> running: emerge --ask --oneshot sys-devel/libtool
>
> !!! Your current profile is deprecated and not supported anymore.
> !!! Use eselect profile to update your profile.
> !!! Please upgrade to the following profile if possible:
>
> default/linux/amd64/17.0/desktop
>
> You may use the following command to upgrade:
>
> eselect profile set default/linux/amd64/17.0/desktop
>
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild U ] sys-devel/automake-1.15.1-r2 [1.15-r2] USE="{-test%}"
> [ebuild R ] sys-devel/libtool-2.4.6-r3
> [blocks B ] <sys-apps/sandbox-2.10-r4 ("<sys-apps/sandbox-2.10-r4" is blocking sys-devel/libtool-2.4.6-r3)
>
> * Error: The above package list contains packages which cannot be
> * installed at the same time on the same system.
> ------
> I did not switch to new profile "17" yet. I was trying to rebuild "sys-devel/libtool" first, but got a blocker.
I upgraded the "sys-apps/sandbox" and now it allows me to run:
emerge --ask --oneshot sys-devel/libtool
So why didn't emerge do it automatically, upgrade the "sandbox" ?
--
Thelma
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: upgrade to gcc-6.4.0
2018-03-16 2:26 [gentoo-user] upgrade to gcc-6.4.0 thelma
2018-03-16 2:37 ` thelma
@ 2018-03-16 2:51 ` Nikos Chantziaras
2018-03-16 3:31 ` thelma
1 sibling, 1 reply; 5+ messages in thread
From: Nikos Chantziaras @ 2018-03-16 2:51 UTC (permalink / raw
To: gentoo-user
On 16/03/18 04:26, thelma@sys-concept.com wrote:
> !!! Your current profile is deprecated and not supported anymore.
> !!! Use eselect profile to update your profile.
> !!! Please upgrade to the following profile if possible:
>
> default/linux/amd64/17.0/desktop
>
> You may use the following command to upgrade:
>
> eselect profile set default/linux/amd64/17.0/desktop
> [...]
> I did not switch to new profile "17" yet. I was trying to rebuild "sys-devel/libtool" first, but got a blocker.
There's a news item describing how to upgrade the profile. It involves a
full world rebuild though, so you should probably schedule that
appropriately.
$ eselect news list
to see current news items. The item in question has the title:
[number] New 17.0 profiles in the Gentoo repository
to read it, use:
$ eselect news read [number]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: upgrade to gcc-6.4.0
2018-03-16 2:51 ` Nikos Chantziaras
@ 2018-03-16 3:31 ` thelma
0 siblings, 0 replies; 5+ messages in thread
From: thelma @ 2018-03-16 3:31 UTC (permalink / raw
To: gentoo-user
On 03/15/2018 08:51 PM, Nikos Chantziaras wrote:
[snip]
>> I did not switch to new profile "17" yet. I was trying to rebuild
>> "sys-devel/libtool" first, but got a blocker.
>
> There's a news item describing how to upgrade the profile. It involves a
> full world rebuild though, so you should probably schedule that
> appropriately.
>
> $ eselect news list
>
> to see current news items. The item in question has the title:
>
> [number] New 17.0 profiles in the Gentoo repository
>
> to read it, use:
Yes, I was following it.
----------quote-----------
If you are not already running a hardened setup with PIE enabled, then
switching the profile involves the following steps:
If not already done,
* Use gcc-config to select gcc-6.4.0 or later as system compiler
* Re-source /etc/profile:
. /etc/profile
* Re-emerge libtool
emerge -1 sys-devel/libtool
Then,
* Select the new profile with eselect
* Re-emerge, in this sequence, gcc, binutils, and glibc
emerge -1 sys-devel/gcc:6.4.0
emerge -1 sys-devel/binutils
emerge -1 sys-libs/glibc
* Rebuild your entire system
emerge -e @world
--------end quote----------
Though, I still run onto the error I posted above but it is solved now.
---
Thelma
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: upgrade to gcc-6.4.0
2018-03-16 2:37 ` thelma
@ 2018-03-30 13:52 ` Kai Krakow
0 siblings, 0 replies; 5+ messages in thread
From: Kai Krakow @ 2018-03-30 13:52 UTC (permalink / raw
To: gentoo-user
Am Thu, 15 Mar 2018 20:37:45 -0600 schrieb thelma:
> On 03/15/2018 08:26 PM, thelma@sys-concept.com wrote:
>> I'm upgrading one of my older boxes to newer gcc-6.4.0
>> After switching to gcc-6.4.0
>> source /etc/profile
>>
>> running: emerge --ask --oneshot sys-devel/libtool
>>
>> !!! Your current profile is deprecated and not supported anymore.
>> !!! Use eselect profile to update your profile.
>> !!! Please upgrade to the following profile if possible:
>>
>> default/linux/amd64/17.0/desktop
>>
>> You may use the following command to upgrade:
>>
>> eselect profile set default/linux/amd64/17.0/desktop
>>
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild U ] sys-devel/automake-1.15.1-r2 [1.15-r2] USE="{-test%}"
>> [ebuild R ] sys-devel/libtool-2.4.6-r3
>> [blocks B ] <sys-apps/sandbox-2.10-r4 ("<sys-apps/sandbox-2.10-r4" is blocking sys-devel/libtool-2.4.6-r3)
>>
>> * Error: The above package list contains packages which cannot be
>> * installed at the same time on the same system.
>> ------
>> I did not switch to new profile "17" yet. I was trying to rebuild "sys-devel/libtool" first, but got a blocker.
>
> I upgraded the "sys-apps/sandbox" and now it allows me to run:
> emerge --ask --oneshot sys-devel/libtool
>
> So why didn't emerge do it automatically, upgrade the "sandbox" ?
Running "emerge --oneshot" doesn't consider reverse dependencies.
You can manually inject those with
# emerge --ask --oneshot sys-devel/libtool --reinstall-atoms=sys-apps/sandbox
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you want to inject more than one dependency, use
# ... --reinstall-atoms={a,b,c}
or
# ... --reinstall-atoms="a b c"
--
Regards,
Kai
Replies to list-only preferred.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-03-30 13:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-16 2:26 [gentoo-user] upgrade to gcc-6.4.0 thelma
2018-03-16 2:37 ` thelma
2018-03-30 13:52 ` [gentoo-user] " Kai Krakow
2018-03-16 2:51 ` Nikos Chantziaras
2018-03-16 3:31 ` thelma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox