This amd64 machine hasn't been updated in a while.  Now, after updating, any emerge, eix-sync, or ebuild command gets a long message, as follows:

Littlebird etc # emerge --sync
>>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index OK...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 4391, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 4100, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/bin/emerge", line 4011, in load_emerge_config
    trees = portage.create_trees(trees=trees, **kwargs)
  File "/usr/lib/portage/pym/portage.py", line 7122, in create_trees
    config_incrementals=portage_const.INCREMENTALS)
  File "/usr/lib/portage/pym/portage.py", line 1057, in __init__
    for k, v in rawprofileuse.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'


I found that /etc/make.profile was linked to a non-existent (now)
   /usr/portage/profiles/default-linux/amd-64/2005.1

FInding a message about this on the forums, I deleted /etc/make.profile, and linked it to
   /usr/portage/profiles/default-linux/amd-64/2006.1/desktop

emerge still doesn't work. 

Should I set PORTDIR=/usr/portage in make.conf?

Thank you for any ideas.  I haven't had this machine online for some months.

Alan Davis

--
Alan Davis, Kagman High School, Saipan  lngndvs@gmail.com     1-670-256-2043

I consider that the golden rule requires that if I like a program I must share it with other people who like it.              --------Richard Stallman

Every great advance in natural knowledge has involved the absolute rejection of authority.  ----- Thomas H. Huxley