Subject: efficient updating with binary packages?
To: None <>
From: Thomas Klausner <>
List: tech-pkg
Date: 11/04/2004 17:05:08

Someone must have had this problem before...
so I've made a bulk build of a lot of packages, and
now I'd like to update my installed packages from the
generated binary packages.

One way would be:
	pkg_delete '*'
	pkg_add /usr/pkgsrc/packages/All/*
assuming that I only have the packages I want there.
However, this probably re-installs quite a lot
of packages unnecessarily.

Perhaps I could also set UPDATE_TARGET to bin-install in /etc/mk.conf
and do a 'make update' in all the outdated packages' directories.
That's better, because it causes less unnecessary churn, but it
is more work for me.

Did someone already write a more automatic way to do the second?