From owner-freebsd-stable@FreeBSD.ORG  Mon Jan 28 14:28:38 2013
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id DC6F9A19
 for <freebsd-stable@freebsd.org>; Mon, 28 Jan 2013 14:28:38 +0000 (UTC)
 (envelope-from rainer@ultra-secure.de)
Received: from mail.ultra-secure.de (mail.ultra-secure.de [78.47.114.122])
 by mx1.freebsd.org (Postfix) with ESMTP id 356BAF57
 for <freebsd-stable@freebsd.org>; Mon, 28 Jan 2013 14:28:37 +0000 (UTC)
Received: (qmail 37074 invoked by uid 89); 28 Jan 2013 14:28:37 -0000
Received: by simscan 1.4.0 ppid: 37069, pid: 37071, t: 0.0396s
 scanners: attach: 1.4.0 clamav: 0.97.3/m:54/d:16578
Received: from unknown (HELO suse3) (rainer@ultra-secure.de@212.71.117.1)
 by mail.ultra-secure.de with ESMTPA; 28 Jan 2013 14:28:37 -0000
Date: Mon, 28 Jan 2013 15:28:36 +0100
From: Rainer Duffner <rainer@ultra-secure.de>
To: freebsd-stable@freebsd.org
Subject: Re: pkgng and updated packages
Message-ID: <20130128152836.38f270be@suse3>
In-Reply-To: <20130128135220.GB43629@ithaqua.etoilebsd.net>
References: <20130128115120.36d50377@suse3>
 <20130128135220.GB43629@ithaqua.etoilebsd.net>
X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-suse-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jan 2013 14:28:38 -0000

Am Mon, 28 Jan 2013 14:52:20 +0100
schrieb Baptiste Daroussin <bapt@FreeBSD.org>:

> On Mon, Jan 28, 2013 at 11:51:20AM +0100, Rainer Duffner wrote:
> > Hi,
> > 
> > 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 :)


Just needed some patience ;-)


> pkg itself does not care about that and trust the revision number to
> only what 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.

Ah, OK.

> 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.


I currently don't have systems with pkgng. They are being rolled out as
new installs come.
But I've got about 50 systems I have to migrate. Most are 9.0 or 8.3.

> 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_*
> 


OK, I'll note this.



Best Regards
Rainer