Date: Mon, 07 Jan 2008 11:17:21 -0800 From: Xin LI <delphij@delphij.net> To: Brian <bri@brianwhalen.net> Cc: pav@FreeBSD.org, freebsd-ports@FreeBSD.org, Cy Schubert <Cy.Schubert@spqr.komquats.com> Subject: Re: Migrating to AMD64 Message-ID: <47827AC1.5010600@delphij.net> In-Reply-To: <47827A29.1060909@brianwhalen.net> References: <200801071715.m07HF0ap076228@cwsys.cwsent.com> <1199732927.74596.127.camel@ikaros.oook.cz> <47827A29.1060909@brianwhalen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian wrote: > Pav Lucistnik wrote: >> Cy Schubert píše v po 07. 01. 2008 v 09:15 -0800: >> >> >>> Is there a documented or preferred approach to migrate ports from >>> i386 to AMD64? Portupgrade has issues. Deleting and reinstalling 1954 >>> ports by hand would be a monumental project. Any suggestions? >>> >> >> Reinstall from scratch. >> >> > Something like this can be used to uninstall all ports. > > cd /var/db/pkg; find . -type d | xargs pkg_delete > > So, perhaps you mod the xargs to a deinstall/reinstall script? Ah, maybe pkg_delete -a? :-) I'd prefer, however, rm -fr /usr/local /var/db/pkg sometimes. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHgnrBi+vbBBjt66ARAnfGAKCyhv+IClmA0szXHlVQvzbhFffePACeJmiD /JaDxjwP9oicAMvv2V1W6qw= =sDef -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47827AC1.5010600>