From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 17:34:14 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 55CF516A4B3 for ; Tue, 21 Oct 2003 17:34:14 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8165A43F75 for ; Tue, 21 Oct 2003 17:34:11 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 1013 invoked from network); 22 Oct 2003 00:34:07 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 22 Oct 2003 00:34:07 -0000 Message-ID: <3F95D07E.5010206@liwing.de> Date: Wed, 22 Oct 2003 00:34:06 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031019 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: ioang@verizon.net References: <200310212029.08699.ioang@verizon.net> In-Reply-To: <200310212029.08699.ioang@verizon.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: portupgrade problems, please help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 00:34:14 -0000 ivan georgiev wrote: > Hello, > > 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. Jens