From owner-freebsd-pkg@FreeBSD.ORG Thu Mar 6 08:20:13 2014 Return-Path: Delivered-To: freebsd-pkg@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 6EDCE273; Thu, 6 Mar 2014 08:20:13 +0000 (UTC) Received: from mail-ee0-x22e.google.com (mail-ee0-x22e.google.com [IPv6:2a00:1450:4013:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D50CDDDB; Thu, 6 Mar 2014 08:20:12 +0000 (UTC) Received: by mail-ee0-f46.google.com with SMTP id t10so927772eei.5 for ; Thu, 06 Mar 2014 00:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ytJsx8EBt7juF5XsOXJeiwlLIhbyVURpj4Ao7j3ZFI0=; b=sJ4K4PFpurznS2raGLMVZ/LltNvSLeVN/wkjuBdwkn84zrAzSCXT2bpYalLJ59OYvQ +zKhyrF8BmbG7E5hBVpbY4C3sJgVYNxEH2HH1EhjPVOE+RQsxamoiJLQY0QUQFHj1PzX DBMXPa5Ck6mcHHBRbjd9/5vBgp+XgYqIQcWDInThWe4/c6W0GbhLi5mZtRPGJZrW2UYf 3cD8wdO6Uxn5W0IMS6ieu6YvkgJ1v5Rd1GN+T/TeCSIx+r7N5Gsamx6GEByHRRfzML74 vlKKDZqumr0pWfPdXsuZozhDPRiS/PtTspPIGNGshu/e6tbzeGpVl9Sg6zIGjROFJg2c Ybyg== X-Received: by 10.14.5.77 with SMTP id 53mr8497640eek.10.1394094011038; Thu, 06 Mar 2014 00:20:11 -0800 (PST) Received: from dynamic.wline.6rd.res.cust.swisscom.ch ([2a02:120b:2c03:ef10:9d29:d747:af3f:4ece]) by mx.google.com with ESMTPSA id m1sm19104144een.7.2014.03.06.00.20.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 00:20:10 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: pkg upgrade conflict From: =?utf-8?Q?=22=28=E3=83=84=29=22?= In-Reply-To: <1394039996.26987.90950985.3D7B5FE0@webmail.messagingengine.com> Date: Thu, 6 Mar 2014 09:20:07 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2D9C227C-7C23-4199-A1FE-114EFAF59C04@gmail.com> References: <5943C298-6620-433E-A14D-9D1A5BB03B44@gmail.com> <1394039996.26987.90950985.3D7B5FE0@webmail.messagingengine.com> To: Mark Felder X-Mailer: Apple Mail (2.1874) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 08:20:13 -0000 Le 5 mars 2014 =C3=A0 18:19, Mark Felder a =C3=A9crit = : > On Tue, Mar 4, 2014, at 7:37, (=E3=83=84) wrote: >> I'm facing this : >>=20 >> Conflict found on path /usr/local/bin/php between = php5-5.4.25(lang/php5) >> and php53-5.3.28(lang/php53) >>=20 >>=20 >=20 > Are you trying to make php 5.3 the default version for everything in > your repository? If so, you need to override PHP in your poudriere > make.conf >=20 > DEFAULT_VERSIONS=3D php=3D5.3 I have 40+ boxes, some are still running 5.3 and other are running 5.4, = thus I was looking for a way to use a single repository.=20 Unfortunately and as far as I understand - I'm just beginning with pkgng = - it seem not possible because pkg set only affect installed pkg and not = new pkg, right ? As a consequence new pkg installation is trying to = install dependencies as well, in my case pecl-memcache want php5 and not = php53... I can't understand why such an annoying limitation already - it was not = the case when using ports directly - but anyway the fast fix seem to = build 2 separate repositories. I'm welcome to any other idea of = course... Beside this and since I need to build a repository for each box = specifics, i guess I'll soon need to build a repository per box... so I = wonder if it is possible to use a generic repository pkg definition that = include the hostname, i mean : today my repository definition contains=20 poudriere: {=20 url : "pkg+http://xyz.invalid/poudriere/${ABI}", enabled : yes, mirror_type : "SRV" } is there a way to have something like this (already tried it, doesn't = work because ${HOST} env var is not expanded) poudriere: {=20 url : "pkg+http://xyz.invalid/poudriere/${ABI}/${HOST}", enabled : yes, mirror_type : "SRV" } Again as a fast way I'm currently rewriting the actual repository files = directory using a rewrite rule in the http server conf, depending on = client IP, but this is not very clean... any suggestion ? Thanks