From owner-freebsd-questions@freebsd.org Tue May 10 19:06:11 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 8DA61B36C12 for ; Tue, 10 May 2016 19:06:11 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::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 4A89E19D4 for ; Tue, 10 May 2016 19:06:11 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-vk0-x229.google.com with SMTP id f66so28838398vkh.2 for ; Tue, 10 May 2016 12:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=rLxY4MnUKOPVoXNXz5oK6q3Zc2oMehmO+4uBLNEr0yU=; b=E5Eh3NEn7Yz3iqiLJjkY7YF424DMejHwjFWCSt+IoJt/8XzzKPukBYB1kkx99OZte2 MkBV0Z8Eh7CqJ53Mj8G2DT6fMLA2GRzRP3cQwO7mMfDSF8iArrF5sHwRp7TdJv6ZL66x B7sCBWxfFPqH27AKg08rosPCGo24RQOo1l2TM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=rLxY4MnUKOPVoXNXz5oK6q3Zc2oMehmO+4uBLNEr0yU=; b=IiuDO+SzlsAIodU2NPam4barGfTN6e9qQUAPpFVNkCsZbVyHZze53ZOx+xqN/sOCQr cVtRKRGR59YmFdRxl9bhrFHkUE17i7VjpJVj5dxKL8tr/toMNhAL2JYfdSj//DWYZ2N6 m0c6AkJKW1cXd2TcBs8mochWxBMiHGh3eaWWKR0nohBKEhLn95NG+E+2rz4Gn2Frzmb5 aRHjjqoU2JYWTA6MUklXXkqVpvvEpHVFMyjRjsEQn7ASeBI5dhV7uZxsvqHMJWHlxZLl sFDlk5fzdIH88tKOC9tMGkLmRP/dH46zdho5OWriZVB7zuDKuQLLsr+bxrKdyo+m7j9K YvOA== X-Gm-Message-State: AOPr4FX+wCf3KP89XfsxVua6glu3IjZFpF3VhP+m6aWuc5ddNps4RYf9caH0XDzMuYRkiYc3zmd+aFH1bCr3Iw== MIME-Version: 1.0 X-Received: by 10.31.61.196 with SMTP id k187mr10736133vka.7.1462907170448; Tue, 10 May 2016 12:06:10 -0700 (PDT) Received: by 10.103.21.131 with HTTP; Tue, 10 May 2016 12:06:10 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 May 2016 16:06:10 -0300 Message-ID: Subject: Fwd: 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 19:06:11 -0000 2016-05-10 15:28 GMT-03:00 Matthew Seaman : > On 10/05/2016 18:44, Mario Lobo wrote: > > 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)? > > pkg delete -f cups-client > > Cheers, > > Matthew > > > Thanks Anton but I DID RTFM, but i expected to find the answer in the obvious "man pkg", which by the way, is not there anywhere: man pkg ... delete Delete a package from the database and the system. That's all there is. The only reference in there to -f is: bootstrap This is for compatibility with the pkg(7) bootstrapper. If pkg is already installed, nothing is done. If invoked with the (-f) flag an attempt will be made to reinstall pkg from remote repository. I honestly didn't know that there are separate options for "man pkg-command" but now, thanks to you, I do. Thanks Matthew ;)! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)