From owner-freebsd-questions@FreeBSD.ORG Wed May 5 10:18:18 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 AA33D16A4CE for ; Wed, 5 May 2004 10:18:18 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 166FE43D48 for ; Wed, 5 May 2004 10:18:18 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i45HHijw027210; Wed, 5 May 2004 10:17:44 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Wed, 5 May 2004 10:18:15 -0700 User-Agent: KMail/1.6.2 References: <20040504042404.GA797@earthlink.net> <20040505164214.GA2102@freebsd.jolok.org> In-Reply-To: <20040505164214.GA2102@freebsd.jolok.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405051018.15286.kstewart@owt.com> Subject: Re: Ports Index Update Error - mail/lmtpd Failure 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: Wed, 05 May 2004 17:18:18 -0000 On Wednesday 05 May 2004 09:42 am, Joshua Lokken wrote: > * Bob Perry [2004-05-04 22:04]: > > Was unsucessful at upgrading my ports system Saturday due to a > > failure during the port index update. More specifically, I > > received an error message stating that mail/lmtpd file failed. > > > > The upgrade process is fairly basic beginning with a backup of > > /var/db/pkg, followed with pkgdb -Fv, cvsup -g -L 2 -z cvsupfile, > > and then portsdb -uU. The error ocurred during the index update > > and a message followed describing the error stating "Makefile", > > line 47: You cannot use DB3 and DB4 in the same time. > > I've been using the ports collection happily for a couple of years > now, and portsdb -Uu has correctly made me an index once. I believe > it's redundant, though, to immediately follow a cvsup with a portsdb > -Uu, as the cvsup takes care of the index for you. I wouldn't worry > too much; I've seen other folks recommend recvsupping and trying > again; It should be ok to ignore it; at least I always have. This is really not true. INDEX is updated infrequently and depending on the version cvsup downloads will leave you with a version that can be as much as 2 months out of date. If you don't use ports such as portupgrade, it doesn't matter because make will use the proper parameters from the port location. If you want to use portupgrade, you have to rebuild INDEX[-5] and INDEX.db after every cvsup. If you check the update dates on INDEX, you will see that it was updated on 1 May, 28 Apr, 3 Apr, and then on 13 Feb. You could have missed an important security fix because none of the ports such as portversion or pkg_version would have recognized that the port had been updated. If it has only made a proper INDEX twice for you, I really suspect that you are refusing ports that are important to the make index process. I build the INDEXs twice a day and the last time make index failed was on 12-13 Apr. FWIW, portsdb -U now uses "make index" to build INDEX. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html