Package management question

Gerard gerard at seibercom.net
Sun Apr 8 12:24:30 UTC 2007


On Sunday April 08, 2007 at 03:37:04 (AM) Andrew Pantyukhin wrote:


> mysql 5.1 is not ready for mainstream, AFAIK.
> 
> You can install ports-mgmt/portupgrade and then use
> "portupgrade -o databases/somenewport someoldport"
> to upgrade an installed port to another one.
> 
> pkg_delete -f oldport && cd newport && make install
> 
> works fine, but you loose all the dependencies (kde
> won't depend on the newport).

1) Use 'pkg_delete -dfv name-of-port

2) Install the new port with portmanager

    portmanager name-of-port -p -l

That will install the new port and properly correct all of the
dependencies on you machine that depend on the new port.

HTH

-- 
Gerard


More information about the freebsd-questions mailing list