Thanks!
On Tue, Mar 06, 2012 at 06:03:42PM -0300, Arthur Maciel wrote:
> > On Tue, Mar 06, 2012 at 11:09:56PM +0530, Mayuresh wrote:
> > > But generally, OS upgrade's interaction with pkg is an area not very
> > clear
> > > to me. (Whether such rebuild should be necessary and if so, what's the
> > way
> > > to reliably trigger it etc.)
> >
> > A set of packages build completely under the old release should work fine.
> > A set of packages build completely under the new release must work fine.
> > A mixture of packages build under the old and new system will fail
> > in interesting ways and is therefore not advisable.
> >
> > And this is not something that NetBSD could realistically fix. The
> > maintainers
> > of G++ e.g. keep changing the C++ ABI.
<
> Dear Matthias, is there a way to rebuild all the installed packages at once
> in order to avoid failure? It is already happening on my system with many
> packages.
"pkgsrc/pkgtools/pkg_rolling-replace" should be able to do it. But I
haven't used that tool for a long time.
You can also build a change root using "pkg_comp", rebuild all packages
there and the install the with "pkg_add". This is roughly what I did
but I have my own customised way of building a change root.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/