From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1438D139083 for ; Sun, 10 Dec 2017 12:36:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 413BAE1074; Sun, 10 Dec 2017 12:36:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDBEBE0FBA for ; Sun, 10 Dec 2017 12:36:44 +0000 (UTC) Received: from katipo2.lan (unknown [203.86.205.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kentnl) by smtp.gentoo.org (Postfix) with ESMTPSA id 00B0633BE68 for ; Sun, 10 Dec 2017 12:36:42 +0000 (UTC) Date: Mon, 11 Dec 2017 01:36:19 +1300 From: Kent Fredric To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] preparing for profile switch -- major problem Message-ID: <20171211013619.1fba2e7b@katipo2.lan> In-Reply-To: References: <93fef73e-d48a-36df-465b-e92a62d52ea3@gmail.com> <48cd7f45-26c9-8611-c750-fff5a0c8417c@gmail.com> Organization: Gentoo X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/G04sdAISg6DQlmRr2pf_LEK"; protocol="application/pgp-signature" X-Archives-Salt: beb37eb5-8ee7-4fdd-92b6-4bf7780d4888 X-Archives-Hash: 666c632ce5b98bb5904f70114d7cd395 --Sig_/G04sdAISg6DQlmRr2pf_LEK Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 10 Dec 2017 02:17:09 -0500 John Covici wrote: > OK, thanks, I think I will try that. The problem you're facing is that you masked dev-lang/perl, but not any virtual/perl-* or perl-core/-* to compensate. These 3 components work in concert like a single component, as a sort of bodge to compensate for the fact portage has no working "provides" featu= re, and to compensate for the dependency-system missmatch between how Gentoo works and how CPAN works. Theres' no easy way of fixing this atm, but the short of it is if you're us= ing an ~arch dev-lang/perl, you should be using an ~arch virtual/perl-*, and if you're using an "arch" dev-lang/perl, you should be using only "arch" versions of virtual/perl-* Once you do this, portage may still scream at you, because portage is very much optimised for upgrading, and it tends to think downgrading is an error. So once you get all your masks/keyword changes in place, you should do: emerge -C virtual/perl-* emerge -C perl-core/* (or something to that effect) This looks scary, but generally isn't, because you're not actually removing anything with this, just juggling a few balls and making only older versions of certain things available ( as they're alls shipped in dev-lang/perl ) And then after you do this, portage is more likely to be persuadable into doing the right thing. You can additionally abuse my tool, gentoo-perl-helpers for doing some of t= his, and some of the steps I've described are automated because they're just that safe and useful. https://wiki.gentoo.org/wiki/Perl#app-admin.2Fgentoo-perl-helpers After putting the right masks in place, do: gentoo-perl gen-upgrade-sets 5.26 5.24 And if you're really lucky, the sets it generates will work the first time = :) ( I actually tested this scenario when developing it, but its still an undocumented use on purpose ) GLHF. --Sig_/G04sdAISg6DQlmRr2pf_LEK Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPZazbI/qrFT1o9rn6FQySxNmqCAFAlotKlAACgkQ6FQySxNm qCAaJhAAiwH0p3XfSnzg0JlDCc3lOKF5EnOfLM28wDsVXpE8uw4zyJmPC8gKNxi9 O3W1d96lLNoP0zPxH6QAEHCmM6867Tilb5kHia31h7EYr5dhcc/VY1aF0amOPFQj uD3+GmM/Qtdr3VxShkBu9Eiya0vbYdxy1uzMPkFeZ9KRNRmXF05riz/kRT3tB19M WsrCJazG1vCVkt8uulNW6JSrn5KLK4nWHGbbURsOuXGls4fLJXMZtG2UVGlU24v/ Cw/XK+04ma/EeDYh/yXaISwMOYkPFifK47J2uAnLtkKKKoZjFU5wZERGTOlj3gi2 xuPUfVAIzAg1d4LWcSHn7IfeTgm6YO/5soVzktbyo09t7sRVIvWG5ew6605t2gOV ROv/pHOKz4dMNFUgcK9zl/3pIQ9YDIz+O0yRMadtobi2vHDNOyEkizb5L8tBBOOz t1wSGnu5tMuT92K7B1HczlFoSrdHln+4YcGEGC4vyBCiP7BSKZUioWLcs05cSAM2 933nZPGDuESGMu/F5QopNjPJFboTiJQcKi8j66dFaskUz0EP4/S+Ivb3tpROvrI7 RWZ7zFbPNz3a+2pnwNBOcUsHAjocL5i7cmozxGS0ftIbGq8XntTamKGLoym9LPqF ZgK6ZIoRNRlWdK/+iPidtidhpH8YR8ygXyHHOe2orqLmkq/XU0k= =aVSB -----END PGP SIGNATURE----- --Sig_/G04sdAISg6DQlmRr2pf_LEK--