From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 17:53:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D87D2E2C for ; Tue, 5 Aug 2014 17:53:09 +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 79F312F7C for ; Tue, 5 Aug 2014 17:53:09 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s75Hr0tF006374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 5 Aug 2014 18:53:01 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s75Hr0tF006374 Authentication-Results: smtp.infracaninophile.co.uk/s75Hr0tF006374; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <53E119F3.6030804@FreeBSD.org> Date: Tue, 05 Aug 2014 18:52:51 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg problem after upgrade pkg on 10.0 References: <942dafe6-a6d6-4a6c-a559-0b5947bdcbaa@email.android.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ" X-Virus-Scanned: clamav-milter 0.98.4 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, URIBL_BLOCKED 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-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: Tue, 05 Aug 2014 17:53:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/08/2014 18:00, Radek Krej=C4=8Da wrote: >> I think you would not have to remove the repro, pkg does everything >> itself by using pkg update. Maybe it helps to reinstall pkg. >> Commands: >> # cd /usr/ports/ports-mgmt/pkg >> # make deinstall >> # make >> # make install clean >=20 > [Radek Krejca]=20 >=20 > Hello, thank you. But its still the same: >=20 > pkg update > Updating repository catalogue > pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/meta.txz: Not Foun= d > pkg: repository FreeBSD has no meta file, using default settings > FreeBSD repository is up-to-date > All repositories are up-to-date After updating from pkg-1.2.7 to pkg-1.3.x I've been finding it necessary to delete the repository catalogues and sometimes to clear out any cached packages: # rm -i /var/db/pkg/repo-* /var/db/pkg/*.meta # pkg clean -a You should then find that pkg will update its catalogues and start behaving more sensibly. Don't worry about the warning about 'no meta file' -- that is /only/ a warning and doesn't stop pkg(8) from working. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ 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.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJT4Rn7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATZHsQAKhw+88U2M593c4BFWXT3BwP 5JOGi+Mz/GRQJh9A/f6WHcgDyv99AejhBhNYkvNvg4T+mkhyVl1AvdTWyf6DRLnz liCGx6vyf2ik0fhq1sUMbkOvAlNYWJbXkYBkj4ptDQxlZFHah8DvvmFfO1ZJ3/M7 lJOYxDRaLTpA6BuRBLb0RfdWqFrvcB9h1RKc6fcYhTnuWdxL5opUCHnPkhcJmGkX JfpHFCxg5qCq+Jw+RnOp6AEUp7ixHKI6LYU2JJV9uQOaiHGFEOnlJAVP1pbndBKu N+XXE3PxqI7IfK2f9YOfeHOdDHEqSEmca/L5xgu9lzoRmCCOh5/rUVqwVrDjbOuh aHuyMDffelHCC0XBnV8Ky/Z06nbnEAdY+NdblcwGxud+/RzFTEFsR8O3192vE5nS n6xGKlUQbHUM0B0pZS8c/GgHkhVrqkYYhRXy2ORN7ZYuwiimLmRVcINXpHkcL54J fJo1O+XptqVyIR3qJnZPjylCKsQQvpF5XWGw1CmAi46GiJmC3auV/UGd/BmCl9i0 N7jm8aiw07hwfbRixlzZgNgAeHjnRJf7MuGWrUuqcPQ3RkM8nX3jO/qirK8zQYxk ttab0IXmYkx6u0hVElY7oFNDPLtQr62f7A+wWVY/p+NjVtORHmadhmO/bUwPwvp+ gKHDQ+RJwNq6ii9EnO29 =+ZaL -----END PGP SIGNATURE----- --kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ--