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

[-- Attachment #1 --]
On Mon, Dec 07, 2015 at 01:25:09PM +0100, olli hauer wrote:
> 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

pkg should have yelled about that, I will fix that.

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

Best regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlZlewAACgkQ8kTtMUmk6Ez4BACgiODeddGgMTJyHXom+RaMcIK4
hX0An0DvJukBr0JaifxAAziU/X6pytZ1
=gzav
-----END PGP SIGNATURE-----

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