Emerge помер

sudo emerge
Traceback (most recent call last):
  File "/usr/bin/emerge", line 48, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1009, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/lib/portage/pym/portage/proxy/objectproxy.py", line 30, in __call__
    result = object.__getattribute__(self, '_get_target')()
  File "/usr/lib/portage/pym/portage/proxy/lazyimport.py", line 129, in _get_target
    __import__(name)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 65, in <module>
    from _emerge.depgraph import backtrack_depgraph, depgraph, resume_depgraph
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6138
    key=lambda x:(1 if u"calculate" in x.cp else 0,
                                  ^
SyntaxError: invalid syntax

Работа с Portage

Очень остроумно.

* Конфигурация системных настроек portage Calculate утилитами
 * Утилиты Calculate изменили файлы:
 *      /usr/lib/portage/pym/_emerge/depgraph.py
 * Конфигурация пользовательских настроек portage Calculate утилитами
 * Compilation and optimization of Python modules placed outside of site-packages directories for CPython 3.2 ...                                                              [ !! ]
 *     *** Error compiling '/usr/lib/portage/pym/_emerge/depgraph.py'...
 *     File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6138
 *     key=lambda x:(1 if u"calculate" in x.cp else 0,
 *     ^
 *     SyntaxError: invalid syntax

 * Messages for package sys-apps/portage-2.2.0_alpha141:

 * Syntax errors / warnings in Python modules placed outside of site-packages directories for CPython 3.2:
 *     *** Error compiling '/usr/lib/portage/pym/_emerge/depgraph.py'...
 *     File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6138
 *     key=lambda x:(1 if u"calculate" in x.cp else 0,
 *     ^
 *     SyntaxError: invalid syntax
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: 4 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

В логе пишут, что нужно обновить конфигурационные файлы. Для начала выполните:

dispatch-conf

… не удалось решить проблему? тоже попал на этот вопрос …
… что делать? …

Ждать :slight_smile: Бывают косяки - может что скачалось не так и не с того бинхоста :slight_smile:
у меня все нормально

emerge
emerge: the other white meat (command-line interface to the Portage system)
Usage:
   emerge [ options ] [ action ] [ ebuild | tbz2 | file | @set | atom ] [ ... ]
   emerge [ options ] [ action ] < system | world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help [ --verbose ] 
Options: -[abBcCdDefgGhjkKlnNoOpPqrsStuvV]
          [ --color < y | n >            ] [ --columns    ]
          [ --complete-graph             ] [ --deep       ]
          [ --jobs JOBS ] [ --keep-going ] [ --load-average LOAD            ]
          [ --newuse    ] [ --noconfmem  ] [ --nospinner  ]
          [ --oneshot   ] [ --onlydeps   ] [ --quiet-build [ y | n ]        ]
          [ --reinstall changed-use      ] [ --with-bdeps < y | n >         ]
Actions:  [ --depclean | --list-sets | --search | --sync | --version        ]

   For more help consult the man page.

А что делаем - обновляем мир?
Тогда emerge -uDN world !

Вероятно,

eselect python set python2.7