From owner-freebsd-stable@FreeBSD.ORG Mon Jan 26 23:30:31 2015 Return-Path: Delivered-To: freebsd-stable@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 6675BCA8 for ; Mon, 26 Jan 2015 23:30:31 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A46917E for ; Mon, 26 Jan 2015 23:30:31 +0000 (UTC) Received: by mail-ig0-f173.google.com with SMTP id a13so1295108igq.0 for ; Mon, 26 Jan 2015 15:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=nsa25qBJhjQ60HVexQyv4o4JLb3UkzuNPzyBMWqXzXA=; b=dNQ5qIYtXLBWrBZJ9McLryqzK0LVzMsgfwdmll8MDnURc+a0kJNFdIpqLKmgKq2oIo 2t5wYuz4uGuQ9KzmJhvIXwnPdqcEEqN3yhAvVEuUljfSuAIt21P3UF/jH4GZbCNnJjJi PuyOhvLqNYQdqtZ3tEw4Mg233tUJx0jnuuKwU+08BnfaCb54+o6OYKAUCuiByXdbi3/G 3TcXcmkQwGjFoz7NQv2BEZx0iZZwN4a8NEED+DWGOv19nQp9kFEyhcl+rnr2FB07Q5df 3CJRGn9qacntbdE4n2hK5Ls/cLbgBtrIz7YFn4EpfCbQr6saLHgW75zc7Ubjd+jcQaYf PxAQ== X-Received: by 10.107.35.145 with SMTP id j139mr19880060ioj.11.1422315030488; Mon, 26 Jan 2015 15:30:30 -0800 (PST) Received: from [192.168.1.102] (dhcp-24-53-240-34.cable.user.start.ca. [24.53.240.34]) by mx.google.com with ESMTPSA id 97sm6704009iog.39.2015.01.26.15.30.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Jan 2015 15:30:29 -0800 (PST) Message-ID: <54C6CDB5.2040501@gmail.com> Date: Mon, 26 Jan 2015 18:28:53 -0500 From: Pierre-Luc Drouin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Recursively Deinstalling and Upgrading Packages/Ports without Breaking Dependencies? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2015 23:30:31 -0000 Hi, With portupgrade, I used to use "pkg_deinstall -R" to deinstall a package and its dependencies while preserving the packages on which other packages were depending on. With pkgng, the behaviour of "pkg_deinstall -R" changed and this command is now breaking dependencies. Is there a new method to safely remove packages recursively? Also, in the past, it used to be possible to use a "portupgrade -NRra" command to upgrade all packages and install new dependencies as required, but the "-N" option is no longer supported in this context and portupgrade seems unable to automatically install new dependencies. Is there an alternate method to achieve this? It seems much more human time consuming to deinstall and upgrade packages since these two functionalities disappeared from portupgrade... Thanks!