Re: portupgrade issue

From: Bruno Van Den Bossche (bruno.van.den.bossche_at_pandora.be)
Date: 05/27/03

  • Next message: Roberto Nunnari: "Re: UDMA ICRC error"
    Date: Tue, 27 May 2003 10:02:37 +0200
    To: freebsd-stable@freebsd.org
    
    

    On 26 May 2003 18:17:29 -0700
    Joe Kelsey <joe@zircon.seattle.wa.us> wrote:

    > I am running 4.8-STABLE.
    > I recently did a cvsup (repeatedly, most recently today). Ever since,
    > portupgrade dies with the following messages:
    >
    >
    > zircon# portupgrade -r pkgconfig
    > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed
    > to convert nil into String (PkgDB::DBError)
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in
    > `tsort_build'
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each'
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in
    > `tsort_build'
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each'
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in
    > `tsort_build'
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in
    > `sort_build'
    > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920: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:1846
    >
    >
    > I have removed INDEX and INDEX.db, run make INDEX, run portsdb -Uu
    > more times than I cancount, yet nothing works.
    >
    > Last time I ran portsdb -Uu, this is wat it produced:

    [output]

    > If anyone has any suggestions, I would appreciate the help.

    I think the problem is situated in your /var/db/pkg/pkgdb.db and not in
    any index-file of your portstree. Have you tried to remove the
    /var/db/pkg/pkgdb.db file and rebuilding it with 'pkgdb -vF' ?
    (Well, move the file to somewhere else before deleting it ofcourse :-))

    I'm not sure if that's the problem, but I recall having a similar
    problem once (the ruby-errors) and this solved it. Don't know what
    caused it though.

    -- 
    Bruno
    "He is now rising from affluence to poverty." -- Mark Twain
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Roberto Nunnari: "Re: UDMA ICRC error"