View previous topic :: View next topic |
Author |
Message |
piligri n00b
Joined: 26 Oct 2009 Posts: 2
|
Posted: Mon Oct 26, 2009 8:55 am Post subject: [SOLVED]Проблема emerge python syntax error обновление |
|
|
Добрый ...
Возникла такая пробблема: система после синхронизации попросила обновить portage, закачала и поставила python и вот тут то все и началось!
ya_router ~ # emerge portage
File "/usr/bin/emerge", line 41
except PermissionDenied, e:
^
SyntaxError: invalid syntax
Подумал, eselect указал другой питон:
ya_router ~ # eselect python set python2.5
ya_router ~ # emerge portage
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/portage-2.1.7.1
* portage-2.1.7.tar.bz2 RMD160 SHA1 SHA256 size ... [ ok ]
* portage-2.1.7.1.patch.bz2 RMD160 SHA1 SHA256 size ... [ ok ]
* checking ebuild checksums ... [ ok ]
* checking auxfile checksums ... [ ok ]
* checking miscfile checksums ... [ ok ]
*
* ERROR: sys-apps/portage-2.1.7.1 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* portage-2.1.7.1.ebuild, line 73: Called die
* The specific snippet of code:
* die "This version of portage requires at least python-2.6 to be selected as the default python interpreter (see \`eselect python --help\`)."
* The die message:
* This version of portage requires at least python-2.6 to be selected as the default python interpreter (see `eselect python --help`).
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/die.env'.
*
>>> Failed to emerge sys-apps/portage-2.1.7.1, Log file:
>>> '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/build.log'
* Messages for package sys-apps/portage-2.1.7.1:
*
* ERROR: sys-apps/portage-2.1.7.1 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* portage-2.1.7.1.ebuild, line 73: Called die
* The specific snippet of code:
* die "This version of portage requires at least python-2.6 to be selected as the default python interpreter (see \`eselect python --help\`)."
* The die message:
* This version of portage requires at least python-2.6 to be selected as the default python interpreter (see `eselect python --help`).
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.7.1/temp/die.env'.
*
ya_router ~ #
результат на лице ...
обратно ставлю:
ya_router ~ # eselect python set python3.1
ya_router ~ # emerge portage
File "/usr/bin/emerge", line 41
except PermissionDenied, e:
^
SyntaxError: invalid syntax
Может кто встречался с такой проблемой? ну никак не могу найти нигде ничего подобного ...
Если надо еще какой вывод каких команд - выложу.
Спасибо за ответы
Last edited by piligri on Tue Oct 27, 2009 5:19 am; edited 1 time in total |
|
Back to top |
|
|
fank l33t
Joined: 16 Oct 2004 Posts: 794 Location: Minsk, Belarus
|
Posted: Mon Oct 26, 2009 12:17 pm Post subject: |
|
|
профиль hardened?
selinux включен? _________________ Слово „христианство“ основано на недоразумении; в сущности, был один христианин, и тот умер на кресте. |
|
Back to top |
|
|
ArhAngel n00b
Joined: 21 Mar 2009 Posts: 6
|
Posted: Mon Oct 26, 2009 3:22 pm Post subject: |
|
|
А почему вы делаете Code: | eselect set python2.5 | если emerge вам говорит прямым текстом
Code: | "This version of portage requires at least python-2.6 to be selected as the default python interpreter ..." |
|
|
Back to top |
|
|
piligri n00b
Joined: 26 Oct 2009 Posts: 2
|
Posted: Tue Oct 27, 2009 5:19 am Post subject: |
|
|
Quote: | профиль hardened?
selinux включен? |
два раза нет
Quote: | А почему вы делаете
Код:
eselect set python2.5
если emerge вам говорит прямым текстом
Код: |
Потому что других в системе не было
Проблему решил установой питона 2.6 и сбором портежа
Хотя похоже сам дурак, там USE был python3 ...
Всем спасибо за ответы |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|