public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
@ 2005-04-08 23:35 David Sparks
  2005-04-08 23:39 ` Francesco Riosa
  2005-04-08 23:42 ` Mike Frysinger
  0 siblings, 2 replies; 13+ messages in thread
From: David Sparks @ 2005-04-08 23:35 UTC (permalink / raw
  To: gentoo-dev

Why was the x86-1.4 profile deleted?  I have several machines that after
a `emerge sync` now have a non-functional profile:


# ls -ld make.profile

lrwxrwxrwx  1 root root    39 Nov 14  2003 make.profile ->
../usr/portage/profiles/default-x86-1.4


# ls -ld ../usr/portage/profiles/default-x86-1.4
ls: ../usr/portage/profiles/default-x86-1.4: No such file or directory


I tried symlinking make.profile to a newer profile and got this:

!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)


ds
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-08 23:35 [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4) David Sparks
@ 2005-04-08 23:39 ` Francesco Riosa
  2005-04-08 23:57   ` David Sparks
  2005-04-08 23:42 ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Francesco Riosa @ 2005-04-08 23:39 UTC (permalink / raw
  To: gentoo-dev

David Sparks wrote:

>Why was the x86-1.4 profile deleted?  I have several machines that after
>a `emerge sync` now have a non-functional profile:
>  
>
because 2004.0 is the same as 1.4 (don't ask where I've readed it)

>
># ls -ld make.profile
>
>lrwxrwxrwx  1 root root    39 Nov 14  2003 make.profile ->
>../usr/portage/profiles/default-x86-1.4
>
>
># ls -ld ../usr/portage/profiles/default-x86-1.4
>ls: ../usr/portage/profiles/default-x86-1.4: No such file or directory
>
>
>I tried symlinking make.profile to a newer profile and got this:
>
>!!! 'str' object has no attribute 'insert'
>!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
>!!! not then please report this to bugs.gentoo.org and, if possible, a dev
>!!! on #gentoo (irc.freenode.org)
>
>
>ds
>--
>gentoo-dev@gentoo.org mailing list
>
>
>  
>

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-08 23:35 [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4) David Sparks
  2005-04-08 23:39 ` Francesco Riosa
@ 2005-04-08 23:42 ` Mike Frysinger
  1 sibling, 0 replies; 13+ messages in thread
From: Mike Frysinger @ 2005-04-08 23:42 UTC (permalink / raw
  To: gentoo-dev

On Friday 08 April 2005 07:35 pm, David Sparks wrote:
> Why was the x86-1.4 profile deleted?

this was announced quite a while ago

> I tried symlinking make.profile to a newer profile and got this:

unlink that profile, update your portage to the latest version, and then set 
the profile to default-linux/x86/2005.0
-mike
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-08 23:39 ` Francesco Riosa
@ 2005-04-08 23:57   ` David Sparks
  2005-04-09  0:02     ` Mike Frysinger
  0 siblings, 1 reply; 13+ messages in thread
From: David Sparks @ 2005-04-08 23:57 UTC (permalink / raw
  To: gentoo-dev

Francesco Riosa wrote:
> David Sparks wrote:
> 
>> Why was the x86-1.4 profile deleted?  I have several machines that after
>> a `emerge sync` now have a non-functional profile:
>>  
>>
> because 2004.0 is the same as 1.4 (don't ask where I've readed it)

I tried linking to 2004.0 and got the same error as below.

>> !!! 'str' object has no attribute 'insert'
>> !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
>> !!! not then please report this to bugs.gentoo.org and, if possible, a
>> dev
>> !!! on #gentoo (irc.freenode.org)



>>> I tried symlinking make.profile to a newer profile and got this:
> 
> 
> unlink that profile, update your portage to the latest version, and then set 
> the profile to default-linux/x86/2005.0

# rm make.profile
# emerge portage


!!! /etc/make.profile is not a symlink and will probably prevent most
merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-08 23:57   ` David Sparks
@ 2005-04-09  0:02     ` Mike Frysinger
  2005-04-09  0:24       ` David Sparks
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2005-04-09  0:02 UTC (permalink / raw
  To: gentoo-dev

On Friday 08 April 2005 07:57 pm, David Sparks wrote:
> !!! ARCH is not set... Are you missing the /etc/make.profile symlink?
> !!! Is the symlink correct? Is your portage tree complete?

so use 'default-x86-2004.2', emerge portage, and then switch to the cascading 
version
-mike
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  0:02     ` Mike Frysinger
@ 2005-04-09  0:24       ` David Sparks
  2005-04-09  0:33         ` Mike Frysinger
  2005-04-09  0:35         ` Brett I. Holcomb
  0 siblings, 2 replies; 13+ messages in thread
From: David Sparks @ 2005-04-09  0:24 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:
> On Friday 08 April 2005 07:57 pm, David Sparks wrote:
> 
>>!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
>>!!! Is the symlink correct? Is your portage tree complete?
> 
> 
> so use 'default-x86-2004.2', emerge portage, and then switch to the cascading 
> version

Thanks for the suggestions, I've tried 2004.0 .1 .2 .3 with similar
results as below.

I also tried coping a binary package into /usr/portage/packages/... and
emerging it with the -K option but that didn't go either.


 # rm make.profile
 # ln -s ../usr/portage/profiles/default-linux/x86/2004.2 make.profile
 # emerge portage

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
        default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If
you wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml


!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  0:24       ` David Sparks
@ 2005-04-09  0:33         ` Mike Frysinger
  2005-04-09  1:03           ` David Sparks
  2005-04-09  0:35         ` Brett I. Holcomb
  1 sibling, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2005-04-09  0:33 UTC (permalink / raw
  To: gentoo-dev

On Friday 08 April 2005 08:24 pm, David Sparks wrote:
> Mike Frysinger wrote:
> > On Friday 08 April 2005 07:57 pm, David Sparks wrote:
> >>!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
> >>!!! Is the symlink correct? Is your portage tree complete?
> >
> > so use 'default-x86-2004.2', emerge portage, and then switch to the
> > cascading version
>
> Thanks for the suggestions, I've tried 2004.0 .1 .2 .3 with similar
> results as below.

you didnt use the one i suggested the 2nd time around ...
# ln -sf ../usr/portage/profiles/default-x86-2004.2 /etc/make.profile
-mike
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  0:24       ` David Sparks
  2005-04-09  0:33         ` Mike Frysinger
@ 2005-04-09  0:35         ` Brett I. Holcomb
  2005-04-09  0:41           ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Brett I. Holcomb @ 2005-04-09  0:35 UTC (permalink / raw
  To: gentoo-dev

Question here - I made the link to the 2005.0 profile on (NOT 2005.0/2.4) 
a system that is 2.6.11 and has been on 2.6 for months.  Tonight emerge 
-uD system -p wants to "upgrade" me to a 2.4 kernel!!!  Well, portage this 
is a 2.6.x system - not 2.4 - duh!  From what I found in the mail list 
archives and forums noone has really given a solution.  Some say "what 
problem", others give reasons for it but the fact remains - why on a 2.6 
system that has happily been running 2.6 for months does this new profile 
want to give me a 2.4 kernel.  I did follow one suggest and symlink to 
default-linux/x86 directory but I'm afraid that will break something so I 
went back to 2004.0 for the symlink.  And I am at portage 2.0.51.19 so 
that's good.

In short - what do we have to do to upgrade to a current profile on 2.6 
machines and get 2.6 gentoo-source updates, not 2.4.

Thanks.


  On Fri, 8 Apr 2005, David Sparks wrote:

> Mike Frysinger wrote:
>> On Friday 08 April 2005 07:57 pm, David Sparks wrote:
>>
>>> !!! ARCH is not set... Are you missing the /etc/make.profile symlink?
>>> !!! Is the symlink correct? Is your portage tree complete?
>>
>>
>> so use 'default-x86-2004.2', emerge portage, and then switch to the cascading
>> version
>
> Thanks for the suggestions, I've tried 2004.0 .1 .2 .3 with similar
> results as below.
>
> I also tried coping a binary package into /usr/portage/packages/... and
> emerging it with the -K option but that didn't go either.
>
>
> # rm make.profile
> # ln -s ../usr/portage/profiles/default-linux/x86/2004.2 make.profile
> # emerge portage
>
> !!! Your current profile is deprecated and not supported anymore.
> !!! Please upgrade to the following profile if possible:
>        default-linux/x86/2005.0
>
> To upgrade do the following steps:
> # emerge -n '>=sys-apps/portage-2.0.51'
> # cd /etc/
> # rm make.profile
> # ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile
>
> # Gentoo has switched to 2.6 as the defaults for headers/kernels.  If
> you wish
> # to use 2.4 headers/kernels, then you should do the following to upgrade:
> # emerge -n '>=sys-apps/portage-2.0.51'
> # cd /etc/
> # rm make.profile
> # ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile
>
> # More information can be found at the following URLs:
> # http://www.gentoo.org/doc/en/gentoo-upgrading.xml
> # http://www.gentoo.org/doc/en/migration-to-2.6.xml
>
>
> !!! 'str' object has no attribute 'insert'
> !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
> !!! not then please report this to bugs.gentoo.org and, if possible, a dev
> !!! on #gentoo (irc.freenode.org)
> --
> gentoo-dev@gentoo.org mailing list
>

-- 

Brett I. Holcomb
brettholcomb@R777charter.net
Registered Linux User #188143
Remove R777 to email
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  0:35         ` Brett I. Holcomb
@ 2005-04-09  0:41           ` Mike Frysinger
  2005-04-09  1:21             ` Brett I. Holcomb
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2005-04-09  0:41 UTC (permalink / raw
  To: gentoo-dev

On Friday 08 April 2005 08:35 pm, Brett I. Holcomb wrote:
> In short - what do we have to do to upgrade to a current profile on 2.6
> machines and get 2.6 gentoo-source updates, not 2.4.

if you use 'default-linux/x86/2005.0' as your profile, it should be giving you 
2.6 kernels ... in order to get 2.4 stuff, you should use 
'default-linux/x86/2005.0/2.4'

what does `emerge >=gentoo-sources-2.6` show ?
-mike
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  0:33         ` Mike Frysinger
@ 2005-04-09  1:03           ` David Sparks
  0 siblings, 0 replies; 13+ messages in thread
From: David Sparks @ 2005-04-09  1:03 UTC (permalink / raw
  To: gentoo-dev

>>Thanks for the suggestions, I've tried 2004.0 .1 .2 .3 with similar
>>results as below.
> 
> 
> you didnt use the one i suggested the 2nd time around ...

Opps, I didn't notice I was using the wrong directory!

Thanks for the help.
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  0:41           ` Mike Frysinger
@ 2005-04-09  1:21             ` Brett I. Holcomb
  2005-04-09  2:02               ` Mike Frysinger
  0 siblings, 1 reply; 13+ messages in thread
From: Brett I. Holcomb @ 2005-04-09  1:21 UTC (permalink / raw
  To: gentoo-dev

Nope. I got 2.4 when I logged in, did an emerge -uD system -p. I went back 
and created the symlink to 2005.0 again and now it appears to work - I 
even rebooted.  However, I did NOT have a symlink to 2.4 so who knows.

Here's the output (before recreating the symlink)

brett@gandalf brett $ emerge >=gentoo-sources-2.6 -p

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
         default-linux/x86/2005.0

To upgrade do the following steps:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0 make.profile

# Gentoo has switched to 2.6 as the defaults for headers/kernels.  If you 
wish
# to use 2.4 headers/kernels, then you should do the following to upgrade:
# emerge -n '>=sys-apps/portage-2.0.51'
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile

# More information can be found at the following URLs:
# http://www.gentoo.org/doc/en/gentoo-upgrading.xml
# http://www.gentoo.org/doc/en/migration-to-2.6.xml


On Fri, 8 Apr 2005, Mike Frysinger wrote:

> On Friday 08 April 2005 08:35 pm, Brett I. Holcomb wrote:
>> In short - what do we have to do to upgrade to a current profile on 2.6
>> machines and get 2.6 gentoo-source updates, not 2.4.
>
> if you use 'default-linux/x86/2005.0' as your profile, it should be giving you
> 2.6 kernels ... in order to get 2.4 stuff, you should use
> 'default-linux/x86/2005.0/2.4'
>
> what does `emerge >=gentoo-sources-2.6` show ?
> -mike
> --
> gentoo-dev@gentoo.org mailing list
>

-- 

Brett I. Holcomb
brettholcomb@R777charter.net
Registered Linux User #188143
Remove R777 to email
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  1:21             ` Brett I. Holcomb
@ 2005-04-09  2:02               ` Mike Frysinger
  2005-04-09  3:01                 ` Brett I. Holcomb
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2005-04-09  2:02 UTC (permalink / raw
  To: gentoo-dev

On Friday 08 April 2005 09:21 pm, Brett I. Holcomb wrote:
> Nope. I got 2.4 when I logged in, did an emerge -uD system -p. I went back
> and created the symlink to 2005.0 again and now it appears to work - I
> even rebooted.  However, I did NOT have a symlink to 2.4 so who knows.

well if you can recreate the issue please drop us more info ;)
-mike
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4)
  2005-04-09  2:02               ` Mike Frysinger
@ 2005-04-09  3:01                 ` Brett I. Holcomb
  0 siblings, 0 replies; 13+ messages in thread
From: Brett I. Holcomb @ 2005-04-09  3:01 UTC (permalink / raw
  To: gentoo-dev

Will do - I know I saw it once!!!

On Fri, 8 Apr 2005, Mike Frysinger wrote:

> On Friday 08 April 2005 09:21 pm, Brett I. Holcomb wrote:
>> Nope. I got 2.4 when I logged in, did an emerge -uD system -p. I went back
>> and created the symlink to 2005.0 again and now it appears to work - I
>> even rebooted.  However, I did NOT have a symlink to 2.4 so who knows.
>
> well if you can recreate the issue please drop us more info ;)
> -mike
> --
> gentoo-dev@gentoo.org mailing list
>

-- 

Brett I. Holcomb
brettholcomb@R777charter.net
Registered Linux User #188143
Remove R777 to email
--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-04-09  3:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-08 23:35 [gentoo-dev] make.profile symlink now points nowhere (was default-x86-1.4) David Sparks
2005-04-08 23:39 ` Francesco Riosa
2005-04-08 23:57   ` David Sparks
2005-04-09  0:02     ` Mike Frysinger
2005-04-09  0:24       ` David Sparks
2005-04-09  0:33         ` Mike Frysinger
2005-04-09  1:03           ` David Sparks
2005-04-09  0:35         ` Brett I. Holcomb
2005-04-09  0:41           ` Mike Frysinger
2005-04-09  1:21             ` Brett I. Holcomb
2005-04-09  2:02               ` Mike Frysinger
2005-04-09  3:01                 ` Brett I. Holcomb
2005-04-08 23:42 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox