From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 17:00:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80C333D6 for ; Wed, 23 Jul 2014 17:00:39 +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 266B12283 for ; Wed, 23 Jul 2014 17:00:39 +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.14.9/8.14.9) with ESMTP id s6NH0X0H053048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 23 Jul 2014 18:00:33 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s6NH0X0H053048 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1406134833; bh=5dk3F7xaH1MzgyriLrLBIx5d/u0n2w02UjkLv0c8+VI=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Wed,=2023=20Jul=202014=2018:00:27=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20What=20Happens=20if=20you=20Run=2 0pkg2ng=20Multiple=20Times?|References:=20<20140723140836.E8AF2229 4B@server1.shellworld.net>|In-Reply-To:=20<20140723140836.E8AF2229 4B@server1.shellworld.net>; b=HqQV4WrAFDxF1baGNjrnsqrXNzLMW2sQyUzHl2aaK7UsHxZiTaCi3tR9AfaHL2W7f SIA+bZ+hXLb1etC1K5PCJKwc76cqzx+g3tj3c5xP2yJjOy6y05lKAiGbfKXsov0Mdp Vh1DiObxP/rbGlQB9JXXxLJtoy7tloWaLUvbOqX8= 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: <53CFEA2B.60803@infracaninophile.co.uk> Date: Wed, 23 Jul 2014 18:00:27 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: What Happens if you Run pkg2ng Multiple Times? References: <20140723140836.E8AF22294B@server1.shellworld.net> In-Reply-To: <20140723140836.E8AF22294B@server1.shellworld.net> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qOogV1psUTksi8X9hqwpQHLaH8BhWCLAT" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RDNS_NONE,SPF_FAIL autolearn=no 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-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 17:00:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qOogV1psUTksi8X9hqwpQHLaH8BhWCLAT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/23/14 15:08, Martin G. McCormick wrote: > To make a long story short, I logged in to the same system > twice instead of two different systems once. I realized > something was wrong when pkg2ng got to the shared libraries part > and one of the instances reported they were locked . Everything > seems to be okay but I am just checking while backups are all > recent. It depends if you updated or installed some other packages between the two runs of pkg2ng. If you didn't then it should be harmless. Otherwise, try running 'pkg info' and see if there are things obviously missing or added. Even if you have screwed up your package database, you can recover a lot by reinstalling the packages concerned. Note that screwing up the package DB will have no operational effect on your system until you need to do your next round of package updates so it may be better to just live with the broken pkg DB for a while, and plan out reinstalling stuff at leisure rather than dropping everything and trying to fix it immediately. Cheers, Matthew --qOogV1psUTksi8X9hqwpQHLaH8BhWCLAT 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 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTz+oxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnTlMP/1vvdjDsvjPjQndEBLElEd5/ T/Qe7RMZcxAqWdKk9uNdasyO9AEmSmQ3eEVsCZR1RsT7psyAJc7YJxPP6nZP8yD1 KsgdBB3B6emUDs8yd0XVcrLxOlsX/IBTYcN7F9EtpZBUJ37MmYu2NQtWQKUG/uZK 89Y07tR/4NvNcKWqUSlsLBEtrajhwrwYe1kwu5iiXigAty8Csceh2njYcsvmqRMT dIf7LeGa/pAkB20S/NPUBZcybA0I1npuLF/nsEw9/ZLXfUsdeVs6MaKhJiyWSQGV l2JYmAdNLvwKzDhv6Mq7rs7+oX4fvPEdwggRBuQ+1xMXkWJqBuF04OkWQljp5G7S 281MQWx7iTVpEliPzHROKjuDV/ZhsPm1eOj91h02q1C1xd1sF/eodvNlnQx4xjQg 6cTSeIye61OTppFhSsfo7kGd0cJi9F7mi43/QSKcqRcesZ8zHxLVxf6ZQamYcZiZ 3VGsTXcVqih3ujiSd2pWSVeb74oNbNyDVWyVJbPXkwHENyTkeYT54ugRxZHeEkwJ RZz11PFqVvruEYHGSmjqIzdKOYjJqtUOOXM6PpqX6uULtsLzJX1xTdJDRoBE0sKC 7r0p3EkoUuMhfPJKBuXK/rjopkdn1vueJcTmTI1BOUCoD8FDs+JjNNheP77VDArz gKLEUcBTBaEExgN0J3eW =4HSn -----END PGP SIGNATURE----- --qOogV1psUTksi8X9hqwpQHLaH8BhWCLAT--