From owner-freebsd-current@freebsd.org Mon Dec 7 12:26:46 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 0993699A272 for ; Mon, 7 Dec 2015 12:26:46 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B456D1BC6 for ; Mon, 7 Dec 2015 12:26:45 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wmww144 with SMTP id w144so147879485wmw.0 for ; Mon, 07 Dec 2015 04:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=qeDUt+trmdERyZ9p4o5oVGwS5oUJbI6+8Ss1CtEIpkE=; b=gwpvfrKZ0hjEPzG+Dm6q68/F1Ax+kMb3rt+0lDScxrZkvyUIHyXp3CxFqSN4KJPK6O vvG8YWgOx11G2uCX7qlwoytESFjPukOi6+Rl+iV+PZaDzSAXGzlcuqbqsxtxfuIXYNYY bjaUl8aqpOZPoKnxER0y6stjrU0rOei4kFUpY1bMDzycrNGy8z9XtPQpmCQH58d5yivd 69UHbILMHV811Lj+YNgLH7TIcXSeOSJAYy07qSjG2+5I9WPpXFOkYKZPyCChlUEnGPtj 1e3sEK426cafWZG7cUcrl4Bd7tzMh12r/09UWfoFhBa7uiZfzAgSC2o1pUnLg1Dpvcjc lFcQ== X-Received: by 10.28.26.78 with SMTP id a75mr20405871wma.13.1449491203539; Mon, 07 Dec 2015 04:26:43 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id w6sm25108945wjy.31.2015.12.07.04.26.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2015 04:26:42 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 7 Dec 2015 13:26:40 +0100 From: Baptiste Daroussin To: olli hauer Cc: freebsd-current@freebsd.org, Matthias Apitz Subject: Re: pkg does not update the repo catalogue Message-ID: <20151207122640.GL27529@ivaldir.etoilebsd.net> References: <20151207085043.GA3047@c720-r285885-amd64> <56657AA5.1050002@gmx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TnYVF1hk1c8rpHiF" Content-Disposition: inline In-Reply-To: <56657AA5.1050002@gmx.de> User-Agent: Mutt/1.5.24 (2015-08-30) 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:26:46 -0000 --TnYVF1hk1c8rpHiF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 07, 2015 at 01:25:09PM +0100, olli hauer wrote: > On 2015-12-07 09:50, Matthias Apitz wrote: > >=20 > > Hello, > >=20 > > 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: > >=20 > > # ls *.txz | egrep -v 'packagesite.txz|meta.txz|digests.txz' | wc -l=20 > > 1691 > >=20 > > My repo definition is: > >=20 > > # cat /usr/local/etc/pkg/repos/myrepo.conf > > FreeBSD: { > > url: "file:/usr/PKGDIR.20150726", > > enabled: true, > > } > >=20 > > 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 ...'): > >=20 > > # 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 =20 > > Fetching packagesite.txz: 100% 382 KiB 391.6kB/s 00:01 =20 > > Processing entries: 100% > > FreeBSD repository update completed. 1683 packages processed. > >=20 > > What I'm missing here? > >=20 > > Thanks > >=20 > > matthias >=20 > Hi Matthias, >=20 > I see some possible issues. >=20 > - repo has same name as the official one (FreeBSD, see `cat /etc/pkg/Free= BSD.conf') > - file:/$path should be file:///$path pkg should have yelled about that, I will fix that. > - repo catalog was not updated with command `pkg repo' > - REPO_AUTOUPDATE =3D true/false (in pkg.conf) >=20 > Does your repo match the output of the command > $ pkg -vv (all below Repositories:) >=20 >=20 Best regards, Bapt --TnYVF1hk1c8rpHiF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZlewAACgkQ8kTtMUmk6Ez4BACgiODeddGgMTJyHXom+RaMcIK4 hX0An0DvJukBr0JaifxAAziU/X6pytZ1 =gzav -----END PGP SIGNATURE----- --TnYVF1hk1c8rpHiF--