Gentoo Archives: gentoo-user

From: Joshua Murphy <poisonbl@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] emerge is loosing memory?
Date: Sun, 13 Dec 2009 20:01:37
Message-Id: c30988c30912131003l21cb27a5s14c995ff49fb7b6@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge is loosing memory? by meino.cramer@gmx.de
1 On Sun, Dec 13, 2009 at 9:30 AM, <meino.cramer@×××.de> wrote:
2 > Volker Armin Hemmann <volkerarmin@××××××××××.com> [09-12-13 15:24]:
3 >> On Sonntag 13 Dezember 2009, meino.cramer@×××.de wrote:
4 >> > Volker Armin Hemmann <volkerarmin@××××××××××.com> [09-12-13 14:28]:
5 >> > > On Sonntag 13 Dezember 2009, meino.cramer@×××.de wrote:
6 >> > > > Volker Armin Hemmann <volkerarmin@××××××××××.com> [09-12-13 13:40]:
7 >> > > > > On Sonntag 13 Dezember 2009, meino.cramer@×××.de wrote:
8 >> > > > > > Hi,
9 >> > > > > >
10 >> > > > > > it seems, something has screwed up my system.
11 >> > > > > >
12 >> > > > > > The symptoms are: Updateing a certain package with emerge (which
13 >> > > > > > successfully compile and install that package) has no effect.
14 >> > > > > > Next time exactly the same package is reported again as to be
15 >> > > > > > updated.
16 >> > > > > >
17 >> > > > > > And qsearch reports that my metadatabase has gone with the wind
18 >> > > > > > and I have to do a 'w -m' as root, which helps for that moment,
19 >> > > > > > but next it is again not present. I think (read:dont know for sure)
20 >> > > > > > that the
21 >> > > > > >     eix-sync && emerge -pv --verbose --update --deep world
22 >> > > > > > has "killed" it.
23 >> > > > > >
24 >> > > > > > Unfortunately I am not that deeply involved in the internal
25 >> > > > > > data handling of the gentoo package manager to have an idea
26 >> > > > > > what is going wrong here.
27 >> > > > > >
28 >> > > > > > What can I do to fix this problem ?
29 >> > > > > >
30 >> > > > > > Kind regards and have a nice weekend!
31 >> > > > > > mcc
32 >> > > > >
33 >> > > > > fsck your partition containing /var.
34 >> > > >
35 >> > > > Hi,
36 >> > > >
37 >> > > > as soon I do the command sequence described above, qsearch fails with
38 >> > > >
39 >> > > >
40 >> > > > opening '/usr/portage/metadata/cache/.metadata.x' failed: Permission
41 >> > > > denied search: initialize_flat(): You should run this command as root:
42 >> > > > q -m
43 >> > > >
44 >> > > > and an
45 >> > > >
46 >> > > >     sudo ls /usr/portage/metadata/cache/.metadata.x
47 >> > > >
48 >> > > > fails with
49 >> > > >
50 >> > > >     ls: cannot access /usr/portage/metadata/cache/.metadata.x: No such
51 >> > > > file or directory
52 >> > > >
53 >> > > > There is no symlink to /var and subfolders as far as I can see...
54 >> > > >
55 >> > > > What part/file is on /var/... which gets corrupted in case of an
56 >> > > > filesystem damage ?
57 >> > >
58 >> > > how long are you using linux?
59 >> >
60 >> > 15 years ... but what does this matter?
61 >> >
62 >>
63 >> then you should know where /var is. or /usr/portage.
64 >>
65 >> fsck /var, fsck the partition containing /usr/portage
66 >>
67 >
68 > ...and you read posting more carefully: I wrote "part" not "part." ...
69 >
70 > --
71 > Please don't send me any Word- or Powerpoint-Attachments
72 > unless it's absolutely neccessary. - Send simply Text.
73 > See http://www.gnu.org/philosophy/no-word-attachments.html
74 > In a world without fences and walls nobody needs gates and windows.
75
76 /var/db/pkg
77 /var/lib/portage
78
79 --
80 Poison [BLX]
81 Joshua M. Murphy