From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 13:46:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F90A16A4BF for ; Fri, 10 Oct 2003 13:46:31 -0700 (PDT) Received: from remt26.cluster1.charter.net (remt26.cluster1.charter.net [209.225.8.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C75D543FE1 for ; Fri, 10 Oct 2003 13:46:29 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt26.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 22578233 for freebsd-questions@freebsd.org; Fri, 10 Oct 2003 16:46:26 -0400 From: "Charles Howse" To: Date: Fri, 10 Oct 2003 15:46:20 -0500 Message-ID: <002601c38f6f$8f945270$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: pkg_deinstall -n X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 20:46:31 -0000 Hi, Just idle curiosity here... If I run 'pkg_deinstall' on a port that another port depends on, it will refuse to deinstall the port and tell me the name(s) of then ports that depend on the one I want to deinstall. If I run 'pkg_deinstall -n' on that same port, it doesn't tell me that it would refuse to desinstall. For example, samba requires cups-base.... [root@larry ~]# pkg_deinstall -n cups-base ---> Deinstalling 'cups-base-1.1.19.0' ---> Reporting the results (+:done / -:ignored / *:skipped / !:failed)=20 + cups-base-1.1.19.0 [root@larry ~]# pkg_deinstall cups-base ---> Deinstalling 'cups-base-1.1.19.0' pkg_delete: package 'cups-base-1.1.19.0' is required by these other Packages and may not be deinstalled: samba-3.0.0.b3,1 ** The following packages were not deinstalled (*:skipped / !:failed) ! cups-base-1.1.19.0 (pkg_delete failed) Is there a way to make "pkg_deinstall -n" stop lying? Thanks, Charles Got a computer with idle CPU time? Join SETI@home and help make history! http://setiathome.ssl.berkeley.edu/