From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 12:33:15 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 22CDC16A4CE for ; Tue, 10 Aug 2004 12:33:15 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4BC43D2D for ; Tue, 10 Aug 2004 12:33:13 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i7ACX85r014679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Aug 2004 13:33:08 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i7ACX8DZ014678; Tue, 10 Aug 2004 13:33:08 +0100 (BST) (envelope-from matthew) Date: Tue, 10 Aug 2004 13:33:08 +0100 From: Matthew Seaman To: Vince Hoffman Message-ID: <20040810123308.GA14509@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Vince Hoffman , freebsd-questions@freebsd.org References: <20040810123108.C8250@unsane.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <20040810123108.C8250@unsane.co.uk> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Tue, 10 Aug 2004 13:33:08 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: i think i've broken portinstall 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: Tue, 10 Aug 2004 12:33:15 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2004 at 01:16:40PM +0100, Vince Hoffman wrote: > I just went to install netcat and portinstal seems to have broken, not > sure when or how though. >=20 > the process i use (as normal) >=20 > [/root] [12:30] > #cd /usr/ports/net/netcat/ >=20 > >=20 > [/usr/ports/net/netcat] [12:30] > #portinstall netcat > ** No such installed package nor such port called 'netcat' is found. >=20 > fair enough this happens sometimes. so... >=20 > [/usr/ports/net/netcat] [12:30] > #portinstall net/netcat > [/usr/ports/net/netcat] [12:30] > # >=20 > ok i dont understand what happened here. > I have a cron job update my ports tree by cvsup every night then run a > portsdb -Uu after each update, a manual portsdb -Uu gives me >=20 > a bunch of errors from MailScanner and others (dependency list incomplete > errors so not too big a deal.) > but also lots (more than a couple of screenfuls) of lines like this >=20 > /usr/ports/INDEX-5:10775:Port info line must consist of 10 fields. > /usr/ports/INDEX-5:10776:Port info line must consist of 10 fields. > /usr/ports/INDEX-5:10777:Port info line must consist of 10 fields. > /usr/ports/INDEX-5:10778:Port info line must consist of 10 fields. > /usr/ports/INDEX-5:10779:Port info line must consist of 10 fields. >=20 > should i just blow away my ports tree and re-CVSUP the whole thing ? Do you have an up to date version of portupgrade ? Latest is: % pkg_info -I portupgrade\* portupgrade-20040701_3 FreeBSD ports/packages administration and manage= ment tool s And you should have a similar recent version of the Makefiles under /usr/ports/Mk: specifically, you should have bsd.port.subdir.mk v 1.55 Looks like your portupgrade and the ports Makefiles are out of synch with respect to the change in the format of the INDEX{,-5} files that happened recently. That means the number of fields in the INDEX went =66rom 10 to 13. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBGMCEiD657aJF7eIRAnSlAJ96KYOwdCy4mROLm2Ni72tCQSLrJwCglLee hNB0LJcN5UnHsnXrhE83D2A= =kJl4 -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--