From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 11:35: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 D51E316A4CE for ; Tue, 23 Dec 2003 11:35:31 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D1BA43D54 for ; Tue, 23 Dec 2003 11:35:29 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hBNJZGca000984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Dec 2003 19:35:17 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hBNJZGAc000979; Tue, 23 Dec 2003 19:35:16 GMT (envelope-from matthew) Date: Tue, 23 Dec 2003 19:35:16 +0000 From: Matthew Seaman To: fbsd_user Message-ID: <20031223193516.GA803@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , fbsd_user , "freebsd-questions@FreeBSD. ORG" References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: what is diff between pkg_delete & make deinstall 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: Tue, 23 Dec 2003 19:35:31 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 23, 2003 at 02:04:06PM -0500, fbsd_user wrote: > I see that pkg_delete will delete an port as well as an package.=20 Ports and pkgs are different sides of the same coin. > Does pkg_delete do the same thing as the make deinstall command? Almost exactly the same. The difference is that pkg_delete(1) will delete packages by matching the name and version number stored in /var/db/pkg, whereas make deinstall deletes the all packages installed =66rom a particular ports directory where the same $PREFIX setting was used to install as is currently in force. Unless you're in the habit of installing multiple copies of ports/pkgs using different $PREFIX settings, that generally comes out to be the same thing. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/6Jj0dtESqEQa7a0RAokPAJ9cOi+/zCC/YTWgP3h8G8t9LxwfVACdGVpn 3wTD/0OjG4iAv/1ijbx9boM= =dSCi -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--