From: leahcim@ntlworld.com
To: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] portage quirk
Date: Mon, 7 Apr 2003 13:08:37 +0100 [thread overview]
Message-ID: <20030407120837.GA70@mars.leahcim.invalid> (raw)
In-Reply-To: <20030407041655.GA25233@mars.leahcim.invalid>
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
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.
[-- Attachment #2: emerge.diff --]
[-- Type: text/plain, Size: 569 bytes --]
--- /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)
[-- Attachment #3: Type: text/plain, Size: 37 bytes --]
--
gentoo-dev@gentoo.org mailing list
prev parent reply other threads:[~2003-04-07 12:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-06 19:26 [gentoo-dev] portage quirk Robert Thomas
2003-04-06 19:47 ` Peter Ruskin
2003-04-06 20:08 ` Robert Thomas
2003-04-07 3:46 ` Martin Schlemmer
2003-04-07 4:16 ` leahcim
2003-04-07 12:08 ` leahcim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030407120837.GA70@mars.leahcim.invalid \
--to=leahcim@ntlworld.com \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox