From owner-freebsd-pkg@FreeBSD.ORG Thu Apr 16 08:48:12 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A531D3D3 for ; Thu, 16 Apr 2015 08:48:12 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4757964B for ; Thu, 16 Apr 2015 08:48:12 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t3G8lqYL060407 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 16 Apr 2015 09:48:07 +0100 (BST) (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t3G8lqYL060407 Authentication-Results: smtp.infracaninophile.co.uk/t3G8lqYL060407; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <552F7738.1070703@freebsd.org> Date: Thu, 16 Apr 2015 09:47:52 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: perl version woe References: <20150416042738.GA99219@admin.sibptus.tomsk.ru> <552F5FF3.7090908@FreeBSD.org> <20150416080754.GA18442@admin.sibptus.tomsk.ru> In-Reply-To: <20150416080754.GA18442@admin.sibptus.tomsk.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ed3uMmqcC8ElRL9ExhHP46GgGQqDaqsHx" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2015 08:48:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ed3uMmqcC8ElRL9ExhHP46GgGQqDaqsHx Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/16/15 09:07, Victor Sudakov wrote: > Do you mean to say, I should be able to safely run "pkg upgrade" and > pkg will resolve this for me? Yes, pretty much. You can run 'pkg upgrade' safely, as it will show you what packages it will install, remove or reinstall and ask you for confirmation before it does. (Assuming you haven't overridden that behaviour in pkg.conf) Check what it tells you carefully, and just hit 'n' if you don't agree with it. In fact, for "difficult" upgrades it tends to do that twice, once with the information in the repository catalog, and then again after it has downloaded all the new packages and so has access to the complete list of files in each package manifest. The second pass of the solver is where it handles all the packages trying to install conflicting files, which is something that tends to happen when doing a switch between different version of perl or ruby or the like. You should be able to avoid the two-solver-passes effect by pulling down the new packages using 'pkg fetch -u' before trying the upgrade. Generally, if pkg can't work out how to upgrade it will end up asking you to remove some items from the upgrade and then end up not doing anything. Although pkg-1.5 should be less prone to that sort of thing no= w. > I'd better try on a copy of the system. To be sure. There's no such thing as "too paranoid" where systems administration is concerned. pkg(8) should not be causing you any grief though, and even if it does, we'd like to know about it[*] so we can avoid the problem in future. Cheers, Matthew [*] Ie. we'd like a copy of your package database and maybe access to your repo, or details of your repo setup so we can try and reproduce the problem. --ed3uMmqcC8ElRL9ExhHP46GgGQqDaqsHx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVL3c4XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnleIP/3YR+W7XH2Gv/O7LV39mICiv NalAuW2vhGtSVkih+9tNO66AwR935BR+3lF9TCKnZ9xe5+QWrfwd54AyjK8nSo0n qj8gaOWrtXPhtbW+6kz25bTQLSRK63kzxof4PPDTeMHXAcvAbIUs/EfXp4A8WWnO 4JWEOwnanPEv3+/AFKt+73g3MDhNuYyEHnSG9KRl2YIrLoh8k0c2g4r07eciRBUe c35wW25BiDbkKJbG0Y9vpTBVloYQbpiLYH6anyDbOJolIiYUlnw12Urz6p6ME70w CUknyDLBLk8D/X3OMjaFmO8sBZaqChd/nzIsKeYHbgCYYuTU8LHdR+dYRA6nNELH mMgIc4gUTkSySfuaoTEpq0/NM2fn7AD8x31W6yq2TrhT7CDSW3IDStU7AJepgymf lr7LSra/vG9u1O5koeYNGgRZW/FpwhMnjbKKEBYKz5Y9/vnKtPbBySZjTiHhzRye rsMdQjg+f1Slu+eErU6NSc8zV0dR1x5fNFvARJKbP7OU+vMHVSv3i8lxFNkoC7HP ZHJQqkAEk44VMsWYaeq5D56U37h76YZ5cY1ilE4KhyEOgxvMMA6p/YEDRb88DD7y lJmikQ9onYEOKxtaLAdPJ5oOKrklAwKGC4NpY4Ee6iB6yUIANJKkak2veK3SPCUY ArmrMFOGhMubqcAvOPzj =RRXB -----END PGP SIGNATURE----- --ed3uMmqcC8ElRL9ExhHP46GgGQqDaqsHx--