Problems using portupgrade to recompile all ports
Scott I. Remick
scott at sremick.net
Thu Jan 15 11:27:00 PST 2004
On Thu, 15 Jan 2004 17:38:41 +0000, Matthew Seaman wrote:
> portupgrade -rfx '>=2004-01-15' foo
> will force re-install 'foo' and everything that depends on package
> 'foo', except those packages installed on or after the given date.
Well, actually I want -R and not -r, but anyways.. almost, but not quite:
su-2.05b# portupgrade -Rfx '>=2004-01-14' docbook-xsl
** All the packages matching 'docbook-xsl' were excluded.
** No such package 'docbook-xsl' is installed.
So -x is picking up the package name too. Don't want that. So I try:
portupgrade -Rf docbook-xsl -x '>=2004-01-14'
And that seems to work. I've used it with a bunch of my originally-failed
ports and making progress. A lot of them are failing with "local
modification time does not match remote" but I delete the file from
/usr/ports/distfiles and all is well.
More information about the freebsd-questions