From owner-freebsd-questions@FreeBSD.ORG Mon Sep 4 21:00:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B44CD16A4DE for ; Mon, 4 Sep 2006 21:00:22 +0000 (UTC) (envelope-from bg271828@yahoo.com) Received: from web53408.mail.yahoo.com (web53408.mail.yahoo.com [206.190.37.55]) by mx1.FreeBSD.org (Postfix) with SMTP id A863243D4C for ; Mon, 4 Sep 2006 21:00:21 +0000 (GMT) (envelope-from bg271828@yahoo.com) Received: (qmail 18321 invoked by uid 60001); 4 Sep 2006 21:00:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MxZlcsL+rZwcVcotpBgcS4W5rLJOGoLoQQuV93gHAWjnuuSW5OvX3uIpzpUGfvXJSohLo53rH2EhV31arakvBLhVzyP/0rWzbjGqVGqbPFctnkyHZkpW9Z2dzkYxKNxyUE8HFbs0zz9hu/QxN3vK7ZrHdtbguKCsIjuyeWLoyFA= ; Message-ID: <20060904210020.18319.qmail@web53408.mail.yahoo.com> Received: from [166.84.1.2] by web53408.mail.yahoo.com via HTTP; Mon, 04 Sep 2006 14:00:20 PDT Date: Mon, 4 Sep 2006 14:00:20 -0700 (PDT) From: "Dr. Jennifer Nussbaum" To: Kris Kennaway In-Reply-To: <20060904151035.GA36738@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD-Questions , Kris Kennaway Subject: Re: Various package/ports problems 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: Mon, 04 Sep 2006 21:00:22 -0000 Kris Kennaway wrote: On Mon, Sep 04, 2006 at 04:52:08AM -0700, Dr. Jennifer Nussbaum wrote: > > For example if i try to run "portversion" i get: > > > > undefined method `each' for nil:NilClass > > /usr/local/sbin/portversion:239: [BUG] Bus Error > > > > from Ruby (ruby 1.8.5 is up to date on the system). > > :> pkgdb -f > > ~ $ sudo pkgdb -f > ~ $ portversion > undefined method `each' for nil:NilClass > /usr/local/sbin/portversion:239: [BUG] Bus Error > ruby 1.8.5 (2006-08-25) [i386-freebsd4] > > Abort trap (core dumped) > ~ $ ::>Check the manpage, probably I meant pkgdb -fu Sorry, i dont understand what im checking hte manpage to have it do. Running pkgdb -fu does rebuild the package database, but i get the same Bus Error thing from Ruby as above. > > If i try to run "pkg_info" I quickly get: > > > > pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*' > > :> Deinstall the package that was built for a later version of > :> FreeBSD. > > KrisHow do i tell which this is? Most of this box seems to be compiled > from ports, not installed packages. apache+ipv6 is not installed. > > ~ $ pkg_info > ImageMagick-nox11-6.0.2.7 Image processing tools > analog-6.0_1,1 An extremely fast program for analysing WWW logfiles > pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*' > ~ ::>grep -r @conflicts /var/db/pkg and remove all listed packages. Kris Which listed packages? The output of this grep looks like: /var/db/pkg/mysql-server-4.1.20/+CONTENTS:@conflicts mysql-server-3.* /var/db/pkg/mysql-server-4.1.20/+CONTENTS:@conflicts mysql-server-4.[02-9].* /var/db/pkg/mysql-server-4.1.20/+CONTENTS:@conflicts mysql-server-5.* But i dont want to remove mysql-server-4.1.20, because this seems to be the version that is actively running on this machine, and i dont want to disable it. Same for apache+mod_ssl, which accounts for alot of the other conflicts. Also, when i try to delete one of the ports that seemed less critical, even that didnt work: ~ $ sudo pkg_delete -f jade-1.2.1_9 pkg_delete: package 'jade-1.2.1_9' is required by these other packages and may not be deinstalled (but I'll delete it anyway): sgmlformat-1.7_2 pkg_delete: read_plist: bad command '@conflicts sp-1.*' ~ ...and jade-1.2.1_9 is still there. Thank you again for your continued attention, Kris. Jen __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com