Date: Tue, 26 Nov 2013 23:05:32 +0100 From: olli hauer <ohauer@gmx.de> To: freebsd-ports@freebsd.org Cc: Axel Rau <Axel.Rau@Chaos1.DE> Subject: Re: portmaster refuses to use pkgng with local packages Message-ID: <52951B2C.3020304@gmx.de> In-Reply-To: <ADC12B34-3F51-4B2F-8857-E2E7D181290A@Chaos1.DE> References: <ED1AA9E6-0696-47F6-94F1-8CF6E6369F97@Chaos1.DE> <526D2FF9.5030301@egr.msu.edu> <6FBA83B6-DC8D-42D5-9B55-C90152E14F78@Chaos1.DE> <CAOjFWZ4j-EBkJhiUMT5ykj7dhv4Gy=sKE%2B9W4JM196qBrUDcJA@mail.gmail.com> <14CCEAEB-61E4-4BD3-8F2B-7EA809B1DC1B@chaos1.de> <CAOjFWZ660W7J7SN841JSYv9-nD5L3h0Fhb0jkj%2BpAVcqbUgSSQ@mail.gmail.com> <42213F76-5A13-4BAF-B93F-BBAB2298D5C2@chaos1.de> <526D736C.4030705@FreeBSD.org> <7AAE93C1-71EA-4185-876E-D3BFDD98624E@chaos1.de> <B58B7622-B58C-4676-9DF3-819F6CE85A2E@Chaos1.DE> <5294FD63.5070608@FreeBSD.org> <ADC12B34-3F51-4B2F-8857-E2E7D181290A@Chaos1.DE>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-11-26 22:27, Axel Rau wrote: > > Am 26.11.2013 um 20:58 schrieb Matthew Seaman <matthew@FreeBSD.org>: > >> On 26/11/2013 18:07, Axel Rau wrote: >>> I need a configuration, where pkg uses *ONLY* *my* repo. >> >> Delete the package site line from pkg.conf > >> > Unfortunately, this does not help: > --- > # pkg update > Updating repository catalogue > pkg: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest//digests.txz: File unavailable (e.g., file not found, no access) > pkg: No digest falling back on legacy catalog format > pkg: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest//repo.txz: File unavailable (e.g., file not found, no access) > --- > pkg did not contact my web server. > After winning the fight with a couple of machines. on the package build machine - cd $package && rm repo.txz - upgrade pkg on your Pd box to 1.2_1 - pkg repo (with the 1.2 version) on the client: - rm /var/db/repo* (and only this files!) test a simple fetch from the client, in your case: fetch http://db1.in.chaos1.de/92amd64-default/packagesite.txz tail your webserver log if the file is found, else adjust the webserver config or the packagesite. For a quick jumpstart copy pkg-static (version 1.2) to the client and use this binary so the pkg wrapper from the OS is not used. I've wrote a small summary on githup maybe it helps others. https://github.com/freebsd/pkg/issues/650 PS: In case you see error messages like: pkg: /usr/local/etc/pkg/repos//local.conf file is using a deprecated format. Please replace it with the following: ======... and then your identical repo.conf ignore it for now only trust your web logs (I think the pkg team will fix this soon) -- Regards, olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52951B2C.3020304>