Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2004 17:14:25 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        questions@freebsd.org
Subject:   Re: upgrade a port
Message-ID:  <16521.34609.737928.742170@jerusalem.litteratus.org>
In-Reply-To: <40897901.7050103@ctzen.com>
References:  <002301c42946$4207bf30$2804320a@cchang> <20040423154505.GA8710@rucus.ru.ac.za> <40897901.7050103@ctzen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)


					Robert Huff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16521.34609.737928.742170>