From owner-freebsd-questions@FreeBSD.ORG Mon Jun 27 16:35:51 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F36C51065677 for ; Mon, 27 Jun 2011 16:35:51 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id B4D548FC19 for ; Mon, 27 Jun 2011 16:35:51 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=yMxAJ7W7nAoPh8ZdbvCArpG6pAdHwgpzIvOq8QbMesM= c=1 sm=0 a=L_8onVPYzQ4A:10 a=R5FhY6rjjCMA:10 a=kj9zAlcOel0A:10 a=ihdCVQocfTjEhADgW3QxCA==:17 a=PQeOALCrAAAA:8 a=5BoqVkGvIT5btw5bRYMA:9 a=CjuIK1q_8ugA:10 a=v_siBqH87OEA:10 a=ihdCVQocfTjEhADgW3QxCA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.155.227.43 Received: from [98.155.227.43] ([98.155.227.43:54499] helo=localhost.hawaii.res.rr.com) by hrndva-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id AE/66-07441-561B80E4; Mon, 27 Jun 2011 16:35:50 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id 452DB5CE6; Mon, 27 Jun 2011 06:39:36 -1000 (HST) Date: Mon, 27 Jun 2011 06:39:36 -1000 From: parv@pair.com To: Joe in MPLS Message-ID: <20110627163936.GA5294@holstein.holy.cow> Mail-Followup-To: Joe in MPLS , freebsd-questions@FreeBSD.ORG References: <4E08ACA7.5080709@gracenpeace.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E08ACA7.5080709@gracenpeace.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pkg-add - package insists on old version of Perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 16:35:52 -0000 in message <4E08ACA7.5080709@gracenpeace.net>, wrote Joe in MPLS thusly... > > I am trying to install the Amanda server package. I am running FreeBSD > 8.2 with Perl 5.12.3. > > The package lists Perl 5.10.1 as a dependency and since my newer version > of Perl conlicts with the older version the install fails. pkg_add with > "-f" just tries to force the installation of the older Perl and fails. > > How do I get the package to install and use the Perl I already have? I'd > rather not downgrade Perl. pkg_add should not fail itself in installing a package ... -f, --force Force installation to proceed even if prerequisite packages are not installed or the requirements script fails. Although pkg_add will still try to find and auto-install missing prerequisite packages, a failure to find one will not be fatal. ... then, just to confirm, pkg_add did not succeed in installing the desired package in the end? I wonder if using -F ... -F Already installed packages are not an error. ... would install perl 5.10 too in addition to 5.12, or install of 5.10 would be skipped?. - parv --