portupgrade error - `deorigin': cannot convert nil into String (PkgDB::DBError)

Andy Smith andy at freebsdwiki.org
Fri Jun 25 16:26:49 PDT 2004


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 at mindspring.com, news:comp.lang.c
-------------- 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-stable/attachments/20040625/b27adacf/attachment.bin


More information about the freebsd-stable mailing list