Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] what does /var/db/pkg/CAT/PKG/COUNTER count?
Date: Wed, 22 Jul 2009 21:32:25
Message-Id: 4A67855B.9080906@gentoo.org
In Reply to: [gentoo-portage-dev] what does /var/db/pkg/CAT/PKG/COUNTER count? by Amit Dor-Shifer
1 Amit Dor-Shifer wrote:
2 > amit0 ~ # cat /var/db/pkg/sys-apps/portage-2.1.6.7/COUNTER
3 > 5316amit0 ~ #
4
5 It's used to keep track of installation order. It's not really
6 relevant for anything unless you happen to have AUTOCLEAN=no set in
7 make.conf (see /usr/share/portage/config/make.conf.example). In this
8 case, it's needed for emerge --clean to know which package was most
9 recently installed within a given SLOT.
10 --
11 Thanks,
12 Zac