Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 23:26:22 +0000
From:      Andy Smith <andy@freebsdwiki.org>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: portupgrade error - `deorigin': cannot convert nil into String (PkgDB::DBError)
Message-ID:  <20040625232622.GO27620@caffreys.strugglers.net>
In-Reply-To: <200406251310.44600.kstewart@owt.com>
References:  <20040625192512.GK27620@caffreys.strugglers.net> <200406251310.44600.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, Jun 25, 2004 at 01:10:44PM -0700, Kent Stewart wrote:
> On Friday 25 June 2004 12:25 pm, Andy Smith wrote:
> > Ever since a recent cvsup of ports and a portsdb -Uu, portupgrade
> > has been giving the following error:
> >
> > --->  Session started at: Fri, 25 Jun 2004 18:58:25 +0000
> > --->  Session ended at: Fri, 25 Jun 2004 18:58:28 +0000 (consumed
> > 00:00:03) /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in
> > `deorigin': cannot convert nil into String (PkgDB::DBError) from

[...]

> Someone on ports said to run portsdb  -fu to fix this one. The cooment 
> was 
> > Probably a ruby bug. Rebuilding {pkg|ports}.db from scratch will do, I 
> think.
> 
> But I thought that was a pkgdb -fu.

Hmm.  Before I read your email I deleted /usr/ports, did a fresh
cvsup and then did portsdb -Uu and now portupgrade seems to work
again.  Odd.

Thanks everyone for the replies anyway.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B

> > > The optimum programming team size is 1.
Has Jurassic Park taught us nothing?
 -- pfilandr@mindspring.com, news:comp.lang.c

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA3LSeIJm2TL8VSQsRArdUAJ4mTcQG2NvETbnj/lJuyIV64u/J5wCfXGCY
rlAr+qVZo4VIJjKzhLm0vC8=
=zxZZ
-----END PGP SIGNATURE-----

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