From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 560AE13877A for ; Sun, 27 Jul 2014 21:16:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF688E0D68; Sun, 27 Jul 2014 21:16:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1AABE0D33 for ; Sun, 27 Jul 2014 21:16:46 +0000 (UTC) Received: from pomiot.lan (77-254-85-187.adsl.inetia.pl [77.254.85.187]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id BFF6033FFEE; Sun, 27 Jul 2014 21:16:44 +0000 (UTC) Date: Sun, 27 Jul 2014 23:17:01 +0200 From: =?ISO-8859-2?B?TWljaGGzIEfzcm55?= To: Rich Freeman Cc: gentoo-dev Subject: Re: [gentoo-dev] don't rely on dynamic deps Message-ID: <20140727231701.68a980fc@pomiot.lan> In-Reply-To: References: <53CD6BED.10603@gentoo.org> <53CD8BBA.2010605@gentoo.org> <53D5072E.3030305@gentoo.org> <20140727222429.3febdefa@pomiot.lan> Organization: Gentoo X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/IzfujhnTf.xW1sWE0FfxRfG"; protocol="application/pgp-signature" X-Archives-Salt: fb20607e-e081-42a9-8ecc-01bbf4ee783a X-Archives-Hash: d98c6ebdd99b70925300eca46c146ec9 --Sig_/IzfujhnTf.xW1sWE0FfxRfG Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Dnia 2014-07-27, o godz. 17:08:27 Rich Freeman napisa=B3(a): > On Sun, Jul 27, 2014 at 4:24 PM, Micha=B3 G=F3rny wro= te: > > Dnia 2014-07-27, o godz. 10:42:19 > > > > Consider the following: > > > > 1. A depends on B, both are installed, > > > > 2. dependency on B is removed, emerge --depclean uninstalls B thanks > > to dynamic-deps, > > > > 3. B is treecleaned (nothing depends on it), > > > > 4. old version of A is removed (user doesn't update it yet), therefore > > dependency on B is restored from vdb. > > > > So, now user has package A installed which has unsatisfied dependency > > on non-available package. =20 >=20 > I'd think that portage should update vdb as soon as it detects the > dependency change. Then B would no longer depend on A in vdb. It > shouldn't hold onto outdated information. You just introduced the opposite breakage -- when a dependency on C was added, it ends up in vdb before C is installed. Now if C and current version of A are removed before C gets installed, you end up having broken dependency in vdb... Plus, 'as soon' means you're making --pretend actually write something. That's bad. --=20 Best regards, Micha=B3 G=F3rny --Sig_/IzfujhnTf.xW1sWE0FfxRfG Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJT1WxNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOUBIQAKYWCvRDOByxI9cVPDMSzTao lsWWIm++MeFjcfdoaNjzlStsBiacrTBXMfRztHv1DS15oAltFp9Ch3lJbLYLJdD/ aXE569vdS7yL8H+hbTOVGNPhUSmOWezIEcUoquTfntTTE0WKwtx0dIBZXhG05qdV eRqQ05KgN1ppgzf7bkqeLpdGBLntgDCmG7eNI6Jfu53PoeJ6rnEZz0pVI559flNl Kh12X8/fxIpFVKtteqzs6RczzNcPgTD3dbmg7eLxBQaQaUKQSPMMhQPdgFf00h9d +4/JZMc+1xq1i/4JN2A2xZaEs6O72pj/D+dHYsIz1An3YpVmIX4lJe75y+3xTCr8 wCAWUoUxItN/adf3+NGfC00eIAGCCdB4CzrBh6nul0HobRftqdzK4En67cUuf5xD msW6rHtyclBA/x3827bwgCPfJcgxTQVaFXn9SWqx7PEpfNBc1pGcJ2hMMyL9lML+ J6mrNEDfQs3fJKvY2GzqRquXKcjcA9glsbfAg6v+loj8KnmWfe1JpmwJkUK9C7T9 kh3QhA+7S20jloDRKFS/UCHHfl7BwWTD1y+6sT5PmDyHIGpPbiSIb2Q9xBBT7fWs h6fekCf2s7+EiU8tsK6ijhOui49Y5Dy09oChU50nZOgu1aIep/Gzn621VcU/AgCO MNQF7sa3JzlRK4hSnGO9 =QrMD -----END PGP SIGNATURE----- --Sig_/IzfujhnTf.xW1sWE0FfxRfG--