Re: manual update of selected packages using binaries

Greg Troxel <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
Riccardo Mottola <[email protected]> writes:

> This is a generic question actually, but thappens for me on SPARC-32
> given the unavailability of binary packages and selectively compiling
> what I need.
>
> I have built several packages, saving the binary on one system.
> It is not a full repository, I just have in a directory dozens of
> packages (which I can gladly share).
>
> I want to use them to upgrade another system.
>
> Naively would be "pkg_add -u *.tgz" but this would not only upgrade, but
> also install everything else.
>
> Would pkg_rolling-replace use the binary packages? I suppose not.

pkg_rolling-replace calls "make replace package clean".   If you can get
replace to use binary packages, that will happen.

What I do, for 2 os/arch/version tuples, is to build the union of the
packages I need for that tuple on one system, and then create
pkg_summary:

  pkgsuma () 
  { 
      ( cd ${PKGSRC}/packages/All && pkgsum )
  }

and then I use pkgin on the others.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.