Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2008 11:57:02 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        Marko Lerota <mlerota@iskon.hr>, freebsd-stable@freebsd.org
Subject:   Re: Upgrading to 7.0 - stupid requirements 
Message-ID:  <20080321185702.3E3964500F@ptavv.es.net>
In-Reply-To: Your message of "Fri, 21 Mar 2008 15:59:27 %2B1100." <20080321045927.GA85901@server.vk2pj.dyndns.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1206125822_21153P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Fri, 21 Mar 2008 15:59:27 +1100
> From: Peter Jeremy <peterjeremy@optushome.com.au>
> Sender: owner-freebsd-stable@freebsd.org
> 
> On Wed, Mar 19, 2008 at 07:43:25PM +0100, Marko Lerota wrote:
> >time from ports because there are only small portion of precompiled 
> >packages.
> 
> There should be a fairly complete set of packages for 7.0-RELEASE.
> There can never be a totally complete set of packages for legal
> reasons - the licenses on some ports do not permit them to be packaged.
> 
> >This thing should be solved.
> 
> Please offer some suggestions on how you would resolve the problem.
> 
> >And If I upgrade the OS I dont want to recompile ports for that.
> 
> You don't have to upgrade ports immediately.  It's just that you can't
> upgrade any single port without re-building everything - for reasons
> that have been spelled out elsewhere in this thread.
> 
> FWIW, the move to versioned symbols should (in theory) remove the
> need to need to do a future complete recompile once you've rebuilt
> all your ports against 7.x.

My laptop has about 1000 ports installed and, when I did the mass
upgrade a week or two ago. I did it a bit differently from most
recommendations.

I deleted all of the directories in /usr/local except etc and a coupe
containing locally built and install software. This really cleans up any
cruft from /usr/local. :-)

Next, I manually installed lang/ruby18 and ports-mgmt/portupgrade and
did a 'portupgrade -afP'. Since the pkgdb was still in place, it knew
which ports had been installed before I nuked /usr/local. I only had to
build one big, time consuming port, jdk16. I also had to re-build about
8 or 9 ports (postfix and several multimedia ports) for local config
reasons.

I ran it over night, starting up at "quitting time", and it finished the
first pass early the next morning. I installed jdk15 from the diablo
package and built jdk16. Then I upgraded the ports which were dependent
on jdk16 (about a dozen) from packages.

All in all, this worked rather well, although issuing all those 'rm -rf
/usr/local/AAAA/*'s is very disconcerting.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1206125822_21153P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFH5AT+kn3rs5h7N1ERAuL2AJ4uqW7fBJmUtrCM4Tmm1nnuMt8G2QCfSEzQ
F75vlgif8Oson5p3VspySE4=
=fDNQ
-----END PGP SIGNATURE-----

--==_Exmh_1206125822_21153P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080321185702.3E3964500F>