Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Portage] problème update de portage(résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Mon Sep 21, 2009 10:30 pm    Post subject: [Portage] problème update de portage(résolu) Reply with quote

Bonjour,

Je suis en testing 64 bit et je fais régulièrement mes updates et ce matin une de portage qui m'a cassé emerge-portage.

Code:
 # emerge
Traceback (most recent call last):
  File "/usr/bin/emerge", line 40, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1043, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 2583, in load_emerge_config
    trees = portage.create_trees(trees=trees, **kwargs)
  File "/usr/lib64/portage/pym/portage/__init__.py", line 8781, in create_trees
    config_incrementals=portage.const.INCREMENTALS)
  File "/usr/lib64/portage/pym/portage/__init__.py", line 2042, in __init__
    os.path.join(x, "package.unmask"), recursive=1))
  File "/usr/lib64/portage/pym/portage/util.py", line 321, in grabfile_package
    writemsg(_("--- Invalid atom in %s: %s\n") % (myfilename, pkgs[x]),
NameError: global name 'x' is not defined


Code:
eselect python list
Available python interpreters:
  [1]   python2.4
  [2]   python2.5
  [3]   python2.6 *
  [4]   python3.1


et finalement la preuve ..
Code:
tail -n 20 /var/log/emerge.log                                                                                                                                                                                   
1253529642: Started emerge on: Sep 21, 2009 06:40:42                                                                                                                                                                       
1253529642:  *** emerge  sync                                                                                                                                                                                               
1253529642:  === sync                                                                                                                                                                                                       
1253529643: >>> Starting rsync with rsync://216.194.64.133/gentoo-portage                                                                                                                                                   
1253529883: === Sync completed with rsync://216.194.64.133/gentoo-portage                                                                                                                                                   
1253529888:  *** terminating.
1253529911: Started emerge on: Sep 21, 2009 06:45:11
1253529911:  *** emerge --newuse --deep --ask --update --verbose world
1253532949:  >>> emerge (1 of 18) sys-apps/portage-2.2_rc41 to /
1253532953:  === (1 of 18) Cleaning (sys-apps/portage-2.2_rc41::/usr/portage/sys-apps/portage/portage-2.2_rc41.ebuild)
1253532953:  === (1 of 18) Compiling/Merging (sys-apps/portage-2.2_rc41::/usr/portage/sys-apps/portage/portage-2.2_rc41.ebuild)
1253532957:  === (1 of 18) Merging (sys-apps/portage-2.2_rc41::/usr/portage/sys-apps/portage/portage-2.2_rc41.ebuild)
1253532970:  >>> AUTOCLEAN: sys-apps/portage:0
1253532970:  === Unmerging... (sys-apps/portage-2.2_rc40)
1253532974:  >>> unmerge success: sys-apps/portage-2.2_rc40
1253532978:  === (1 of 18) Post-Build Cleaning (sys-apps/portage-2.2_rc41::/usr/portage/sys-apps/portage/portage-2.2_rc41.ebuild)
1253532978:  ::: completed emerge (1 of 18) sys-apps/portage-2.2_rc41 to /
1253532978:  ::: completed emerge (1 of 18) sys-apps/portage-2.2_rc41 to /
1253532978:  *** RESTARTING emerge via exec() after change of portage version.
1253532978:  *** terminating.


Si vous avez une idée, faite le savoir , thx.
Comment revenir en arrière manuellement ?

@ bientôt.
_________________
Get Up and Go !


Last edited by man in the hill on Tue Sep 22, 2009 2:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Leander256
l33t
l33t


Joined: 05 Jul 2003
Posts: 909
Location: Singapour

PostPosted: Tue Sep 22, 2009 6:29 am    Post subject: Reply with quote

Salut,

Je pense que le plus simple c'est de réinstaller une version précedente comme indiqué dans cette doc: http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Tue Sep 22, 2009 2:36 pm    Post subject: Reply with quote

Leander256 wrote:
Salut,

Je pense que le plus simple c'est de réinstaller une version précedente comme indiqué dans cette doc: http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml


Simple et efficace !

Grand Merci.

@+
_________________
Get Up and Go !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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