Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485006 - sys-apps/portage-2.2.5 traceback on any operation - TypeError: unorderable types: NoneType() < str()
Summary: sys-apps/portage-2.2.5 traceback on any operation - TypeError: unorderable ty...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: 484436
  Show dependency tree
Reported: 2013-09-15 13:56 UTC by Michael Palimaka (kensington)
Modified: 2013-09-15 14:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2013-09-15 13:56:53 UTC
Since 2.2.5, any portage operation instantly fails with this traceback:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/", line 1015, in emerge_main
    action=myaction, args=myfiles, opts=myopts)
  File "/usr/lib64/portage/pym/portage/proxy/", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib64/portage/pym/_emerge/", line 3226, in load_emerge_config
  File "/usr/lib64/portage/pym/portage/", line 582, in create_trees
    env=env, eprefix=eprefix)
  File "/usr/lib64/portage/pym/portage/package/ebuild/", line 519, in __init__
    self['PORTAGE_REPOSITORIES'] = self.repositories.config_string()
  File "/usr/lib64/portage/pym/portage/repository/", line 920, in config_string
    for repo_name, repo in sorted(self.prepos.items()):
TypeError: unorderable types: NoneType() < str()
Comment 2 Zac Medico gentoo-dev 2013-09-15 14:21:56 UTC
This is fixed in 2.2.6.