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

From: Andy Smith (andy_at_freebsdwiki.org)
Date: 06/26/04

  • Next message: Tom Dymond: "man page problem"
    Date: Fri, 25 Jun 2004 23:26:22 +0000
    To: Kent Stewart <kstewart@owt.com>
    
    
    

    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
    
    



  • Next message: Tom Dymond: "man page problem"

    Relevant Pages