From owner-freebsd-questions@FreeBSD.ORG Mon Jul 28 12:22:29 2003 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 ED7AE37B401 for ; Mon, 28 Jul 2003 12:22:29 -0700 (PDT) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.103.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6195743FAF for ; Mon, 28 Jul 2003 12:22:29 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: from wopr.caltech.edu (localhost.caltech.edu [127.0.0.1]) by wopr.caltech.edu (8.12.9/8.12.8) with ESMTP id h6SJMN08066366; Mon, 28 Jul 2003 12:22:23 -0700 (PDT) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.12.9/8.12.9/Submit) id h6SJMIVO066365; Mon, 28 Jul 2003 12:22:18 -0700 (PDT) Date: Mon, 28 Jul 2003 12:22:17 -0700 From: Matthew Hunt To: Dan Nelson Message-ID: <20030728192217.GA66309@wopr.caltech.edu> References: <46021.121861-30410-1720054187-1059175905@seznam.cz> <20030726015449.G52327-100000@mx1.mat.unb.br> <20030726052703.GA42396@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030726052703.GA42396@dan.emsphone.com> User-Agent: Mutt/1.5.1i cc: Tom Kraus cc: Leonardo Lazarte cc: freebsd-questions@freebsd.org Subject: Re: Cannot install any port 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: Mon, 28 Jul 2003 19:22:30 -0000 On Sat, Jul 26, 2003 at 12:27:03AM -0500, Dan Nelson wrote: > You sure? Are you failing with this error: > > ===> Checking if portd/portname already installed > *** Error code 1 > > This is almost certainly caused by an old pkg_info command that does > not understand -O. To disprove me: As I've posted before, the problem is not always as simple as it's made out to be. When I upgraded to 4.8-STABLE, I still got that error. It was because of a corrupt directory in /var/pkg/db, which was causing pkg_info -O to abort before finishing. Running the failing "pkg_info -O whatever" command by hand made the problem visible, and I deleted the bad directory. -- Matthew Hunt * Clearly there are more things in the http://www.pobox.com/~mph/ * heavens than anyone anticipated. -enp