From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 04:16:08 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 9351B16A4B3 for ; Fri, 17 Oct 2003 04:16:08 -0700 (PDT) Received: from ptb-mailc04.plus.net (ptb-mailc04.plus.net [212.159.14.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F9DA43FE0 for ; Fri, 17 Oct 2003 04:16:05 -0700 (PDT) (envelope-from simong@desktop-guardian.com) Received: from [81.174.227.186] (helo=desktop-guardian.com) by ptb-mailc04.plus.net with smtp (Exim 4.12) id 1AASaP-0000bn-00 for freebsd-questions@freebsd.org; Fri, 17 Oct 2003 11:16:01 +0000 Received: (qmail 36201 invoked by uid 1006); 17 Oct 2003 11:17:49 -0000 Received: from simong@desktop-guardian.com by dtg25 by uid 82 with qmail-scanner-1.16 (clamscan: 0.54. spamassassin: 2.55. Clear:. Processed in 11.993642 secs); 17 Oct 2003 11:17:49 -0000 Received: from unknown (HELO dtg17) (192.168.0.17) by 192.168.0.25 with SMTP; 17 Oct 2003 11:17:35 -0000 Message-ID: <025301c3949f$d5ff38d0$1100a8c0@dtg17> From: "Simon Gray" To: , References: <200310170958.h9H9wC7e007673@cdm01.deedsmiscentral.net> Date: Fri, 17 Oct 2003 12:14:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Package Management X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Gray List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 11:16:08 -0000 > Does FreeBSD have package management to view the packages installed > and their names with versions, remove the packages installed, and > track the packages installed to avoid conflicts and retain stability? You can view what packages are installed by doing ls /var/db/pkg | more There is also a package called portupgrade (cd /usr/ports/sysutils/portupgrade && make install clean) which will upgrade your installed packages to the latest version of ports running on your machine. You will however need to cvsup your ports (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html) to the latest version first - beware, don't make the mistake i've made in the past, any databases (e.g. mysql) should be stopped manually before port upgrading, because portupgrade seems to aggressively stop the db server which can cause cached data to be lost. Hope this helps, Simon