Gentoo Archives: gentoo-user

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge -e @world failed
Date: Sun, 10 Dec 2017 15:08:06
Message-Id: 20171210180737.fad9e80565204b78fa707606@gentoo.org
In Reply to: [gentoo-user] emerge -e @world failed by tuxic@posteo.de
On Tue, 5 Dec 2017 01:08:12 +0100 tuxic@××××××.de wrote:
> HHi, > > I did it, > > I started emerge -e @world --keep-going. > > And it failed while installing linux-gazette: > >>> Emerging (370 of 2114) app-doc/linux-gazette-117::gentoo > >>> Installing (360 of 2114) app-doc/linux-gazette-31::gentoo > >>> Emerging (371 of 2114) app-doc/linux-gazette-69::gentoo > >>> Installing (361 of 2114) app-doc/linux-gazette-74::gentoo > >>> Jobs: 341 of 2114 complete, 5 running Load avg: 1.48, 1.61, 1.82 > Traceback (most recent call last): > File "/usr/lib64/python3.5/site-packages/portage/dbapi/vartree.py", line 740, in aux_get > mydir_stat = os.stat(mydir) > File "/usr/lib64/python3.5/site-packages/portage/__init__.py", line 250, in __call__ > rval = self._func(*wrapped_args, **wrapped_kwargs) > FileNotFoundError: [Errno 2] No such file or directory: b'/var/db/pkg/app-doc/linux-gazette-74'
Apparently your /var/db/pkg database is broken. What bothers me here is that you have two likely parallel installs here. Maybe you just hit a race condition bug. Try to emerge required linux-gazette slots manually, one by one. If this helps, report the bug on portage to bugzilla. Best regards, Andrew Savchenko