upgrade a port
freebsd-questions-local at be-well.ilk.org
Fri Apr 23 15:26:53 PDT 2004
Robert Huff <roberthuff at rcn.com> writes:
> Chiang Seng Chang writes:
> > portupgrade wont work because ver 22 was not installed in the
> > first place.
> > pkg_deinstall ver 21 wont work because there are dependencies.
> > portinstall ver 22 wont work because ver 21 is there.
> > how do i get out of this catch-22 ?
> pkg_delete -f <old pkg>
> pkgdb -F # just to be sure
> portinstall <new pkg>
> (Crude, but effective.)
Slightly less crude would be something like
portupgrade -o <new pkg> -f <old pkg>
More information about the freebsd-questions