From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 04:05:09 2004 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 63BAB16A4CE for ; Thu, 26 Feb 2004 04:05:09 -0800 (PST) Received: from mail1.arcor-ip.de (mail1.arcor-ip.de [145.253.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3209943D2F for ; Thu, 26 Feb 2004 04:05:09 -0800 (PST) (envelope-from Lutz.Kittler@sse-erfurt.de) Received: from mail.sse-erfurt.de (145.253.64.194) by mail1.arcor-ip.de (5.5.044) id 403A11C10007984C for freebsd-questions@freebsd.org; Thu, 26 Feb 2004 13:05:08 +0100 Received: from master.sse-erfurt.de (mailhost.sse-erfurt.de [192.105.75.4]) by mail.sse-erfurt.de (Postfix) with ESMTP id 95A3312C64 for ; Thu, 26 Feb 2004 13:05:07 +0100 (CET) Received: from tycho.sse-erfurt.de (kittler@tycho.sse-erfurt.de [192.105.75.11])id NAA05451 for ; Thu, 26 Feb 2004 13:05:07 +0100 From: Lutz Kittler To: freebsd-questions@freebsd.org Date: Thu, 26 Feb 2004 13:05:06 +0100 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402261305.06484.Lutz.Kittler@sse-erfurt.de> Subject: install/update ports 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: Thu, 26 Feb 2004 12:05:09 -0000 Hi, I use FreeBSD-4.9 and have some troubles with portupdate. Today I updated the ports with cvsup /etc/cvs-ports ( see Files and Directory Listings below ). I wanted to install nagios and got problems. Portupgrade tried to install from net/nagios and net/net-snmp and there are errors because only the Makefile are there. These ports have beend moved to net-mgmt as I can see in MOVED. So I have some questions : 1. Which of the INDEX*-Files from /usr/ports is used by portupgrade/ portinstall and "make search" ? 2. These Files seems not be updated , why ? 3. Is it right that directories of old net-ports exist and contain Makefile ? If it isnt, how can I update the ports-tree to the right structure ? Thanks ,Lutz bash-2.05a#cat /etc/cvs-ports *default host=kastor2 *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_4 *default delete use-rel-suffix *default tag=. ports-all bash-2.05a# ls -lt /usr/sup/ports-all/ -rw-r--r-- 1 root wheel 10977893 26 Feb 11:37 checkouts.cvs:. bash-2.05a# ls -l INDEX* -rw-r--r-- 1 root wheel 4761293 19 Feb 12:18 INDEX -rw-r--r-- 1 root wheel 4436222 16 Feb 10:39 INDEX-5 -rw-r--r-- 1 root wheel 9975808 19 Feb 12:25 INDEX.db -rw-r--r-- 1 root wheel 2746434 6 Aug 2002 INDEX~ bash-2.05a# ls -l net*/net-snmp net-mgmt/net-snmp: total 26 -rw-r--r-- 1 root wheel 5348 24 Feb 09:33 Makefile -rw-r--r-- 1 root wheel 61 18 Nov 04:18 distinfo drwxr-xr-x 2 root wheel 1024 17 Feb 08:36 files -rw-r--r-- 1 root wheel 401 21 Dez 14:48 pkg-descr -rw-r--r-- 1 root wheel 695 31 Okt 15:17 pkg-message -rw-r--r-- 1 root wheel 11813 21 Dez 14:48 pkg-plist net/net-snmp: total 6 -rw-r--r-- 1 root wheel 5314 8 Jan 11:28 Makefile bash-2.05a# ls -l net*/nagios* net-mgmt/nagios: total 22 -rw-r--r-- 1 root wheel 3065 24 Feb 09:33 Makefile -rw-r--r-- 1 root wheel 59 11 Feb 05:56 distinfo drwxr-xr-x 2 root wheel 512 17 Feb 08:36 files -rw-r--r-- 1 root wheel 677 29 Mai 2002 pkg-descr -rw-r--r-- 1 root wheel 11023 7 Apr 2003 pkg-plist net-mgmt/nagios-plugins: total 12 -rw-r--r-- 1 root wheel 1259 24 Feb 09:33 Makefile -rw-r--r-- 1 root wheel 69 3 Aug 2003 distinfo drwxr-xr-x 2 root wheel 512 17 Feb 08:36 files -rw-r--r-- 1 root wheel 753 22 Jul 2002 pkg-descr -rw-r--r-- 1 root wheel 1601 3 Aug 2003 pkg-plist drwxr-xr-x 2 root wheel 512 17 Feb 08:36 scripts net/nagios: total 4 -rw-r--r-- 1 root wheel 3050 13 Feb 08:45 Makefile net/nagios-plugins: total 2 -rw-r--r-- 1 root wheel 1248 6 Feb 16:33 Makefile bash-2.05a# ls -lt MOVED -rw-r--r-- 1 root wheel 64094 24 Feb 09:31 MOVED bash-2.05a# grep nagios MOVED net/nagios-plugins|net-mgmt/nagios-plugins|2004-02-22|new category net/nagios|net-mgmt/nagios|2004-02-22|new category bash-2.05a# portinstall -v -M WITH_MYSQL=yes net-mgmt/nagios ---> Session started at: Thu, 26 Feb 2004 12:37:25 +0100 ** No package has been installed or upgraded. ---> Session ended at: Thu, 26 Feb 2004 12:37:27 +0100 (consumed 00:00:01)