From owner-freebsd-current@freebsd.org Mon Dec 7 12:25:19 2015 Return-Path: Delivered-To: freebsd-current@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 AAACC99A131 for ; Mon, 7 Dec 2015 12:25:19 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08C0B1A34 for ; Mon, 7 Dec 2015 12:25:18 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [10.6.25.100] ([213.61.170.110]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LkOeR-1ahiRi3Yfj-00cMNb; Mon, 07 Dec 2015 13:25:09 +0100 Subject: Re: pkg does not update the repo catalogue To: freebsd-current@freebsd.org References: <20151207085043.GA3047@c720-r285885-amd64> From: olli hauer X-Enigmail-Draft-Status: N1110 Cc: Matthias Apitz Message-ID: <56657AA5.1050002@gmx.de> Date: Mon, 7 Dec 2015 13:25:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151207085043.GA3047@c720-r285885-amd64> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:8Tu4cAnSYTBAR8F956xp0SN4foYEKGzzK4qZdEIzOWbaab3fXTi 5pdQfZOiJyUtBr6lI3+WiNIRNLLNViT0U2W2cUj3o83VYge4KoRXz2jX0tW4+ZM7yAKmuav aUxr6Ov+Uy+DNZMCxWKS+td62sHYwUndLYNaHBLqg8EMS0tLIfdFmOHUu5uHq9XOHMoty7v hTrX/hnNMj1n5OdvcPpxQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:V37u9KgO2LU=:kcS9XciBAWoA/JWl/J2QGN bVoVG5TOS6TKBLT/RU+GtI0ALosJ7xjXDVOld6dliLyzf56bVmP3kY5X8/hQLdU75XO64iGmk QXJYiqibvdnj7OGM0GSgI1gxe8SPGDlHNNyNdHj/fsnSeWL7XbpPszUhSKhWTZoeBmj7np8ou SPGOw5CxZ1rtkp/4oOYUB/qSlDQcgXt6tKxcPgAT7l52S0tVUTscslb4WcCN2Fqa03CNaSbbN Pb/yj4AZnpMpMfdNUlWX7dznE9dEGOl2GKJnQAWj2n0QAbgj906Iv4cOPfCkVy0wo/N5Bl13G fLZGgiqR3Zw+zFUL73nI9hFOVCkq+83t+JUz1aQZjIQL94PhCaJgqNEy2h+y/qv6tld+4cqMg zAZ6z1RF8eUwxy0LG8/RVSlXqZZggC80gxXCF7RgCTQk1NEA9fqhFr0Xlc/PBY35ysa38v99L ygekJG15CAhULnHsQdDqYT7EAvfDT8H1bEmpZL/2lFYOg56ucKLqiRzD4fnXgHgvkS45aLsmF Qa2hWu3Tl+I0UQjepJPsI1euSc8fnJNjctEMnMtp/FVDSDEOZ9qgvaemKLP+K0YCTK8SEGsVD afrfSRJhH8NgMI5dV8IQFg7gdPty8Md5lckxXlJjmoWKPvql4OtWPiOf9wf2FFvLQGpjqB9N9 HRu8cnQaPmh8F2BrouArTxCSneQeVmJ0pv6D2hzVU0Qd0uxbiN0H+YBs5FOWudy5SOB/Mo/NA ycsVFnRjFqOw1QW/PVEbcb7rI11CHYUTAaaGjQ/QbvnDQivgd/YVbS9SvWkK87oxE/WdlHvTg qShb0a5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 12:25:19 -0000 On 2015-12-07 09:50, Matthias Apitz wrote: > > Hello, > > This is with 11-CURRENT and ports from July this year; I have the > packages which I build with poudriere on some other host in a dir > /usr/PKGDIR.20150726 and added 8 new packages there, the total number is > now 1691: > > # ls *.txz | egrep -v 'packagesite.txz|meta.txz|digests.txz' | wc -l > 1691 > > My repo definition is: > > # cat /usr/local/etc/pkg/repos/myrepo.conf > FreeBSD: { > url: "file:/usr/PKGDIR.20150726", > enabled: true, > } > > When I now want to update the 8 new packages to the repo catalogue, they > are not added (i.e. the number stays with 1683 and I also can not > install them with 'pkg instal ...'): > > # pkg -v > 1.5.5 > # pkg -R /usr/local/etc/pkg/repos/ update -f > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100% 260 B 0.3kB/s 00:01 > Fetching packagesite.txz: 100% 382 KiB 391.6kB/s 00:01 > Processing entries: 100% > FreeBSD repository update completed. 1683 packages processed. > > What I'm missing here? > > Thanks > > matthias Hi Matthias, I see some possible issues. - repo has same name as the official one (FreeBSD, see `cat /etc/pkg/FreeBSD.conf') - file:/$path should be file:///$path - repo catalog was not updated with command `pkg repo' - REPO_AUTOUPDATE = true/false (in pkg.conf) Does your repo match the output of the command $ pkg -vv (all below Repositories:) -- olli