From owner-freebsd-questions Fri Nov 13 07:49:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA22063 for freebsd-questions-outgoing; Fri, 13 Nov 1998 07:49:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from apotheosis.za.org (apotheosis.cs.uct.ac.za [137.158.128.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA21848 for ; Fri, 13 Nov 1998 07:46:01 -0800 (PST) (envelope-from mwest@apotheosis.za.org) Received: from mwest by apotheosis.za.org with local (Exim 1.92 #1) for freebsd-questions@FreeBSD.ORG id 0zeLNc-0005b8-00; Fri, 13 Nov 1998 17:43:24 +0200 Message-ID: <19981113174324.A21475@cs.uct.ac.za> Date: Fri, 13 Nov 1998 17:43:24 +0200 From: Lonewolf To: freebsd-questions@FreeBSD.ORG Subject: Re: pkg_delete usage Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <364C3E22.FD5B3FB3@idcomm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <364C3E22.FD5B3FB3@idcomm.com>; from "Alex Davidson" on Fri, Nov 13, 1998 at 07:11:46AM Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 13, 1998 at 07:11:46AM -0700, Alex Davidson wrote: > Having installed some .tgz files using pkg_add I thought I could use > 'pkg_delete filename' but it says the filename isn't registered (or > something like that). > What is the real usage? >From "man pkg_add": SYNOPSIS pkg_add [-vInfRMS] [-t template] [-p prefix] pkg-name [pkg-name ...] You need to give the package name, not the filename. iow, instead of "pkg_delete ~/vim-5.3.tgz", you type, "pkg_delete vim-5.3". You can see a list of packages which are installed by typing "ls /var/db/pkg". HTH --lonewolf@apotheosis.za.org http://apotheosis.za.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message