Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2013 13:23:13 +0100
From:      Daniel Nebdal <dnebdal@gmail.com>
To:        David Southwell <david@vizion2000.net>
Cc:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: Ports to packages question
Message-ID:  <CA%2Bt49P%2BvctPue2X4hks7W3Yhxj_CGCdHuVQFmYhOVs3kM6D6fw@mail.gmail.com>
In-Reply-To: <514C4B29.6020806@vizion2000.net>
References:  <514C4B29.6020806@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 22, 2013 at 1:14 PM, David Southwell <david@vizion2000.net> wrote:
> Hi
>
> On a system with a large number of ports installed and where some have been
> installed from binaries and some compiled what is the neatest way to remove
> the binary packages and replace them with local compilations.
>
> Thanks in advance
> David
>
> --
> David Southwell ARPS AFIAP
> Photographic Arts
> Trained & experienced competition judge, mentor, trainer, lecturer,
> Advanced digital techniques, international project photography
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"


It might actually be to get a list of all installed packages,
deinstall everything, and then use portmaster to reinstall them.
Alternatively, you could use poudriere to build packages of everything
first, and then deinstall everything / reinstall from those locally
built packages. (I believe you need a ZFS pool for poudriere, though?)

The poudriere solution has the benefit that you can wait until you're
sure everything has compiled successfully before doing anything
dramatic, while still being sure everything really did get reinstalled
cleanly.


Exactly how to do the above depends - are you currently using pkgng?

--
Daniel Nebdal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bt49P%2BvctPue2X4hks7W3Yhxj_CGCdHuVQFmYhOVs3kM6D6fw>