Ports database somehow munged on one of my machines: undefined method `each'

Tillman Hodgson tillman at seekingfire.com
Mon Jul 12 12:57:24 PDT 2004

On Mon, Jul 12, 2004 at 08:15:10PM +0100, Matthew Seaman wrote:
> On Mon, Jul 12, 2004 at 12:49:55PM -0600, Tillman Hodgson wrote:
> > --->  Deinstalling 'bsdiff-4.1'
> > ** Listing the failed packages (*:skipped / !:failed)
> >         ! bsdiff-4.1    (undefined method `each' for nil:NilClass)
> > --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> That's a bug in portupgrade(1).  Or rather it /was/ a bug in
> portupgrade -- I believe a fix was released within 24 hours.
> Anyhow, to avoid the problem, simply edit your
> /usr/local/etc/pkgtools.conf file and make sure that it contains the
> new BEFOREDEINSTALL hash.  Refer to the pkgtools.conf.sample file for
> details.

Excellent, that did indeed solve the problem. Thanks,


I work for an investment bank. I have dealt with code written by stock
exchanges. I have seen how the computer systems that store your money are run.
If I ever make a fortune, I will store it in gold bullion under my bed.
    - A.S.R. quote (Matthew Crosby)

More information about the freebsd-ports mailing list