pkgng and updated packages

Rainer Duffner rainer at ultra-secure.de
Mon Jan 28 14:28:38 UTC 2013


Am Mon, 28 Jan 2013 14:52:20 +0100
schrieb Baptiste Daroussin <bapt at 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


More information about the freebsd-stable mailing list