From owner-freebsd-ports@FreeBSD.ORG Tue Nov 26 22:05:35 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 119A7ECB for ; Tue, 26 Nov 2013 22:05:35 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8415521F4 for ; Tue, 26 Nov 2013 22:05:34 +0000 (UTC) Received: from [192.168.0.100] ([87.139.233.65]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LmNHK-1VCv1S0f7i-00ZzWL for ; Tue, 26 Nov 2013 23:05:32 +0100 Message-ID: <52951B2C.3020304@gmx.de> Date: Tue, 26 Nov 2013 23:05:32 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: portmaster refuses to use pkgng with local packages References: <526D2FF9.5030301@egr.msu.edu> <6FBA83B6-DC8D-42D5-9B55-C90152E14F78@Chaos1.DE> <14CCEAEB-61E4-4BD3-8F2B-7EA809B1DC1B@chaos1.de> <42213F76-5A13-4BAF-B93F-BBAB2298D5C2@chaos1.de> <526D736C.4030705@FreeBSD.org> <7AAE93C1-71EA-4185-876E-D3BFDD98624E@chaos1.de> <5294FD63.5070608@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:88VLWD8qKUutWE0UtVRrH3f/b84mRTRnpso9Yde8Mr183Skcy7g oxYIlgEVtR+cJG/7buJtFwa9bgAAnjt+jck8jSIRoSREAoc+EHfLlW1rX75B2bnuZZwVNcG qca7hVG2bUGbKNRdgmujlwGjOQD9hy1TtPOIcyc3qjCsJHpy36DV0+k101TXx2mJ7YZ5pjW DTlUh/SoWGA9in1aloFkQ== Cc: Axel Rau X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: freebsd-ports List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 22:05:35 -0000 On 2013-11-26 22:27, Axel Rau wrote: > > Am 26.11.2013 um 20:58 schrieb Matthew Seaman : > >> 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