From owner-freebsd-ports@FreeBSD.ORG Mon Jul 3 06:54:01 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B18C516A403; Mon, 3 Jul 2006 06:54:01 +0000 (UTC) (envelope-from bvdgrift@snoozy.vdgrift.org) Received: from snoozy.vdgrift.org (snoozy.vdgrift.org [193.79.182.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEECC43D46; Mon, 3 Jul 2006 06:54:00 +0000 (GMT) (envelope-from bvdgrift@snoozy.vdgrift.org) Received: from snoozy.vdgrift.org (localhost.vdgrift.org [127.0.0.1]) by snoozy.vdgrift.org (8.13.6/8.13.6) with ESMTP id k636s4Ee097379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Jul 2006 08:54:04 +0200 (CEST) (envelope-from bvdgrift@snoozy.vdgrift.org) Received: (from bvdgrift@localhost) by snoozy.vdgrift.org (8.13.6/8.13.6/Submit) id k636s4ha097378; Mon, 3 Jul 2006 08:54:04 +0200 (CEST) (envelope-from bvdgrift) Date: Mon, 3 Jul 2006 08:54:04 +0200 From: Bert van de Grift To: Sergey Matveychuk Message-ID: <20060703065404.GC51623@snoozy.vdgrift.org> Mail-Followup-To: Sergey Matveychuk , dandee@volny.cz, ports@freebsd.org References: <003201c69e25$43b56de0$6508280a@tocnet28.jspoj.czf> <44A8AFB7.5030304@FreeBSD.org> <20060703060759.GB51623@snoozy.vdgrift.org> <44A8B61C.6010003@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44A8B61C.6010003@FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://www.xs4all.nl/~bvdgrift/private-gpg-key.asc X-Virus-Scanned: by amavisd-new Cc: ports@freebsd.org, dandee@volny.cz Subject: Re: FreeBSD Port: portupgrade-2.1.3.2, 2 - help me please, the port in short time is broken again, what does it all mean ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2006 06:54:01 -0000 On Mon, Jul 03, 2006 at 10:15:56AM +0400, Sergey Matveychuk wrote: > Bert van de Grift wrote: >> On Mon, Jul 03, 2006 at 09:48:39AM +0400, Sergey Matveychuk wrote: >>> Daniel Dvor(a'k wrote: >>>> Fixing the pkgdb.db does not help me at all. >>> It's a known issue. >>> Just remove the file and /usr/ports/INDEX*.db and run portupgrade >>> again. Note, it's described on man page - if you found pkgdb.db >>> seriously broken, just remove it. >> I have the same problem after upgrading portupgrade but when I go back >> to the previous version (2.1.1,2) everything is ok... > See my HANDS-UP message a couples days ago at the list. > Old (<=2.1.1,2) portupgrade use wrong (may be a right word will - > "unexpected") database format. OK - But when I remove /usr/ports/INDEX*.db and rebuild the database I get this: [Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... [Updating the portsdb in /usr/ports ... - 15088 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000 ..... done] [Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:352:in `deorigin_glob': /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:182:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:177:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:167:in `config_ignore_moved?' from /usr/local/sbin/portversion:308:in `check_pkgs' from /usr/local/sbin/portversion:306:in `check_pkgs' from /usr/local/sbin/portversion:266:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portversion:78:in `main' from /usr/local/sbin/portversion:361 Any clues? -- Bert van de Grift http://www.vdgrift.org GPG Key: http://www.vdgrift.org/0x306DE560.asc Fingerprint: 3E79 1F71 6699 619E 8BCC B21A E1ED 76E0 306D E560