Date: Sun, 26 Sep 2010 19:05:30 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Dick Hoogendijk <dick@nagual.nl> Cc: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: port upgrading Message-ID: <20100926170530.GA32854@slackbox.erewhon.net> In-Reply-To: <4C9F74DD.6000009@nagual.nl> References: <4C9F74DD.6000009@nagual.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Sep 26, 2010 at 06:29:17PM +0200, Dick Hoogendijk wrote:
> Question: what is best used to have an up2date ports collection nowadays?
> This system is FreeBSD8/amd64.
IMO if you don't mind compiling your own ports, use portsnap and
portmaster. The sequence is like this;
1) Run `portsnap fetch update`, but see (a).
2) Read /usr/ports/UPDATING, and see if any additions to the top of the file
apply to you. If so, take appropriate action.
3) If you have local patches to the ports tree, re-apply them if
necessary. This is not really recommended but can be handy sometimes.
4) Run `portmaster -a -B -d`
(a) When you run portsnap for the first time, or if you have damaged or
deleted the contents of /var/db/portsnap, use 'portsnap fetch extract'
instead.
For me this is part of the weekly routine. Keep an eye on
http://www.freshports.org/ to see if there are interesting changes for you.
If you are upgrading to another major version of FreeBSD (say 7.x to 8.x),
make a list of all used ports with `portmaster -l >ports.list`. Then delete
all ports before updating the system. After the update, re-install the 'roo=
t'
and 'leaf' ports from ports.list.
Hope this helps.
Roland
--=20
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
iEYEARECAAYFAkyffVoACgkQEnfvsMMhpyWYGgCglYrer/HHnR8LzlrH8jdbXend
L/IAn0AHp/UB+J75fI9a5vGw9ntNnCbN
=vZ91
-----END PGP SIGNATURE-----
--MGYHOYXEY6WxJCY8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100926170530.GA32854>
