Subject: Re: pkgsrc and update
To: Havard Eidnes <he@uninett.no>
From: Jukka Marin <jmarin@embedtronics.fi>
List: netbsd-users
Date: 07/25/2005 21:57:47
On Sun, Jul 24, 2005 at 11:55:05PM +0200, Havard Eidnes wrote:
> > I tried "make update" (although I know it does NOT work - and it didn't)
> > and sooner or later, the system complains "xxx is already installed -
> > perhaps an older version?" - why doesn't it _update_ the package as I
> > told it to do?
> 
> The problem is that when pkgsrc tries to install (new) dependent
> packages, it does "make install", not "make update" in those packages.

Why is this?

Because of the dependencies, updating or installing a new pkg may require
rebuilding most pkgs installed from an older pkgsrc tree - I don't like
this, but I understand why this happens.  The worst problem is that I can't
simply start "make update" for some pkg on Friday and expect the system to
be up-to-date on Monday morning.  Instead, only one or two pkgs may be
built and then the process stops with the "older version installed" thing.

To really do a "make update", I have to sit by the computer for 2-3 days
waiting for kde3, qt3, gnome, gimp, and other "small" pkgs to be built -
and manually running "make update" in multiple pkgsrc directories to get
everything done.

Could I have a "make update_everything_that_is_required_pretty_please" or
some such?  ;-)  As it is, I think "make update" does not do much good.

  -jm