From owner-freebsd-ruby@FreeBSD.ORG Fri Nov 12 09:46:52 2010 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80C3C106564A for ; Fri, 12 Nov 2010 09:46:52 +0000 (UTC) (envelope-from wtp@bsdserwis.com) Received: from cmd.bsdserwis.com (ns37332.ovh.net [91.121.4.86]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDD28FC16 for ; Fri, 12 Nov 2010 09:46:52 +0000 (UTC) Received: by cmd.bsdserwis.com (Postfix, from userid 1000) id 0B9062CA1853; Fri, 12 Nov 2010 10:30:08 +0100 (CET) Date: Fri, 12 Nov 2010 10:30:08 +0100 From: Krzysztof Stryjek To: ruby@freebsd.org Message-ID: <20101112093008.GW81788@cmd.bsdserwis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Organization: wtps0n, private, Poland WWW-Home-Page: http://prv.wtp3.org/ X-PGP-Fingerprint: 8BD7 40CE 8994 0BBE CE6C 91CD 1292 8959 DC61 0E76 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Last problems with portupgrade X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 09:46:52 -0000 Hello, I'm out of list, so please forgive me if I'll repeat problem report. Last update of portupgrade scripts changed scripts execution. I saw that ruby is called via /usr/bin/env, so executing portupgrade, portsdb, portversion via periodic finishes with error message: env: ruby: No such file or directory. Of course I can add /usr/local/(s)bin to /etc/crontab (PATH), but I'm not sure that's good idea. The second problem (tested on 6.x, 7.x, 8.x) is that portupgrade crashes. Here part of portupgrade log: ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'xz-4.999.9_1' ---> Preserving /usr/local/lib/liblzma.so.0 as /usr/local/lib/compat/pkg/liblzma.so.0 ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! xz-4.999.9_1 (undefined method `nil' for "":String) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! archivers/xz (xz-4.999.9_1) (uninstall error) Is it problem with my pkgtools.conf? I've missed sht else? Thanks a lot for your answer, patient and time. Greetings, -- Krzysztof Stryjek UNIX administrator/Juniper Networks Specialist email: wtp (at) bsdserwis (dot) com http://www.linkedin.com/in/KrzysztofStryjek GPG fingerprint: 8BD7 40CE 8994 0BBE CE6C 91CD 1292 8959 DC61 0E76 In theory, there is no difference between theory and practice. In practice, there is.