From owner-freebsd-questions@FreeBSD.ORG Wed May 5 19:39:40 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 9D92B16A4CE for ; Wed, 5 May 2004 19:39:40 -0700 (PDT) Received: from cardinal.mail.pas.earthlink.net (cardinal.mail.pas.earthlink.net [207.217.121.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54BA543D49 for ; Wed, 5 May 2004 19:39:40 -0700 (PDT) (envelope-from elcoocooi@earthlink.net) Received: from user-10lf2se.cable.mindspring.com ([65.87.139.142]) by cardinal.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BLYnU-00013h-00 for freebsd-questions@freebsd.org; Wed, 05 May 2004 19:39:40 -0700 From: "E. Eusey" To: freebsd-questions@freebsd.org Date: Wed, 5 May 2004 22:40:39 -0400 User-Agent: KMail/1.6.2 References: <20040504042404.GA797@earthlink.net> In-Reply-To: <20040504042404.GA797@earthlink.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405052240.39501.elcoocooi@earthlink.net> Subject: Re: Ports Index Update Error - mail/lmtpd Failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: elcoocooi@earthlink.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 02:39:40 -0000 I ran into the same issue. I found two solutions that worked. Neither is very pretty. 1. Realizing that I would never install lmtpd, I simply commented out the lines in the makefile pertaining to DB3. The Makefile ended up looking like this: # .if defined(WITH_DB3) # LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 # CONFIGURE_ARGS+= --with-db3=${LOCALBASE}/include/db3 --without-db4 # .else # CONFIGURE_ARGS+= --without-db3 # .endif .if defined(WITH_DB4) LIB_DEPENDS+= db4:${PORTSDIR}/databases/db4 CONFIGURE_ARGS+= --with-db4=${LOCALBASE}/include/db4 --without-db3 .else CONFIGURE_ARGS+= --without-db4 .endif Why this sucked: I had to hand-edit the Makefile everytime I cvsuped the ports directory. 2. Realizing that DB3 was a 'leaf package' (nothing depended on it), I simply ran 'pkg_deinstall db3' at the command line. You check dependancies by running 'pkg_info -a | grep -A 15 db3' at the command line. Look for a "Required By:" line. As a safeguard, pkg_deinstall won't let you remove db3 if it's required by other packages. On Tuesday 04 May 2004 12:24 am, Bob Perry wrote: > 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 located line 47 in the Makefile but didn't recognize any > error. I also ran pkg_info to track down the lmtpd package > but didn't find it. > > Not sure where to go from here. Any advice would be appreciated. > > Thanks, > Bob Perry