From owner-freebsd-ports@FreeBSD.ORG Sat Jul 8 16:38:08 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 26F4116A4DA for ; Sat, 8 Jul 2006 16:38:08 +0000 (UTC) (envelope-from jeff.cross@averageadmins.com) Received: from S1.cableone.net (s1.cableone.net [24.116.0.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1A6B43D60 for ; Sat, 8 Jul 2006 16:38:05 +0000 (GMT) (envelope-from jeff.cross@averageadmins.com) Received: from [172.16.0.100] (unverified [24.117.52.220]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 66061433 for multiple; Sat, 08 Jul 2006 09:38:32 -0700 Message-ID: <44AFDF68.1090709@averageadmins.com> Date: Sat, 08 Jul 2006 11:38:00 -0500 From: Jeff Cross User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: Jeff Cross References: <44AEE2A2.3080801@averageadmins.com> <44AFDB69.9090003@averageadmins.com> In-Reply-To: <44AFDB69.9090003@averageadmins.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IP-stats: Incoming Last 1, First 2, in=3, out=0, spam=0 X-External-IP: 24.117.52.220 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Cc: ports@freebsd.org Subject: Re: pkgdb errors after portupgrade -varR 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: Sat, 08 Jul 2006 16:38:08 -0000 Jeff Cross wrote: > Jeff Cross wrote: >> I ran portupgrade -varR last night to upgrade a number of ports. When >> it finished, or returned me to the command line, the following output >> was on the screen: >> >> ** No need to upgrade 'gedit-2.14.3' (>= gedit-2.14.3). (specify -f to >> force) >> [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!] >> ---> Session ended at: Fri, 07 Jul 2006 09:11:39 -0500 (consumed 13:21:18) >> /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 >> >> >> I ran the portversion -v -l "<" and the following output was returned: >> >> $ portversion -v -l "<" >> [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 >> >> I noticed the error a number of times in the portupgrade output as well, >> like: >> >> Fri Jul 7 09:11:09 2006 (00:07 min.) >> ---> Build of editors/openoffice.org-2.0 ended at: Fri, 07 Jul 2006 >> 09:11:11 -0500 (consumed 12:40:21) >> ---> Updating dependency info >> ---> Uninstallation of openoffice.org-2.0.3rc6 started at: Fri, 07 Jul >> 2006 09:11:26 -0500 >> ---> Fixing up dependencies before creating a package >> [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!] >> ---> Uninstallation of openoffice.org-2.0.3rc6 ended at: Fri, 07 Jul >> 2006 09:11:28 -0500 (consumed 00:00:02) >> ** Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ >> ---> Skipping 'editors/openoffice.org-2.0' >> ---> Upgrade of editors/openoffice.org-2.0 ended at: Fri, 07 Jul 2006 >> 09:11:28 -0500 (consumed 12:40:38) >> >> Any ideas on how I can correct this issue and get my ports tree and >> related applications working correctly? Can I use -w option of >> portupgrade to install already compiled code or will I have to redo the >> whole compiling process? >> >> Thanks in advance! >> >> Jeff Cross >> http://www.averageadmins.com/ >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> >> >> > Reading /usr/ports/UPDATING is a wonderful thing! Please disregard my > previous post. Things are moving right along here! And next time, I'll > do what I should have done this time and every time, and read the > UPDATING file *before* updating! :) > > Jeff Cross > http://www.averageadmins.com/ > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > Well, I thought everything was well and this may not be related to my previous error, but, I am getting the following error when trying to upgrade sbcl: //entering make-host-1.sh //building cross-compiler, and doing first genesis /usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, required by "sbcl" 0.00 real 0.00 user 0.00 sys *** Error code 1 Stop in /usr/ports/lang/sbcl. Any assistance on correcting this problem is greatly appreciated. Jeff Cross http://www.averageadmins.com/