install/update ports
Lutz Kittler
Lutz.Kittler at sse-erfurt.de
Thu Feb 26 04:05:09 PST 2004
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)
More information about the freebsd-questions
mailing list