Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 13:26:40 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        olli hauer <ohauer@gmx.de>
Cc:        freebsd-current@freebsd.org, Matthias Apitz <guru@unixarea.de>
Subject:   Re: pkg does not update the repo catalogue
Message-ID:  <20151207122640.GL27529@ivaldir.etoilebsd.net>
In-Reply-To: <56657AA5.1050002@gmx.de>
References:  <20151207085043.GA3047@c720-r285885-amd64> <56657AA5.1050002@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151207122640.GL27529>