Date: Thu, 8 Nov 2007 20:54:36 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: Mario Lobo <mario.lobo@ipad.com.br>, freebsd-questions@freebsd.org Subject: Re: About Freebsd 7.0 versus 6.3 Message-ID: <20071108195436.GA67970@slackbox.xs4all.nl> In-Reply-To: <4733633E.2050800@infracaninophile.co.uk> References: <200711081455.39635.cesar@expresso.com.br> <bef9a7920711080928t76efabaaw4af6c85be7fb03a@mail.gmail.com> <200711081448.48390.mario.lobo@ipad.com.br> <20071108183239.GA65453@slackbox.xs4all.nl> <4733633E.2050800@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 08, 2007 at 07:27:58PM +0000, Matthew Seaman wrote: > > a. Make backups > > b. Read /usr/src/UPDATING > > 1. `cd /usr/src' (or to the directory containing your source tr= ee). > > 2. `make buildworld' > > 3. `make buildkernel KERNCONF=3DYOUR_KERNEL_HERE' (default is GEN= ERIC). > > 4. `make installkernel KERNCONF=3DYOUR_KERNEL_HERE' (default is GEN= ERIC). > > [steps 3. & 4. can be combined by using the "kernel" target] > > 5. `reboot' (in single user mode: boot -s from the loader prom= pt). > > 6. `mergemaster -p' > > 7. `make installworld' > > 8. `make delete-old' > > 9. `mergemaster' > > 10. `reboot' > > c. `pkg_delete -a' (delete all your ports) > > 11. `make delete-old-libs' (in case no 3rd party program uses them any= more) > > d. Reinstall all root and leaf ports. Dependencies will then be > > installed automatically. >=20 > I went through this process myself in pretty much the order you > describe. Due to bitter experience, I'd say that reinstalling > all ports should be done before 'make delete-old-libs' -- by > killing all the old 6.x shlibs you make it hard to run most > software previously installed under 6.x including such things as > 'portupgrade'... >=20 > You don't need to delete all the ports in one go and then reinstall > them in another: running 'portupgrade -fa' will do the job. Port upgrade tools are not guaranteed to work perfectly in this situation. I tried doing an update with portmanager and ended up with some binaries linked against both libc.so.6 and libc.so.7! Some ports didn't even compile. That's why I would recommend doing a clean sweep when updating to another major version. > That can take several days to complete if you've got a machine with > OpenOffice, Firefox, Thunderbird, Java, KDE, Gnome, X Windows > etc. installed. If you're careful you can still keep various services > running during that time, restarting them one by one as the various > applications get upgraded. It took me about a day and a night to reinstall everything (415 ports), mostly un-attended. But then I don't use OpenOffice nor java and fvwm2 instead of Gnome/KDE. 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) --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHM2l8EnfvsMMhpyURAr+vAJ9SiH0aZvLRwJz6cFW9F2DIoKxDigCfYqQ9 mH1Vnty2RhejttFdJENz7J4= =XM9X -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108195436.GA67970>