From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22952 invoked by uid 1002); 12 Nov 2002 02:02:37 -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 22943 invoked from network); 12 Nov 2002 02:02:37 -0000 Message-ID: <3DD0610F.1060902@seul.org> Date: Tue, 12 Nov 2002 03:01:51 +0100 From: Marko Mikulicic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021109 X-Accept-Language: hr, en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Jos=E9_Fonseca?= Cc: gentoo-dev@gentoo.org References: <20021111203828.GA10784@localhost.localdomain> <200211120042.41107.joba123@arcor.de> <20021112011310.GB27162@localhost.localdomain> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ls405.hinet.hr id gAC21q213858 Subject: Re: [gentoo-dev] Script to clean old files from /usr/portage/distfiles X-Archives-Salt: 5e0ed2aa-8dec-460c-b686-8e70c2430e6c X-Archives-Hash: c8df5d0f62dad7c6235e18c9be542a86 Jos=E9 Fonseca wrote: > On Tue, Nov 12, 2002 at 12:42:41AM +0100, Johannes Ball? wrote: >=20 >>Am Monday 11 November 2002 21:38 schrieb Jos=E9 Fonseca: >> >> >>sed: can't read /usr/portage/metadata/cache/sys-kernel/linux-headers-2.= 4.19:=20 >>No such file or directory >=20 > [...] >=20 > These are packages which were installed from your '/usr/local/portage' > or were removed from portage. I ran "emerge linux-headers" emerge (1 of 1) sys-kernel/linux-headers-2.4.19 /var/db/pkg/sys-kernel/linux-headers-2.4.19 exists /usr/portage/metadata/cache/sys-kernel/linux-headers-2.4.19 does not exi= st /var/db/pkg/sys-kernel/linux-headers-2.4.18 does not exist /usr/portage/metadata/cache/sys-kernel/linux-headers-2.4.18 exists it seems strange to me. the cache is not up to date. Is there a way to force the ebuild of the cache ? > I could write a variation of the script without these shortcomings - > that actually read the installed ebuilds which is *much* slower. I > personally don't need it as I only have little stuff in > /usr/local/portage >=20 > If there is enough interest I'll add a couple of operation modes to the > script: "dummy", and "safe"; to make a dry-run and/or a safe evaluation > of the installed packages repectively. I'd have enough interest :-) . I never do an emerge whatever without "-p" first. even if this data is not lost forever I have the habit of=20 checking first. Marko -- gentoo-dev@gentoo.org mailing list