From owner-freebsd-questions@freebsd.org Tue May 10 17:44:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B97FFB362BC for ; Tue, 10 May 2016 17:44:52 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (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 8E9FD1B66 for ; Tue, 10 May 2016 17:44:52 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-vk0-x22e.google.com with SMTP id m188so25950074vka.1 for ; Tue, 10 May 2016 10:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:date:message-id:subject:from:to; bh=+7QfRc3uf0n7MQo/JRKx+nMna/GHf03jm4c/P2BiuN0=; b=boSLMU1DiPF9yjHMwSbnnBvH05u3cptWWzPDTNqWPI9pBtQUp63MrwVmY9nbA4RHXm 5W9cfjq6uy0K+avcqvQ5WD+p8q/K9TFslg8tvWz8hl914feQCWdb61XalDx6QsUE2Q0k Om5ZUTIB1R1s5wIOmZvrhasTUJ04VLYrAZ8J8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=+7QfRc3uf0n7MQo/JRKx+nMna/GHf03jm4c/P2BiuN0=; b=JhPgUG9JgDhTkl04mWPKhwNtDDxWOZZbdbnJ+JmXqvkeERwJ1YqzjzGBbrLQxd2lNX xtOmf+aEiRuFISrg474Ubo59wLKJITm/U8DRBT64LUe6M8hhAnvjGysKnI+HCtvy7QqN 8W3xSi3bOLm16oiiFIeAL63AiYnYSDH7vHWYApWrNE4vKFLXj+PecsDN2zpGuenw1yTx H6rpuGju4paiAl6Q3Cibtpk7uBeVmsXTW3oJdv2F9M4Iior/76zD29bMOkEeclpH1r1a o+HfzoKbRdK8RCECH96ZBZRZZO7osrQWARS96s+76zZhl0LholQYjI3rBDRGoRSQ4jcf JUNQ== X-Gm-Message-State: AOPr4FX48LKwzZ3k7xdWRFXVV5jS5Kqw3oZkSAtVCD76in/8rGm/XDCZiiKMQiWpWt54DU8AjbzxjLXKodLeZw== MIME-Version: 1.0 X-Received: by 10.31.61.196 with SMTP id k187mr10512933vka.7.1462902291638; Tue, 10 May 2016 10:44:51 -0700 (PDT) Received: by 10.103.21.131 with HTTP; Tue, 10 May 2016 10:44:51 -0700 (PDT) Date: Tue, 10 May 2016 14:44:51 -0300 Message-ID: Subject: pkg delete dilema From: Mario Lobo To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2016 17:44:52 -0000 Hi; I've been looking through pkg documentation but I can't find what I need. I want to upgrade cups port but many of cups related ports went through a lot of changes and after a svn up, many of them disappeared. So when I try to install the new cups port, I get this: Installing cups-2.1.3_2... pkg-static: cups-2.1.3_2 conflicts with cups-client-2.0.3_2 (installs files into the same place). Problematic file: /usr/local/bin/cups-config *** Error code 70 The problem is that there is no cups-client port anymore, so I can't cd to it and make deinstall. Ok so I resort to pkg. But when I try it, I get this: pkg delete cups-client Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 114 packages (of 0 packages in the universe): Installed packages to be REMOVED: cups-client-2.0.3_2 freerdp-1.2.0_5 cups-filters-1.0.71 cups-image-2.0.3_2 gtk2-2.24.27 .... .... I simply do not want to remove all those installed ports for two reasons. One it will a long time to recompile all of the 144 that will be removed. And two, I know that cups-client was merged into cups, so whatever it installed will get installed over by the cups port, and all ports dependent on it will keep their functionality. So, is there a way to tell pkg just to delete the package WITHOUT deleting the dependent ports? If not, is there a way for me to remove just the cups-client port? Or just force cups to get installed (make FORCE_PKG_REGISTER=yes install issues the same problem as plain make above)? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)