Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"global name 'mynewcat' is not defined"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
4le
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 96
Location: СПб

PostPosted: Wed Apr 27, 2005 4:09 pm    Post subject: "global name 'mynewcat' is not defined" Reply with quote

В одном форуме написано:
I as well removed alls files from the /usr/portage/packages/ directory and now everything works fine once more.
В другом:
I fixed it by replacing the new portage files with the old ones.

Я, конечно, попробую оба способа, но хотелось бы знать в чём собака порылась?
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Wed Apr 27, 2005 5:57 pm    Post subject: Reply with quote

Я бы попробовал просто emerge sync
Back to top
View user's profile Send private message
4le
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 96
Location: СПб

PostPosted: Thu Apr 28, 2005 11:55 am    Post subject: Reply with quote

viy wrote:
Я бы попробовал просто emerge sync


После него всё и началось
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Thu Apr 28, 2005 12:44 pm    Post subject: Reply with quote

Надо быть конкретнее: какая последовательность действий привела к указанному сообщению? При какаих обстоятельствах ты его видишь (не думаю, что просто залогинившись, система тебе сразу начинает в терминал сыпать что-то такое)? Какая команда, какой пакет (если emerge)?

В любом случае, emerge sync тебе не повредит --- дерево постоянно меняется и, возможно, кто-то уже заметил что-то подобное, отрапортовал и ошибку давно исправили.
Back to top
View user's profile Send private message
4le
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 96
Location: СПб

PostPosted: Thu Apr 28, 2005 5:04 pm    Post subject: global name 'mynewcat' is not defined Reply with quote

Заленился описывать проблему. Кто знает, тот понял бы, кто не знает помочь не сможет.
Последовательность такая:
1. обрыв соединения во время синка
2. следующий синк завершился успешно (при этом приехала новая версия portage).
3. любой вызов emerge выводит сообщение global name 'mynewcat' is not defined (такая-то строка portage.py)

"Решил" (не знаю, надолго ли) снесением содержимого /usr/portage/packages/
Просто хотел узнать, существует ли более кошерное решение
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Thu Apr 28, 2005 6:12 pm    Post subject: Re: global name 'mynewcat' is not defined Reply with quote

4le wrote:
Просто хотел узнать, существует ли более кошерное решение

Скорее всего
Code:

# emerge sync
# emerge regen
# emerge metadata

помогло бы
Back to top
View user's profile Send private message
4le
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 96
Location: СПб

PostPosted: Tue May 03, 2005 4:09 pm    Post subject: Re: global name 'mynewcat' is not defined Reply with quote

hermes_jr wrote:
4le wrote:
Просто хотел узнать, существует ли более кошерное решение

Скорее всего
Code:

# emerge sync
# emerge regen
# emerge metadata

помогло бы


См. пункт 3.
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Tue May 03, 2005 4:20 pm    Post subject: Reply with quote

Блин, точно проглядел, звиняюсь :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
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