From owner-freebsd-questions@freebsd.org Tue May 10 19:11:34 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 D38D5B36E80 for ; Tue, 10 May 2016 19:11:34 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::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 47F9F1CDF for ; Tue, 10 May 2016 19:11:34 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id g17so44799159wme.1 for ; Tue, 10 May 2016 12:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+eYJ/xgb213qFybtIbcWdTqU5I+1i1GIq/5v79YsjsY=; b=KlFIi8pIs3/+Y8pI9aLt3z9U//sN9nbTD7WDNctASk+x+c3TbENAjl9CTH+1bGo0P/ yOa5oFEXktmaqYPmH7M8hMcH/CcxauccVL++hEUJ2zL6EttZ+g5P1+ZJsvl//PawljVM Re3IknC0YV26AYtZwxnJZ46achR2skTTy5GvnXBuX60xR3TF5YJPupxQSSAfaL6tbzo6 38quCLsv5SFLD6IpF+FlEFUwWfkm1RbYT9LywIuqf2p5H6V6alHIBGelAnyUzjHe3GQV QEaFnTwceV+n6WbhfoQjTQfUTQJMDnMOaNl/jHYRqyYzyd5egf2tJFZqkp56IfeH704R 7PGw== 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:from:date :message-id:subject:to:cc; bh=+eYJ/xgb213qFybtIbcWdTqU5I+1i1GIq/5v79YsjsY=; b=Fus9je4kQmnpnadcsWEykNV9LtunIMkF1ntxC+8RsV6pjngtRliTZCdmWvAE7nXFY5 iBGRFFgBirOsiPeBNFok/aQ+u7cjJH9+/nUCuxSpXqub2E2Dw81SK62nCbWu42ieW/C4 L04PhXy+sk05zbeHL5dJ5/jSNS7GfPVbL6k1OWCo172JAkAIa6le7VFzbX83gJ+ikfd4 yhNsVBHHY9lZZLbhBFpPRWaPnFGuWM13PkhI1efblpK3XGj75X5qtO8mCvGodkZC1Ew+ AUQIMZ2iavCEHMTM2wjsf3UC3zAiTP5lwKCYCCFL3tvn9o0ykkzW3LRXuT0OLgteTcRV 90lQ== X-Gm-Message-State: AOPr4FVLPqiU3UH45bwtiqX2Ll251Ug5Jqc24mtmhRLVP2znFXYQB8Mxkpfi5HHHnvWdjX8dnOvIh8m2DNZ6Xg== X-Received: by 10.194.173.42 with SMTP id bh10mr45740636wjc.150.1462907492898; Tue, 10 May 2016 12:11:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.33.164 with HTTP; Tue, 10 May 2016 12:11:13 -0700 (PDT) In-Reply-To: References: From: Anton Sayetsky Date: Tue, 10 May 2016 22:11:13 +0300 Message-ID: Subject: Re: pkg delete dilema To: Mario Lobo Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 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:11:35 -0000 2016-05-10 22:06 GMT+03:00 Mario Lobo : > 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: Please, read messages carefully. You did NOT read required manpage. "man pkg" is WRONG, and I said about "man pkg-***delete***". Evidence follows: jason@cs0:~$ man pkg-delete | col -bx | egrep -A3 '\-f,' -f, --force Forces packages to be removed despite leaving unresolved dependencies. In combination with the -a or --all flag, causes pkg(8) to be removed as well as all other packages. jason@cs0:~$