Summary: | emerge crashes when calculating dependencies as unprivileged user while a parallel instance is cleaning a package | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Ivan D Vasin <ivan> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gyakovlev, mmokrejs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ivan D Vasin
2008-07-14 19:43:18 UTC
Boot with Gentoo provided kernel try again. (In reply to comment #0) > The title says it all. I don't remember this ever happening in the past (pre > 2.2), though I may have just been lucky. This seems to happen every time > portage tries to calculate dependencies while another portage instance is > cleaning a package. The former instance crashes with the following error: > > These are the packages that would be merged, in order: > > Calculating dependencies > Traceback (most recent call last): > File "/usr/bin/emerge", line 18, in <module> > retval = _emerge.emerge_main() > File "/usr/lib/portage/pym/_emerge/__init__.py", line 9434, in emerge_main > myopts, myaction, myfiles, spinner) > File "/usr/lib/portage/pym/_emerge/__init__.py", line 8609, in action_build > mydepgraph = depgraph(settings, trees, myopts, myparams, spinner) > File "/usr/lib/portage/pym/_emerge/__init__.py", line 1921, in __init__ > pkg_cache=self._pkg_cache) > File "/usr/lib/portage/pym/_emerge/__init__.py", line 1014, in __init__ > metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys))) > File "/usr/lib/portage/pym/portage/dbapi/vartree.py", line 691, in aux_get > raise KeyError(mycpv) > KeyError: 'sys-kernel/zen-sources-2.6.26_rc8-r10' > > (Here, the other portage instance was in the middle of cleaning > sys-kernel/zen-sources-2.6.26_rc8-r10') I guess this traceback happened in an emerge process that didn't have root privileges. Otherwise, it would have been able to obtain a lock on /var/db/pkg in order to ensure that the parallel emerge processes wouldn't modify it during this section of code. (In reply to comment #1) > Boot with Gentoo provided kernel try again. I doubt that it has anything to do with the kernel. The error is normal if the dependency calculation is run by an unprivileged user. *** Bug 594002 has been marked as a duplicate of this bug. *** *** Bug 658024 has been marked as a duplicate of this bug. *** |