From owner-freebsd-questions Sun Apr 18 10:49:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 056A315515 for ; Sun, 18 Apr 1999 10:49:39 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ts6-198-ppp.ipass.net [198.78.59.198]) by pluto.ipass.net (8.9.1a/8.9.1) with ESMTP id NAA25422 for ; Sun, 18 Apr 1999 13:47:11 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.1/8.8.8) id NAA12127 for questions@freebsd.org; Sun, 18 Apr 1999 13:47:28 -0400 (EDT) (envelope-from rhh) Date: Sun, 18 Apr 1999 13:47:28 -0400 From: Randall Hopper To: questions@freebsd.org Subject: Deleting packages - a newbie question Message-ID: <19990418134728.A11854@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG All right, so I'm not a newbie, but I've been wondering about this for a while. To delete a package, you can't just do: > pkg_delete xcoloredit you have to know the specific version even if its the only one installed. So I've been using: > pkg_info -Ia | grep xcoloredit xcoloredit-1.2 Find colour values by graphical colour mixing > pkg_delete xcoloredit-1.2 wishing for the rpm-like feature where if there's only one version, then: > pkg_delete xcoloredit would do the job. Is there some option permutation of pkg_delete to get the latter form to work? If not, I think this would be a handy feature. Yeah I know, I could just cook a pkg_delete wrapper script to do this, but as commonplace as this operation would seem to be, I wonder how many folks would find this useful as standard behavior. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message