From owner-freebsd-questions@FreeBSD.ORG Thu Feb 1 09:26:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D081416A406 for ; Thu, 1 Feb 2007 09:26:08 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 6806213C474 for ; Thu, 1 Feb 2007 09:26:08 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 5C10E285D0 for ; Thu, 1 Feb 2007 10:26:07 +0100 (CET) X-Virus-Scanned: amavisd-new 2.4.4 (20061120) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sPET9YMr3R7Y for ; Thu, 1 Feb 2007 10:26:07 +0100 (CET) Received: from [192.168.0.201] (me.todoo.biz [82.66.93.242]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by newmail.rmm.fr (Postfix) with ESMTP id 016F0284BF for ; Thu, 1 Feb 2007 10:26:06 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <20050108182413.M1272@yokozuna.lan> <20050108212739.F800@yokozuna.lan> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <67D709BF-FE59-4722-841A-CB7A511F20B1@todoo.biz> Content-Transfer-Encoding: quoted-printable From: bsd Date: Thu, 1 Feb 2007 10:26:01 +0100 To: Liste FreeBSD X-Mailer: Apple Mail (2.752.3) Subject: Re: portupgrade failure [solved] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 09:26:08 -0000 Ok, I found a solution. I had the same problem as described below. I am using portsnap so : # portsnap fetch # portsnap update # cd /usr/ports/sysutils/portupgrade # make deinstall; make install clean This will install version portupgrade-2.2.2_2,2 which corrects the bug. Sincerly yours. Le 1 f=E9vr. 07 =E0 07:37, FreeBSD MailingLists a =E9crit : > I am having the same problem. > I have tried the "make fetchindex" approach but it doesn't solve it =20= > for me. > you mentioned something about /usr/ports/UPDATING, but was unable =20 > to find > a relevant entry. > can you please tell me the entry date that helped you with this =20 > problem? > > Thank you, > Tomoki Taniguchi > > > [root@localhost ~]$portupgrade -rRviy f-prot clamav mail/mailscanner > ---> Session started at: Thu, 01 Feb 2007 15:04:14 +0900 > [Updating the pkgdb in /var/db/pkg ... - 173 =20 > packages > found (-1 +1) (...). done] > ** No such installed package: mail/mailscanner > [missing key: categories] [Updating the portsdb in > /usr/ports ... - 16413 port entries found > .........=20 > 1000.........2000.........3000.........4000.........5000.........6000.=20= > ........=20 > 7000.........8000.........9000.........10000.........11000.........120=20= > 00.........13000.........14000.........15000.........16000.... > ..... done] > missing key: categories: Cannot read the portsdb! > ---> Session ended at: Thu, 01 Feb 2007 15:04:33 +0900 (consumed =20 > 00:00:18) > /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': =20 > database file > error (PortsDB::DBError) > from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port' > from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in > `all_depends_list' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in =20 > `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in =20 > `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in =20 > `sort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in =20 > `sort_build!' > from /usr/local/sbin/portupgrade:721:in `main' > from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize' > from /usr/local/sbin/portupgrade:220:in `new' > from /usr/local/sbin/portupgrade:220:in `main' > from /usr/local/sbin/portupgrade:2084 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-=20 > unsubscribe@freebsd.org" ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing =20 this e-mail"