From owner-freebsd-questions@FreeBSD.ORG Sun Aug 21 14:54:48 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 2D241106564A; Sun, 21 Aug 2011 14:54:48 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out9.libero.it (cp-out9.libero.it [212.52.84.109]) by mx1.freebsd.org (Postfix) with ESMTP id 861388FC14; Sun, 21 Aug 2011 14:54:47 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0208.4E511C36.0012,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from soth.ventu (151.41.161.26) by cp-out9.libero.it (8.5.133) id 4DD242330D6D2E33; Sun, 21 Aug 2011 16:54:45 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.5/8.14.4) with ESMTP id p7LDISwQ091546; Sun, 21 Aug 2011 15:19:12 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4E5105A4.1060706@netfence.it> Date: Sun, 21 Aug 2011 15:18:28 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.20) Gecko/20110817 Thunderbird/3.1.12 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 10.1.2.13 Cc: stas@FreeBSD.org, knu@FreeBSD.org 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: Sun, 21 Aug 2011 14:54:48 -0000 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 # # libchk /usr/local/sbin/libchk:96: formal argument cannot be a global variable |$strict| ^ /usr/local/sbin/libchk:100: formal argument cannot be a global variable |$detailed| ^ # portupgrade -Rf libchk [Gathering depends for sysutils/libchk ........................... done] [Exclude up-to-date packages ................. done] ---> Reinstalling 'libchk-1.10.1' (sysutils/libchk) ---> Building '/usr/ports/sysutils/libchk' ===> Cleaning for libchk-1.10.1 ===> License check disabled, port has not defined LICENSE ===> Extracting for libchk-1.10.1 => SHA256 Checksum OK for libchk-1.10.1.tar.bz2. ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> Patching for libchk-1.10.1 ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> Configuring for libchk-1.10.1 ===> Building for libchk-1.10.1 Warning: Object directory not changed from original /usr/ports/sysutils/libchk/work/libchk-1.10.1 gzip -cn libchk.1 > libchk.1.gz ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'libchk-1.10.1' [Updating the pkgdb in /var/db/pkg ... - 361 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for libchk-1.10.1 ===> libchk-1.10.1 depends on file: /usr/local/bin/ruby19 - found ===> Generating temporary packing list install -o root -g wheel -m 555 libchk.rb /usr/local/sbin/libchk install -o root -g wheel -m 444 libchk.1.gz /usr/local/man/man1 ===> Registering installation for libchk-1.10.1 ===> Cleaning for libchk-1.10.1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 362 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) - ["ruby-1.9.2.290,1"] (["ruby-1.9.2.290,1"]: 1.9.2.290,1"]: Not in due form: '[_][,]'.) - ["openssl-1.0.0_5"] (["openssl-1.0.0_5"]: 1.0.0_5"]: Not in due form: '[_][,]'.) - ["libyaml-0.1.4_1"] (["libyaml-0.1.4_1"]: 0.1.4_1"]: Not in due form: '[_][,]'.) - ["perl-5.8.9_5"] (["perl-5.8.9_5"]: 5.8.9_5"]: Not in due form: '[_][,]'.) - ["makedepend-1.0.3,1"] (["makedepend-1.0.3,1"]: 1.0.3,1"]: Not in due form: '[_][,]'.) - ["pkg-config-0.25_1"] (["pkg-config-0.25_1"]: 0.25_1"]: Not in due form: '[_][,]'.) - ["libiconv-1.13.1_1"] (["libiconv-1.13.1_1"]: 1.13.1_1"]: Not in due form: '[_][,]'.) - ["m4-1.4.16,1"] (["m4-1.4.16,1"]: 1.4.16,1"]: Not in due form: '[_][,]'.) - ["p5-Locale-gettext-1.05_3"] (["p5-Locale-gettext-1.05_3"]: 1.05_3"]: Not in due form: '[_][,]'.) (I think the ignored packages should have been reinstalled... however this was only a try at fixing the previous error). I also issued "portsdb -uU" *after* the portupgrade update, but to no avail. bye av. P.S. This is on 7.3/amd64 and 8.1/i386.