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

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Jul 12 12:15:16 PDT 2004

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



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040712/0d4c850e/attachment.bin

More information about the freebsd-ports mailing list