Subject: Optimized "make update"
To: None <>
From: Martti Kuparinen <>
List: tech-pkg
Date: 01/14/2005 13:46:20

Let's assume we have the following packages installed:

libXXX1    libXXX2
    |       |
    libXXX3 |  libXXX4
          | |  |     |
          appXXX5    appXXX6

Now libXXX1 and libXXX4 need to be updated. Do we have a tool to perform
this in an optimized way? In other words, something like this:

# pkg_update libXXX1 libXXX4
[ Remove appXXX6, appXXX5, libXXX4, libXXX3, libXXX1 ]
[ Install libXXX1, libXXX3, libXXX4, appXXX5, appXXX6 ]

I'm thinking about writing a tool to do that (I already have something
ready) but before I make my script "pkgsrc ready" (=production quality)
I want to know I'm not re-inventing the wheel...