From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 09:42:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 710BC106564A for ; Tue, 23 Aug 2011 09:42:06 +0000 (UTC) (envelope-from freebsd@a-berg.se) Received: from mammoth.unixsh.net (mammoth.unixsh.net [195.35.83.67]) by mx1.freebsd.org (Postfix) with SMTP id 8C5ED8FC21 for ; Tue, 23 Aug 2011 09:42:05 +0000 (UTC) Received: (qmail 17281 invoked from network); 23 Aug 2011 09:15:23 -0000 Received: from localhost.maniacs.se (HELO mammoth.unixsh.net) (127.0.0.1) by localhost.maniacs.se with SMTP; 23 Aug 2011 09:15:23 -0000 MIME-Version: 1.0 Date: Tue, 23 Aug 2011 10:15:23 +0100 From: =?UTF-8?Q?Andr=C3=A9as_Berg?= To: In-Reply-To: <4E536C40.8080305@netfence.it> References: "" <4E5105A4.1060706@netfence.it> <20110823005850.a60d433e.stas@FreeBSD.org> <4E536C40.8080305@netfence.it> Message-ID: <238211d9fceca7742b963eef057837da@mammoth.unixsh.net> X-Sender: freebsd@a-berg.se User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: upgrade of portupgrade to 2.4.9,2 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: Tue, 23 Aug 2011 09:42:06 -0000 This ruby+portupgrade upgrade seems to be quite a mess. My systems fetch new ports tree nightly and I upgrade during the day when I have some spare time. So, this morning my systems had the new ruby versions and the UPDATING instruction, but not the new portupgrade port version (not that it had helped, but anyway). So, portupgrade -fr lang/ruby18 failed. Right now, I've got one system (the less critical one) upgraded with the latest and portupgrade is still failing. The other I backed down to ruby18 and portupgrade-2.4.8_1,2 and that works. Information from the upgraded system: # pkg_info -Ia | egrep 'ruby|portupgrade' portupgrade-2.4.9.2_2,2 FreeBSD ports/packages administration and management tool s ruby-1.9.2.290,1 An object-oriented interpreted scripting language ruby19-bdb-0.6.6 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat Here's an example failure output. I get the same errors whatever port I try to upgrade.. # portupgrade -f portupgrade-2.4.9.2_2,2 ---> Session started at: Tue, 23 Aug 2011 11:10:02 +0200 ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! ports-mgmt/portupgrade (portupgrade-2.4.9.2_2,2) (can't modify frozen string) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Saving the results to '/var/log/portupgrade.results' ** Failed to save the results: undefined method `install_data' for # ---> Session ended at: Tue, 23 Aug 2011 11:10:08 +0200 (consumed 00:00:05) Regards, Andréas On Tue, 23 Aug 2011 11:00:48 +0200, Andrea Venturoli wrote: > On 08/23/11 09:58, Stanislav Sedov wrote: > >> On Sun, 21 Aug 2011 15:18:28 +0200 Andrea Venturoli mentioned: >> >>> On 08/21/11 08:26, n dhert wrote: >>> >>>> I did a portupgrade on a freebsd 8.2-RELEASE of the portupgrade program itself portupgrade-2.4.8_1,2< needs updating (index has 2.4.9,2) (that upgraded also ruby to 1.9: >>> I did the same on some boxes and I'm having a lot of troubles too... # pkgdb -L Look for lost dependencies: undefined method `map' for # >> Hi! Can you, please, try the portupgrade version from the ports? It should fix those issues. > > Not really. > > I tried "portupgrade -R portupgrade", but still had a messed-up system. > Since I don't use Ruby for much and had only portupgrade and libchk > using it, I wiped them all and reinstalled portupgrade from scratch. > This also reinstalled ruby. > I'm still getting "undefined method `map'..." when I run pkgdb, however. > >> # pkg_info -r portupgrade* Information for portupgrade-2.4.9.2,2: Depends on: Dependency: libyaml-0.1.4_1 Dependency: openssl-1.0.0_5 Dependency: pkg-config-0.25_1 Dependency: libffi-3.0.9 Dependency: ruby-1.9.2.290,1 > Sorry for the inconvinences! > > You're welcome, I appreciate your work and help. > > bye & Thanks > av. > _______________________________________________ > freebsd-questions@free> freebsd.org/mailman/listinfo > tions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org [2]" Links: ------ [1] mailto:ml@netfence.it [2] mailto:freebsd-questions-unsubscribe@freebsd.org