From owner-freebsd-ports@FreeBSD.ORG Sun Jul 2 22:17:39 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 B8AE016A416; Sun, 2 Jul 2006 22:17:39 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from pipa.vshosting.cz (pipa.vshosting.cz [81.0.201.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0797E43FFB; Sun, 2 Jul 2006 22:17:13 +0000 (GMT) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.vshosting.cz (Postfix) with ESMTP id BF1814E732; Mon, 3 Jul 2006 00:17:13 +0200 (CEST) Received: from pipa.vshosting.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20985-08; Mon, 3 Jul 2006 00:17:13 +0200 (CEST) Received: from gandalf (unknown [81.0.245.205]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.vshosting.cz (Postfix) with ESMTP id EAEDC4E72F; Mon, 3 Jul 2006 00:17:12 +0200 (CEST) From: =?iso-8859-2?Q?Daniel_Dvo=F8=E1k?= To: Date: Mon, 3 Jul 2006 00:17:10 +0200 Message-ID: <003201c69e25$43b56de0$6508280a@tocnet28.jspoj.czf> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaeJUMvERWF5xjaTnKFlGcfP3g+ow== X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at profix.cz Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@FreeBSD.org Subject: 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 Reply-To: dandee@volny.cz List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 22:17:39 -0000 Hi all, I upgraded my portupgrade to version 2.1.3 12 days ago, it was broken, okay after reading Makeconf changes a go back by portupgrading to 2.1.4, actualy 2.1.1,2. I was glad to see the portupgrade is working again. Today cron/portsnap update told me, there is new version of portupgrade, okay ... portaudit-0.5.11 = up-to-date with port portupgrade-2.1.1,2 < needs updating (port has 2.1.3.2,2) python-2.4.3 = up-to-date with port # portupgrade -Rr portupgrade ... ===> Found saved configuration for portupgrade-2.0.1_1,1 ... ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'portupgrade-2.1.1,2' [Updating the pkgdb in /var/db/pkg ... - 149 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for portupgrade-2.1.3.2,2 ===> portupgrade-2.1.3.2,2 depends on file: /usr/local/bin/ruby18 - found ===> portupgrade-2.1.3.2,2 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb.so - found ===> portupgrade-2.1.3.2,2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Generating temporary packing list ===> Checking if sysutils/portupgrade already installed ... ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib/compat/pkg ===> Installing ldconfig configuration file ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib/compat/pkg if [ ! -f /usr/local/etc/pkgtools.conf ]; then /bin/cp -p /usr/local/etc/pkgtoo ls.conf.sample /usr/local/etc/pkgtools.conf; fi ===> Registering installation for portupgrade-2.1.3.2,2 ===> Cleaning for ruby-1.8.4_8,1 ===> Cleaning for ruby18-bdb-0.5.9 ===> Cleaning for perl-5.8.8 ===> Cleaning for db41-4.1.25_3 ===> Cleaning for portupgrade-2.1.3.2,2 ---> Cleaning out obsolete shared libraries [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:647:in `which': /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/sbin/portsclean:322:in `libclean' from /usr/local/sbin/portsclean:306:in `libclean' from /usr/local/sbin/portsclean:153:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portsclean:67:in `main' from /usr/local/sbin/portsclean:684 [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 ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot upda te the pkgdb!] /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:467:in `__sudo' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:473:in `xsystem!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:960:in `autofix!' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:956:in `autofix' from /usr/local/sbin/portupgrade:475:in `main' from /usr/local/sbin/portupgrade:714:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:815:in `initialize' from /usr/local/sbin/portupgrade:209:in `main' from /usr/local/sbin/portupgrade:1951 ... # rehash # portversion -v [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 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 ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ ... So what now ? Is it broken again in same manner ? Do I something do wrong ? I would like to inform about it and to ask you, if you can help me, what to do with this now. Fixing the pkgdb.db does not help me at all. Thanks Daniel Please, send answer to my email, I am not in mailling list, thank you again.