Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 1998 17:43:24 +0200
From:      Lonewolf <lonewolf@apotheosis.za.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pkg_delete usage
Message-ID:  <19981113174324.A21475@cs.uct.ac.za>
In-Reply-To: <364C3E22.FD5B3FB3@idcomm.com>; from "Alex Davidson" on Fri, Nov 13, 1998 at 07:11:46AM
References:  <364C3E22.FD5B3FB3@idcomm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981113174324.A21475>