From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 09:22:56 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5736BC7E for ; Fri, 13 Mar 2015 09:22:56 +0000 (UTC) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9BDA9CA for ; Fri, 13 Mar 2015 09:22:55 +0000 (UTC) Received: by wesp10 with SMTP id p10so21883381wes.11 for ; Fri, 13 Mar 2015 02:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9RhceJe+z3DWXC58u3RVGp8MunLIWu3F4dsdmok4Nv8=; b=HFFP0lnwR2JVkrlQbKz4LeB6VcxVSGqBLkuA7FxPYTJFjrEVFoFwLwV5+O1+tKYI2Q hrfWCNlua8IzYRoQzt90JyeyatTrvXbLdyAHGjX+PhCGhynRByze1nIKcEMrm9E3G8gO W5tGIGnGLS4WRZUjrSQamdwbl6MzdVN10OTMLJLbaWD2hDV/z542hare/vjtQU3SIjD1 Y5D+g6VCu3QLi0Rr1y9Av8tmvgq+CadaA1t1OTixa6tbnxh5+pR3dYgSeEBKD1m5uTdt Yq/O8xRi0f3COWZ3ih7UZ/6PSlWDDeR4J18qdVEUyXBsThOMy3jAJM5OXm3kUrXsUrPY zUSA== MIME-Version: 1.0 X-Received: by 10.195.12.97 with SMTP id ep1mr97050922wjd.134.1426238574302; Fri, 13 Mar 2015 02:22:54 -0700 (PDT) Received: by 10.194.124.35 with HTTP; Fri, 13 Mar 2015 02:22:54 -0700 (PDT) In-Reply-To: References: <20150313084213.GA39602@vps.markoturk.info> Date: Fri, 13 Mar 2015 17:22:54 +0800 Message-ID: Subject: Re: pkg delete --no-recursive From: Ben Woods To: Olivier Nicole Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Olivier Nicole , Marko Turk , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2015 09:22:56 -0000 I have an existing bug report for correcting the pkg-delete man page: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194981 Whilst my patch doesn't change the wording of the -f, --force option, the wording of that option makes more sense in the context of the man page once it explains the default behavior is to delete packages that would be left with unresolved dependencies. Regards, Ben On Friday, March 13, 2015, Olivier Nicole wrote: > Marco, > > On Fri, Mar 13, 2015 at 3:42 PM, Marko Turk > wrote: > > On Fri, Mar 13, 2015 at 03:27:10PM +0700, Olivier Nicole wrote: > >> Hi, > >> > >> How to tell pkg delete to remove only *this* package and not all the > >> ones that depends on it. > >> > >> There is a --recursive option, but it is applied by default and I don't > >> see how to disable it. > >> > >> My goal is to remove perl5.14 in order to install perl5.20. All other > >> packages that depend on perl5.14 will be rebuild afterward, so the > >> dependecy will be updated accordingly. > >> > >> But in no case I want to delete all packages depending on perl, I *do* > >> need them. > >> > > > > Hi, > > > > -f, --force > > Forces packages to be removed despite leaving unresolved > > dependencies. > > thank you, that is really a *bad* choice of name for the option: it > does what I need, but it certainly not mean what it does! > > Best regards, > > olivier > _______________________________________________ > 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 " > -- -- From: Benjamin Woods woodsb02@gmail.com