On 12/07/15 08: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, > } There's no need to label your custom repo as 'FreeBSD' -- in fact, it's probably better for you to use a distinct name, as the repo.conf files accumulate for the same repo tag. In this case you've possibly inadvertently got pkg checking the pkg signatures against the default FreeBSD repository keys, which isn't going to work for locally built packages. Just change the tag in the repo.conf to 'myrepo' and then check what pkg(8) sees overall by running 'pkg -vv'. You'll need to do a pkg upgrade -f after that. If you don't want to use the standard FreeBSD repo at all then you can add a /usr/local/etc/repos/FreeBSD.conf containing FreeBSD: { enabled: no } > 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? If changing the repo tag doesn't fix the problem, try turning on some debugging output: env DEBUG_LEVEL=4 pkg update -f Cheers, Matthew
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC