upgrade a port

Chiang Seng Chang cs at ctzen.com
Fri Apr 23 20:53:41 PDT 2004


exactly what i am looking for, thx.
-cs

Lowell Gilbert wrote:
> 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>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list