Gentoo Archives: gentoo-dev

From: Jason Rhinelander <jason@××××××××××××××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] questions about /usr/portage/metadata
Date: Wed, 04 Feb 2004 19:42:16
Message-Id: 40214B0E.5050100@gossamer-threads.com
1 Hi,
2
3 I run my own portage rsync server with ebuilds I wrote (this for my
4 company) and I have a couple of questions.
5
6 I recently updated portage and noticed there is a metadata directory now
7 that has a cache and timestamps.
8
9 1. Is there a simple way to update these timestamps when I change the
10 portage tree? I mean other than edit the three files (yes, I am lazy).
11
12 2. Do I need to run `emerge regen` when I update the portage tree on the
13 rsync server?
14
15 3. I get an error the first time I emerge something and I think it may
16 have something to do with this cache. Here is the jist of the error:
17
18 [root@kismet root]# emerge Date-Calc
19 Calculating dependencies ...done!
20 >>> emerge (1 of 1) dev-perl/Date-Calc-5.3 to /
21 ...etc...
22 >>> Recording dev-perl/Date-Calc in "world" favorites file...
23
24 --- Couldn't find dev-perl/Date-Calc to clean.
25
26 >>> clean: No packages selected for removal.
27
28 >>> Auto-cleaning packages ...
29 Lockfile removed: /var/db/pkg/dev-perl/Date-Calc-5.3.portage_lockfile
30 INCOMPLETE MERGE: /var/db/pkg/dev-perl/-MERGING-Date-Calc-5.3
31 Lockfile removed:
32 /var/db/pkg/dev-perl/-MERGING-Date-Calc-5.3.portage_lockfile
33 Lockfile removed: /var/db/pkg/dev-perl/Date-Calc-5.3.portage_lockfile
34 Lockfile removed: /var/db/pkg/dev-perl/Date-Calc-5.3.portage_lockfile
35 Lockfile removed: /var/db/pkg/dev-perl/Date-Calc-5.3.portage_lockfile
36 ... lots more Lockfile removed output...
37 >>> No outdated packages were found on your system.
38
39
40 * GNU info directory index is up-to-date.
41
42 [root@kismet root]#
43
44 I get this the first time I emerge something that is not already on the
45 system and the first time I unmerge something. I do not get this on my
46 personal system (also gentoo) so I assume it is something I am doing
47 wrong managing the portage rsync server.. I did not have the errors
48 until I updated portage.
49
50
51
52
53 --
54 -- Jason Rhinelander
55 -- Gossamer Threads, Inc.
56
57 --
58 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] questions about /usr/portage/metadata Mike Frysinger <vapier@g.o>