Date: 23 Apr 2004 18:26:51 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: questions@freebsd.org Subject: Re: upgrade a port Message-ID: <44isfq1gb8.fsf@be-well.ilk.org> In-Reply-To: <16521.34609.737928.742170@jerusalem.litteratus.org> References: <002301c42946$4207bf30$2804320a@cchang> <20040423154505.GA8710@rucus.ru.ac.za> <40897901.7050103@ctzen.com> <16521.34609.737928.742170@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44isfq1gb8.fsf>