From owner-freebsd-questions Thu Aug 8 6:23:53 2002 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 C9B8B37B400 for ; Thu, 8 Aug 2002 06:23:50 -0700 (PDT) Received: from vixen.pragma.no (vixen.pragma.no [212.20.194.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83A243E3B for ; Thu, 8 Aug 2002 06:23:48 -0700 (PDT) (envelope-from awand@pragma.no) Received: from pragma.no (kornelius.pragma.no [212.20.194.172]) by vixen.pragma.no (Netscape Messaging Server 4.15) with ESMTP id H0J15Y00.F28 for ; Thu, 8 Aug 2002 15:22:46 +0200 Message-ID: <3D5270A6.30908@pragma.no> Date: Thu, 08 Aug 2002 15:22:46 +0200 From: Andreas Wideroe Andersen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Cleaning the pkg_info list Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've had a FreeBSD server running for some time and I've occationally upgraded some of the programs. When I upgrade I go into ports and issue a make install clean in the program's directory. This leads to several listings under pkg_info: mod_php-4.0.3pl1 PHP4 module for Apache mod_php4-4.1.2 PHP4 module for Apache mod_php4-4.2.1_1 PHP4 module for Apache mysql-client-3.22.32 Multithreaded SQL database (client) mysql-client-3.23.40 Multithreaded SQL database (client) mysql-server-3.23.40 Multithreaded SQL database (server) ncftp-3.0b21 FTP replacement with advanced user interface ncftp3-3.0.3 ftp replacement with advanced user interface I've got 2 questions: 1. I know if I do a pkg_delete the program entry will be deleted, but is there another way to clean this list (Ref. above example)? 2. What is generally the best way to handle upgrades (also cleanings like this)? Thanks! /Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message