From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev-return-2140-arch-gentoo-dev=gentoo.org@gentoo.org> Received: (qmail 27280 invoked by uid 1002); 7 Apr 2003 12:08:39 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: <mailto:gentoo-dev@gentoo.org> List-Help: <mailto:gentoo-dev-help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 22436 invoked from network); 7 Apr 2003 12:08:38 -0000 Date: Mon, 7 Apr 2003 13:08:37 +0100 To: Gentoo-Dev <gentoo-dev@gentoo.org> Message-ID: <20030407120837.GA70@mars.leahcim.invalid> Mail-Followup-To: Gentoo-Dev <gentoo-dev@gentoo.org> References: <3E907F6C.8050502@mail.gatech.edu> <1049687180.4174.17.camel@nosferatu.lan> <20030407041655.GA25233@mars.leahcim.invalid> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <20030407041655.GA25233@mars.leahcim.invalid> User-Agent: Mutt/1.4.1i From: leahcim@ntlworld.com Subject: Re: [gentoo-dev] portage quirk X-Archives-Salt: 906a009a-b7f0-4dc8-a8c7-ae3586f51551 X-Archives-Hash: a9ba696b0191c715099959a14b8c28c4 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 07, 2003 at 05:16:55AM +0100, leahcim@ntlworld.com wrote: > No doubt whatever gets the new slot doesn't calculate the $KV ? Hmm, portage works fine. It's when it cp the data from metadata/cache during emerge sync that it doesn't have correct SLOT info. -- Michael. --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="emerge.diff" --- /usr/bin/emerge.orig 2003-04-07 12:56:09.000000000 +0100 +++ /usr/bin/emerge 2003-04-07 13:00:28.000000000 +0100 @@ -1606,7 +1606,10 @@ for y in mymatches: update_spinner() try: - ignored=portage.portdb.aux_get(y,[],metacachedir=myportdir+"/metadata/cache") + ignored=portage.portdb.aux_get(y,["SLOT"],metacachedir=myportdir+"/metadata/cache")[0] + if not ignored: + os.unlink(portage.dbcachedir+"/"+y) + ignored=portage.portdb.aux_get(y,[]) except: pass portage.spawn("chmod -R g+rw "+portage.dbcachedir, free=1) --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii -- gentoo-dev@gentoo.org mailing list --sdtB3X0nJg68CQEu--