Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2003 12:22:17 -0700
From:      Matthew Hunt <mph@astro.caltech.edu>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot install any port
Message-ID:  <20030728192217.GA66309@wopr.caltech.edu>
In-Reply-To: <20030726052703.GA42396@dan.emsphone.com>
References:  <46021.121861-30410-1720054187-1059175905@seznam.cz> <20030726015449.G52327-100000@mx1.mat.unb.br> <20030726052703.GA42396@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mph@astro.caltech.edu> * Clearly there are more things in the
http://www.pobox.com/~mph/           * heavens than anyone anticipated. -enp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030728192217.GA66309>