NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Running a sustainable source code NetBSD system

I have a specific build box which makes binary packages for my other boxes,
and the install the binary packages across http or something via

I use pkg_chk -Br to nuke any packages which report any changes in
BUILD_INFO - picks up changes in files which do not involve a PKGREVISION
bump, then just run pkg_chk -aks to build anything missing.

Thinking further, it might be nice to have an option to pkg_chk to mark
installed packages as out of date for pkg_rolling_replace to field - what do
people think?

On 13 Jan 2010 10:50, "Robert Elz" <> wrote:

   Date:        Tue, 12 Jan 2010 15:08:50 -0800
   From:        Stripes the Tiger Cub <>

| Do you download the latest pkgsrc weekly, or what do you do?
I do a cvs update on my pkgsrc (usually) 3 times a day, then
lintpkgsrc -p to check which of my precompiled binary packages
are out of date - those I move out of the way then rebuild (after
a dependency check and tsort so things get built in a sane order).

That means I keep binary packages of everything I want, up to date,
almost all the time - I only actually install that stuff into /usr/pkg
when there's a good reason for doing so (I use pkg_comp to build the
packages, so that all happens in an isolated sandbox).  That is, just
because there's a newer something doesn't mean that I necessarily want
to run it.   But when I decide that I do, I should have a locally compiled
binary package (for it, all its dependencies, and anything else that ends
up being removed as collateral damage of the upgrade) available ready to
install so the update is easy (assuming the new versions actually work).
If they don't, I still have all the older binary packages available so
that I can put it all back again.


Home | Main Index | Thread Index | Old Index