Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388197 - sys-apps/portage-2.1.10.30: wrong entry in /usr/portage/profiles/updates/4Q-2011 produces a dead lock
Summary: sys-apps/portage-2.1.10.30: wrong entry in /usr/portage/profiles/updates/4Q-2...
Status: RESOLVED DUPLICATE of bug 388187
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-23 09:34 UTC by Toralf Förster
Modified: 2011-10-23 09:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2011-10-23 09:34:46 UTC
As described in the URL, as soon as such an entry hits the local portage tree, all subsequent calls to "emerge sync" fails, because first a "Global update" is performed, which fails:

 * Running emerge --sync

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/3Q-2011..........................
/usr/portage/profiles/updates/4Q-2011......
ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1616, in emerge_main
    _global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
  File "/usr/lib/portage/pym/portage/_global_updates.py", line 160, in _global_updates
    moves = vardb.move_ent(update_cmd, repo_match=repo_match)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 300, in move_ent
    origmatches = self.match(origcp, use_cache=0)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 474, in match
    origdep, mydb=self, use_cache=use_cache, settings=self.settings)
  File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in dep_expand
    mydep = Atom(mydep, allow_repo=True)
  File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1103, in __init__
    raise InvalidAtom(self)
InvalidAtom: dev-php5/dev-php5/pecl-ssh2
 * emerge --sync failed
 * Time statistics:
     1 seconds for syncing
     1 seconds total

Performing Global Updates:
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/3Q-2011..........................
/usr/portage/profiles/updates/4Q-2011......
ERROR: Malformed update entry 'move dev-php5/dev-php5/pecl-ssh2 dev-php/dev-php5/pecl-ssh2'
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1616, in emerge_main
    _global_updates(trees, mtimedb["updates"], quiet=("--quiet" in myopts)):
  File "/usr/lib/portage/pym/portage/_global_updates.py", line 160, in _global_updates
    moves = vardb.move_ent(update_cmd, repo_match=repo_match)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 300, in move_ent
    origmatches = self.match(origcp, use_cache=0)
  File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 474, in match
    origdep, mydb=self, use_cache=use_cache, settings=self.settings)
  File "/usr/lib/portage/pym/portage/dbapi/dep_expand.py", line 33, in dep_expand
    mydep = Atom(mydep, allow_repo=True)
  File "/usr/lib/portage/pym/portage/dep/__init__.py", line 1103, in __init__
    raise InvalidAtom(self)
InvalidAtom: dev-php5/dev-php5/pecl-ssh2


Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-10-23 09:41:18 UTC

*** This bug has been marked as a duplicate of bug 388187 ***