From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 12:41:20 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 BC7778F6 for ; Fri, 13 Mar 2015 12:41:20 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (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 5134E1BF for ; Fri, 13 Mar 2015 12:41:20 +0000 (UTC) Received: by wiwh11 with SMTP id h11so5596659wiw.5 for ; Fri, 13 Mar 2015 05:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=nSxqru5TJCG2IvPZt2XgU6hxEJ/dTEMoU5rFPVtsq7U=; b=GfNVYUKx1JXUUaitB2PbZR///GbaORQ2h8KmZ4jn0StX7aiZBnkustq/pCCqyL2nZl yUU9tYYhpQm9Jng9V8nqAJiuo7Q7uukUPB7eTwNll333hiAVo07EWcG4qn1pxNFZXDve UPcUwoAZGD6wnbGPAIr9mIaqs1edjFKKADxqeAn8HOw9J07WpcycvrKneScBzCWJgtSH q8FWSzgUKloSDIRF/o3p8oeKbV+YQAXg2UTjyKEZq0X4Zpo54msBZoMT3Uo3nVrN6hsw 0f2b4UxFL53PhNYWPAZ8NPXypuh6aB81IrPkcinSNgIm0tDUy+aUVnSDk+gYCy+yZWBB tdtQ== MIME-Version: 1.0 X-Received: by 10.194.57.170 with SMTP id j10mr23328255wjq.102.1426250477967; Fri, 13 Mar 2015 05:41:17 -0700 (PDT) Sender: fluca1978@gmail.com Received: by 10.194.73.233 with HTTP; Fri, 13 Mar 2015 05:41:17 -0700 (PDT) In-Reply-To: <5502A4A0.8090704@freebsd.org> References: <5502A4A0.8090704@freebsd.org> Date: Fri, 13 Mar 2015 13:41:17 +0100 X-Google-Sender-Auth: y9wrNzTVMVAuhN6iEI5DWTza4x0 Message-ID: Subject: Re: pkg delete --no-recursive From: Luca Ferrari To: freebsd-questions Content-Type: text/plain; charset=UTF-8 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 12:41:20 -0000 On Fri, Mar 13, 2015 at 9:49 AM, Matthew Seaman wrote: > On 03/13/15 08:27, Olivier Nicole wrote: >> How to tell pkg delete to remove only *this* package and not all the >> ones that depends on it. > > pkg delete -f pkgname > Sounds to me like a call for trouble: removing a package and not those that depends on it will result in a lot of work that can be automated and will not provide any gain in time/cpu, at least in my opinion. > Trying to work out all this dependency stuff by hand tends to be > error-prone, tedious and leave your system in a bit of a mess. A few days ago I had a Linux update that did pretty much what the OP was trying to achieve: update Perl without rebuilding the dependencies, and so I had to upgrade them by myself. And in the meantime I had a few Perl-service downtime...grrrr... Luca