Migrating to AMD64
Xin LI
delphij at delphij.net
Mon Jan 7 11:17:47 PST 2008
-----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 at 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-----
More information about the freebsd-ports
mailing list