From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 20:06:15 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 6754198D for ; Tue, 5 Aug 2014 20:06:15 +0000 (UTC) Received: from smtp1.bway.net (smtp1.bway.net [216.220.96.27]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4247C200D for ; Tue, 5 Aug 2014 20:06:14 +0000 (UTC) Received: from gecko3.bs.net (host-216-220-115-104.dsl.bway.net [216.220.115.104]) (using SSLv3 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mfv@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 4FE1D95854 for ; Tue, 5 Aug 2014 16:06:07 -0400 (EDT) Date: Tue, 5 Aug 2014 16:06:06 -0400 From: mfv To: freebsd-questions@freebsd.org Subject: Re: pkg problem after upgrade pkg on 10.0 In-Reply-To: <53E119F3.6030804@FreeBSD.org> References: <942dafe6-a6d6-4a6c-a559-0b5947bdcbaa@email.android.com> <53E119F3.6030804@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 20:06:15 -0000 On Tue, 05 Aug 2014 18:52:51 +0100 Matthew Seaman wrote: > 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 > > Found pkg: repository FreeBSD has no meta file, using default > > settings FreeBSD repository is up-to-date > > All repositories are up-to-date >=20 > 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: >=20 > # rm -i /var/db/pkg/repo-* /var/db/pkg/*.meta > # pkg clean -a >=20 > 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. >=20 > Cheers, >=20 > Matthew >=20 Hello, The reason that the file "meta.txz" is not found is that it does not exist, except on http://pkg.FreeBSD.org/freebsd:11:x86:32/latest/meta.txz -- and=20 http://pkg.FreeBSD.org/freebsd:11:x86:64/latest/meta.txz -- My guess is that since release 11 is the leading edge of development it is being used for testing purposes. I suppose if the tests work out then this file and the purposes for which it exists will be back ported. Some other person who is more knowledgeable than myself could comment on the need for meta.txz. I am running pkg-1.3.4 on release 9.1 and the same message appears when I run "pkg update" or "pkg upgrade". Nevertheless, both parameters to pkg work as intended. I've been using the new pkg program since it was first released and except for a few minor hiccups with no data loss it has worked quite well. Kudos to the developers. Carpe Diem __o _.\<,_ Marek (+)/ (+) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~