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

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

  • Next message: David Bishop: "via envy24 (ice1724)"
    Date: Fri, 25 Jun 2004 19:25:12 +0000
    To: FreeBSD-stable@freebsd.org
    
    
    

    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 /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in `tsort_build'
            from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each'
            from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build'
            from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each'
            from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build'
            from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build'
            from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!'
            from /usr/local/sbin/portupgrade:674:in `main'
            from /usr/local/sbin/portupgrade:207:in `initialize'
            from /usr/local/sbin/portupgrade:207:in `new'
            from /usr/local/sbin/portupgrade:207:in `main'
            from /usr/local/sbin/portupgrade:1845

    I have tried:

    - Waiting a day and doing another cvsup

    - Doing make index / portsdb -Uu

    - Removing ruby and portupgrade and reinstalling

    but I still get the same error.

    I also searched the mailing list archives and found someone with a
    very similar error:

    http://lists.freebsd.org/pipermail/freebsd-stable/2003-May/001255.html

    however, I've already learnt my lesson about refusing ports, and so
    my sup/refuse contains only:

    ports/INDEX
    ports/INDEX-5

    Anyone have any other ideas?

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



  • Next message: David Bishop: "via envy24 (ice1724)"

    Relevant Pages

    • Re: cvsup and portupgrade
      ... > source and ports. ... > appropriately, make deinstall, the cvsup the ports, then make install) ... > I've heard reference to a portupgrade package, ...
      (freebsd-questions)
    • Re: port upgrade hell
      ... After cvsup on Monday evening and attempting to portupgrade today ... >> Please update your ports tree and try again. ... At least a cvsup shouldn't take too long I hope. ... It didn't as minimal changes, but it's made no difference either. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Managing updates in jails
      ... > I don't understand the relationship between cvsup and portupgrade. ... install a port, how to patch and make it for FreeBSD, and just as ... you also need to run portsdb -Uu to rebuild it based on the new updates ...
      (freebsd-questions)
    • portsdb, portupgrade not quite working.
      ... FreeBSD happy 4.10-RELEASE FreeBSD 4.10-RELEASE #0: ... Decided to do a cvsup and upgrade my ports. ... trying to update my portsdb with the following command. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Keeping Ports synchronised with Packages
      ... Thanks to everyone who replied to my earlier question about using the ports ... and packages system better. ... I have always used cvsup and portupgrade to keep my programs up to ...
      (freebsd-questions)