View previous topic :: View next topic |
Author |
Message |
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Fri Dec 03, 2004 11:29 am Post subject: emerge -e world doesn't work |
|
|
Делаю:
fork@h0me ~ $ s emerge -e world
Calculating world dependencies /Traceback (most recent call last):
File "/usr/bin/emerge", line 2903, in ?
if not mydepgraph.xcreate(myaction):
File "/usr/bin/emerge", line 1351, in xcreate
if not self.create(myk,myuse=binpkguseflags):
File "/usr/bin/emerge", line 983, in create
if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
File "/usr/bin/emerge", line 1250, in select_dep
if not self.create(myk,myparent,myuse=binpkguseflags):
File "/usr/bin/emerge", line 939, in create
self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
virt = dep_getkey(virt)
File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand
fork@h0me ~ $
Отсюда вопрос - чем это можно вылечить?
Стоит:
python-2.2.3-r1
python-2.3.4
python-fchksum-1.6.1-r1
db-4.2.52_p2
db-1.85-r1
db-4.0.14-r2
fork@h0me ~ $ s python-config
-lpython2.3 -lm -L/usr/lib/python2.3/config
Заранее благодарен!!! |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Fri Dec 03, 2004 9:58 pm Post subject: |
|
|
Re-emerging portage via Code: | emerge --oneshot --nodeps sys-apps/portage | doesn't help? If not, try re-emerging Python the same way. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
viy Veteran
Joined: 03 Jul 2004 Posts: 1580 Location: Riga, Latvia
|
Posted: Fri Dec 03, 2004 10:25 pm Post subject: |
|
|
Что значат буквы 's' перед всеми командами? |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Sat Dec 04, 2004 7:25 am Post subject: |
|
|
2 moocha:
It is doesn't help...
Ре-емержнул portage и python, проверил - рельзат такой же, запустил python-updater, но результат все равно тот же самый.
2 viy:
's' - это у меня алиас на sudo |
|
Back to top |
|
|
doonkel Apprentice
Joined: 06 Aug 2004 Posts: 202
|
Posted: Sat Dec 04, 2004 7:37 am Post subject: |
|
|
Одним словом Кулибин.
А просто $su
#emerge -e world -уже тоже не работает? |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Sat Dec 04, 2004 8:58 am Post subject: |
|
|
В том то и дело, что нет:
fork@h0me ~ $ su
Password:
h0me fork # emerge -e world
Calculating world dependencies |Traceback (most recent call last):
File "/usr/bin/emerge", line 2903, in ?
if not mydepgraph.xcreate(myaction):
File "/usr/bin/emerge", line 1351, in xcreate
if not self.create(myk,myuse=binpkguseflags):
File "/usr/bin/emerge", line 983, in create
if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
File "/usr/bin/emerge", line 1250, in select_dep
if not self.create(myk,myparent,myuse=binpkguseflags):
File "/usr/bin/emerge", line 939, in create
self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
File "/usr/lib/portage/pym/portage.py", line 1270, in setinst
virt = dep_getkey(virt)
File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey
elif mydep[:1] in "=<>~":
TypeError: 'in <string>' requires string as left operand
h0me fork # |
|
Back to top |
|
|
hermes_jr l33t
Joined: 26 Feb 2004 Posts: 701 Location: Moscow, Russia
|
Posted: Sat Dec 04, 2004 9:15 am Post subject: |
|
|
f0rk, точно не помню, но это была проблема или какой-то конкретной версии portage, или shadow... Попробуй поиграть с этими пакетами, обнови или наоборот откати сначала портаж, а потом shadow...
PS: портаж-то у тя какой версии сейчас стоит? |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Sat Dec 04, 2004 11:09 am Post subject: |
|
|
portage-2.0.51-r2
Спасибо за совет, щас попробую... |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Sun Dec 05, 2004 9:47 am Post subject: |
|
|
Все-равно не помогло.
Какие еще предложения? |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Sun Dec 05, 2004 3:49 pm Post subject: |
|
|
Все, разбрался. Я пробовал portage-2.0.51-rN, но когда откатился на portage-2.0.50-r11. Все разаботало!
Спасибо hermes_jr! javascript:emoticon('') |
|
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
|
|