Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2004 23:53:40 -0400
From:      Chiang Seng Chang <cs@ctzen.com>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        questions@freebsd.org
Subject:   Re: upgrade a port
Message-ID:  <4089E4C4.4090103@ctzen.com>
In-Reply-To: <44isfq1gb8.fsf@be-well.ilk.org>
References:  <002301c42946$4207bf30$2804320a@cchang> <20040423154505.GA8710@rucus.ru.ac.za> <40897901.7050103@ctzen.com> <16521.34609.737928.742170@jerusalem.litteratus.org> <44isfq1gb8.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
exactly what i am looking for, thx.
-cs

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



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