From owner-freebsd-pkg@freebsd.org Fri Oct 2 07:41:52 2015 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 213A5A0D2B8 for ; Fri, 2 Oct 2015 07:41:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A224B18DB for ; Fri, 2 Oct 2015 07:41:51 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local ([193.12.234.195]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t927feUZ041551 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 2 Oct 2015 08:41:40 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t927feUZ041551 Authentication-Results: smtp.infracaninophile.co.uk/t927feUZ041551; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [193.12.234.195] claimed to be liminal.local Subject: Re: Interrupted 'pkg update' problem To: freebsd-pkg@freebsd.org References: <20151002065911.GB892@vps.markoturk.info> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <560E3532.2090403@FreeBSD.org> Date: Fri, 2 Oct 2015 09:41:38 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20151002065911.GB892@vps.markoturk.info> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2Qm6sNgba8xRM9KPJaPUvLhvm8bmbGM5g" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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: Fri, 02 Oct 2015 07:41:52 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2Qm6sNgba8xRM9KPJaPUvLhvm8bmbGM5g Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/10/2015 08:59, Marko Turk wrote: > root@projects:~ # pkg update -f > Updating FreeBSD repository catalogue... > [projects.enterprise.my] Fetching meta.txz: 100% 944 B 0.9kB/s = 00:01 > [projects.enterprise.my] Fetching packagesite.txz: 100% 5 MiB 691.6k= B/s 00:08 > Processing entries: 9%^C --- interrupted while processing > root@projects:~ # pkg install cmus > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > pkg: No packages available to install matching 'cmus' have been found i= n the repositories > root@projects:~ # Yes. Interrupting pkg while it is processing a new catalog results in an incomplete catalogue. Probably this should roll-back to a known good state, or at least mark the catalogue as still out of date so the next time pkg(8) gets run it tries to update the catalogue again. Until that gets implemented, the work around is to run 'pkg update -f' In fact, that's generally the first thing you should try if pkg misbehave= s. Cheers, Matthew =09 --2Qm6sNgba8xRM9KPJaPUvLhvm8bmbGM5g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWDjUzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATsxkP/34yTB/QbyUCPvgqi0DbEzXF AryQ4DysxrJsNp55TvZGH4NTvESUrlIxEJtHUZVUHzm/7TyUjWjbEGKEUgvkIuC3 Pkwj0dkh8HfP8coQqp6u1+ebUXWMCqdPan7KV24ruVTfEnvEjrZmrpopfMViX2la s5CYcDRsjgtFEwRrG3VZ7+mvNfaQ9y7exFOMBX1R/8O4/hbx3DD0/85zFA8QQwsU HrO/4VymkRitEfCRFB8uGjcGhtwyhhGg5yruJ58LXiatte9anASzmhCVr+YbeZOd K6Pv0iqwKuo3qIv8I86gUCGKWKzQp8D/62KbPAnz9Q4Oic1wABxhN0Rsb/ar9+hw PCAzyWc5CZtLk5iq1py+ipaJ4LtYgXqN+cx1rUBwS5SjGlCL81OblKCKsDvmoNq8 yajmNgznNkEvIF0mg461iJeVUszxtVXG8WKyWjbm1Hd5xNAgNrySCLNB8f42BQIX hLL+Z62IVwAGVGMWMTWcK7uWmhn0xmbjm4lRbHQdzEKFXzB/py+OQJMsbhwglmcM BryTa/MiLyDxOjNvJzVZ0NnuofgV53n7j4ACl8IU8zm3oFrx26XqTyZK42uM/Iec W8CLqweXBzobxN6XXgj+sVgX4zePpaj748kpSNP+yMH78fExiud9x35dS2P6hFS7 o/VoE0inHKjYjMEhAluV =q3Ek -----END PGP SIGNATURE----- --2Qm6sNgba8xRM9KPJaPUvLhvm8bmbGM5g--