From owner-freebsd-stable@FreeBSD.ORG Mon Jan 28 13:52:30 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 49BD1DDE for ; Mon, 28 Jan 2013 13:52:30 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id DB379C36 for ; Mon, 28 Jan 2013 13:52:29 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hn3so1436002wib.17 for ; Mon, 28 Jan 2013 05:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=9Vnp+dDBjww/JXR6244ZV/RosUf4uNN6+QSby6tj93Y=; b=e7m3jk5LTvOtBJFtiFzmsmst2Bhjtloj1KugpCE8iYTB1Df4Fv19aFDAkbMGxMfx8X 7Rd4rGUxSgxjOguIdRtyY2AnZG4jZEPQgHBhX8X5m1bSlO1GXUZlewJMmPbZ7RICFg7V zqOW/veneL9ZPO38Ox9D94muhnqMW7tvL+d3pXoJHWr2+H4A1rYyP3aa3ypbgZFJlVBu oFOS1GQfkG0lxjzbFadQdaBgl4JJCu3+Aq1Upxec8FAZNVmsM/MYR6HeP8ZRi4IkWbFU p9JsXN3kmwAGMrrA0/SEeXcqowDY/1aaR6ocJs8ZIe6LUKL8NM86FmC6QjN/xStsJOZe yU3A== X-Received: by 10.194.238.226 with SMTP id vn2mr21361709wjc.23.1359381142895; Mon, 28 Jan 2013 05:52:22 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id eo10sm13532986wib.9.2013.01.28.05.52.21 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Jan 2013 05:52:22 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 28 Jan 2013 14:52:20 +0100 From: Baptiste Daroussin To: Rainer Duffner Subject: Re: pkgng and updated packages Message-ID: <20130128135220.GB43629@ithaqua.etoilebsd.net> References: <20130128115120.36d50377@suse3> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <20130128115120.36d50377@suse3> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 13:52:30 -0000 --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 28, 2013 at 11:51:20AM +0100, Rainer Duffner wrote: > Hi, >=20 > I run my own pkgng repo (via poudriere) and it seems to work great. > However, I've got more questions... Glad to hear it works well :) >=20 > - when PHP got updated to 5.3.21 (from 5.3.20), all the other stuff > that depends on it (PECL-*, pear-*) got rebuilt, too. > (In my ports-tree, I just imported the update of PHP and nothing > else) > - but on the client, when I ran pkg upgrade, only the php-packages got > upgraded. Is that correct? Shouldn't it also update the PECL and pear > packages? What happen is that poudriere always want to make sure that you have sane packages, so what it does is rebuilding everything that depends on something that has been upgraded, so that it always have working packages and do not = fall into the pcre/png/$pickyourfavorite problem when shlib are bumped and not a= ll the need revision bump has be done. pkg itself does not care about that and trust the revision number to only w= hat as changed is really updated. So force updating everything that depends on = php a simple pkg install -fR php should do it correctly for you. > - how do I re-install all packages? I will soon upgrade some systems > from 8.3 to 9.1 and I want to reduce the number of systems I build > packages for. Before pkgng, I would just pkg_delete everything then > re-install and do a diff on the output of pkg_info |cut -f 1 -d " ". > I though there might be an easier way... pkg upgrade -f will upgrade everything. to avoid you to shoot yourself when upgrading from 8.3 to 9.1 we also provide a pkg-static binary so that even = if pkg itself is linked against libraries that has disappeared in 9.1 you can = still reisntall everything. > - is there a make.conf switch to completely disable pkg_* or do I have > to remove the binaries myself? Will they re-appear after a > freebsd-update -r or even after a simple freebsd-update? If I install > postfix, there is a switch in rc.conf do disable it completely and I > think there should be something similar. WITHOUT_PKGTOOLS will remove all the pkg_* tools if you are building world,= but nothing like this in binary upgrade like freebsd-update what you can do is manually rm /usr/sbin/pkg_* regards, Bapt --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEGgpQACgkQ8kTtMUmk6ExjrgCgt2OjmZakrBbMCAUa2mRZCgE7 2nMAoJM9fSPUVo07D31Yy0hmbexf46Cr =5g/o -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn--