From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 08:36:45 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C80C267 for ; Fri, 13 Mar 2015 08:36:45 +0000 (UTC) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 276B22C1 for ; Fri, 13 Mar 2015 08:36:44 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id B47D5160B05 for ; Fri, 13 Mar 2015 15:27:00 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1426235220; x=1428049621; bh=0dnNJ8Dv1+ZIn5YjwDv/h6 gxiX7dWIilIxPCkA7YUvA=; b=UcBfSRlsq3zId2IvQNQKHn+uc523cKGWYE6zPn eyDVvWxqQEmqoxzB48WdHEVRQwbRJQSH3JWWgv/MdwD/L8Ha/YitJlEWdnriiiGQ DilGRQDEtm6SmnMqTLj0l7YIzGm3WPAuRSLwwsPjr3CV7FRdGws0PkQH+U/u4Xoy HD6Nk= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id G3O7YVdGLRZ3 for ; Fri, 13 Mar 2015 15:27:00 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id EE7D5160B01 for ; Fri, 13 Mar 2015 15:26:59 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.7/8.14.7/Submit) id t2D8RAWU007503; Fri, 13 Mar 2015 15:27:10 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: pkg delete --no-recursive Date: Fri, 13 Mar 2015 15:27:10 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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 08:36:45 -0000 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. best regards, olivier --