From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24242 invoked by uid 1002); 12 Nov 2002 12:29:12 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 24233 invoked from network); 12 Nov 2002 12:29:12 -0000 Date: Tue, 12 Nov 2002 12:28:45 +0000 From: =?iso-8859-15?Q?Jos=E9?= Fonseca To: William Kenworthy Cc: gentoo-dev List Message-ID: <20021112122845.GA28646@localhost.localdomain> References: <20021111203828.GA10784@localhost.localdomain> <200211120042.41107.joba123@arcor.de> <20021112011310.GB27162@localhost.localdomain> <3DD0610F.1060902@seul.org> <20021111212849.A23035@twobit.net> <20021112102144.GA20309@localhost.localdomain> <1037100515.10897.4.camel@rattus.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1037100515.10897.4.camel@rattus.localdomain> User-Agent: Mutt/1.4i Subject: Re: [gentoo-dev] Script to clean old files from /usr/portage/distfiles X-Archives-Salt: 3be613e1-a604-47d4-a6a0-1c413f80c31e X-Archives-Hash: 903e839a16e65ff961638a213a7c7005 On Tue, Nov 12, 2002 at 07:28:35PM +0800, William Kenworthy wrote: > I get the messages below before the duplicates after running with the -p > flag. Is there a way to ensure the cache is up-to-date and clean before > running? > Calling ebuild with depend updates the cache of that ebuild. For example, doing: ebuild /usr/portage/x11-base/xfree/xfree-4.2.1-r1.ebuild depend updates /var/cache/edb/dep/x11-base/xfree-4.2.1-r1 on my system. But my understanding from looking at the sources is that emerge automatically keeps the cache uptodate in the normal use. But then again, it's not perfectly clear to me the roles of the two caches (/var/cache/edb/dep and /usr/portage/metadata/cache), specifically in which order they are used and updated. > sed: can't read /var/cache/edb/dep/app-admin/metalog-0.6-r9: No such > file or directory > ... If the list [of files that the script plans to delete] below is complete, then the above error messages aren't important. If not then I can update the script two use both caches in an attempt to find more. > 4.2.0-libGLU-bad-extern.patch > 4.2.0-xlib-i18n-module.patch > 4.2.0-zlib-security.patch > ExtUtils-F77-1.13.tar.gz José Fonseca __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- gentoo-dev@gentoo.org mailing list