Ports Database - Update failure

Joseph Maxwell jaymax36 at gmail.com
Tue Jul 22 12:44:17 UTC 2008

Reporting failure in Updating the Ports Database

Second run, used pre-generated version of INDEX , I think everything is as
defined in failure message

FreeBSD econ.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Tue Oct 17 05:16:31 PDT
2006     asmith at amatuk:/usr/obj/usr/src/sys/AMATUK_KERNEL  i386

My portupgrade is at
/usr/ports/ports-mgmt/portupgrade not at

/usr/ports/sysutils/portupgrade  ...?

Ports Tree sync'd with supfile

*default host=cvsup.ca.freebsd.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag="RELENG_6"
*default release=cvs delete use-rel-suffix compress
ports-all tag=.

cvsup -g -L 2 /usr/local/sup/supfile =>

Updating collection ports-all/cvs
 Edit ports/ports-mgmt/portmk/Mk/bsd.port.mk
  Add delta 1.76 2008. linimon
Shutting down connection to server
Finished successfully

portsdb -Uu
cd: can't cd to /usr/ports/sysutils/portupgrade
Updating the ports index ... Generating INDEX.tmp - please wait.."Makefile",
line 55: Could not find bsd.port.options.mk
make: fatal errors encountered -- cannot continue
===> sysutils/apcupsd failed
*** Error code 1
1 error

Before reporting this error, verify that you are running a supported
version of FreeBSD (see
and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to ports at FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".

*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error


ll /usr/ports/INDEX
-rw-r--r--  1 root  100  17645575 Jul 22 01:28 /usr/ports/INDEX

Index.db is created

file /usr/ports/INDEX.db
/usr/ports/INDEX.db: Berkeley DB 1.85/1.86 (Btree, version 3, native
econ 1576# ll /usr/ports/INDEX.db
-rw-r--r--  1 root  100  28423168 Jul 22 03:14 /usr/ports/INDEX.db


cat /etc/make.conf
# added by use.perl 2006-10-11 13:23:36

More information about the freebsd-ports mailing list