Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updateing kills metadatabase
Date: Fri, 05 Feb 2010 03:27:00
Message-Id: 20100205032549.GA5030@solfire
In Reply to: Re: [gentoo-user] Updateing kills metadatabase by Neil Bothwick
1 Neil Bothwick <neil@××××××××××.uk> [10-02-05 04:04]:
2 > On Fri, 5 Feb 2010 00:14:56 +0100, meino.cramer@×××.de wrote:
3 >
4 > > qsearch <item>
5 > > search: Updating ebuild metacache ...
6 > > search: initialize_flat(): opening
7 > > '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied
8 > > search: initialize_flat(): You should run this command as root: q -m
9 >
10 > The message is telling you which command to run, although it is short and
11 > you may have missed it
12 >
13 > q -m
14
15 Runnning this command is in fact a short and easy task. To be urged to
16 do it because the update process (eix/emerge) kills the metadatabase
17 is nonetheless not correct.
18
19 >
20 > > What kills the metadatabase every time and how can I fix that? What I
21 > > am doing wrong here ?
22 >
23 > You probably updated portage-utils and /etc/portage/postsync.d/q-reinitialize
24 > no longer has the execute bit set. chmod +x it as instructed in the elog
25 > message from the portage-utils emerge.
26
27 /etc/portage/postsync.d/q-reinitialize has already set the
28 execution bit.
29
30
31 > --
32 > Neil Bothwick
33 >
34 > Windows Error #01: No error... ...yet.
35
36
37
38 --
39 Please don't send me any Word- or Powerpoint-Attachments
40 unless it's absolutely neccessary. - Send simply Text.
41 See http://www.gnu.org/philosophy/no-word-attachments.html
42 In a world without fences and walls nobody needs gates and windows.