From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 19:50:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABDBC16A4BF for ; Tue, 21 Oct 2003 19:50:52 -0700 (PDT) Received: from out005.verizon.net (out005pub.verizon.net [206.46.170.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CDAB43FA3 for ; Tue, 21 Oct 2003 19:50:51 -0700 (PDT) (envelope-from ioang@verizon.net) Received: from pool-151-199-107-32.roa.east.verizon.net ([151.199.107.32]) by out005.verizon.netESMTP <20031022025050.ZAOP15786.out005.verizon.net@pool-151-199-107-32.roa.east.verizon.net> for ; Tue, 21 Oct 2003 21:50:50 -0500 From: ivan georgiev To: freebsd-questions@freebsd.org Date: Tue, 21 Oct 2003 22:50:48 -0400 User-Agent: KMail/1.5.4 References: <200310212029.08699.ioang@verizon.net> <200310211902.21883.kstewart@owt.com> <200310212108.49670.racerx@makeworld.com> In-Reply-To: <200310212108.49670.racerx@makeworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310212250.49208.ioang@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out005.verizon.net from [151.199.107.32] at Tue, 21 Oct 2003 21:50:50 -0500 Subject: Re: portupgrade problems, please help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ioang@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 02:50:52 -0000 > > > > > I use 5_1_RELEASE. I do not know what happened but now I > > > > > get: > > > > > > > > > > -su-2.05b# portupgrade -arR > > > > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in > > > > > `deorigin': failed to convert nil into String > > > > > (PkgDB::DBError) from > > > > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in > > > > > `tsort_build' from > > > > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' > > > > > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in > > > > > `tsort_build' from > > > > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' > > > > > from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in > > > > > `tsort_build' from > > > > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in > > > > > `sort_build' from > > > > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935: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 > > > > > > > > > > Can someone tell how to fix it. I tried "pkgdb -uf" but it > > > > > doesn't help. > > > > > > > > You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u > > > > again. > > > > > > Thanks, but it didn't cure it :( > > > > I would force upgrade portupgrade before you do anything using > > > > portupgrade -Rf portupgrade. > > /usr/local/sbin/pkgdb -fuF > /usr/local/sbin/portupgrade -arR Thanks for the input, > > portupgrade -Rf portupgrade. did not help. As well as > /usr/local/sbin/pkgdb -fuF Still :(