From owner-freebsd-questions@FreeBSD.ORG Mon Sep 4 15:10:42 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 471E816A4E2 for ; Mon, 4 Sep 2006 15:10:42 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AD2943D5E for ; Mon, 4 Sep 2006 15:10:36 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 278A81A4D9E; Mon, 4 Sep 2006 08:10:36 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A0E3E515F1; Mon, 4 Sep 2006 11:10:35 -0400 (EDT) Date: Mon, 4 Sep 2006 11:10:35 -0400 From: Kris Kennaway To: "Dr. Jennifer Nussbaum" Message-ID: <20060904151035.GA36738@xor.obsecurity.org> References: <20060904051701.GA11980@xor.obsecurity.org> <20060904115208.78117.qmail@web53415.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20060904115208.78117.qmail@web53415.mail.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: Gerard Seibert , 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 15:10:42 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 04, 2006 at 04:52:08AM -0700, Dr. Jennifer Nussbaum wrote: > Kris Kennaway wrote: On Sun, Sep 03, 2006 at 06:31:= 18PM -0700, Dr. Jennifer Nussbaum wrote: > > Kris Kennaway wrote: On Sun, Sep 03, 2006 at 05:58:36PM -0700, Dr. Jen= nifer Nussbaum wrote: > > > Kris Kennaway wrote: On Mon, Aug 28, 2006 at 01:59:14PM -0700, Dr. J= ennifer Nussbaum wrote: > > >=20 > > >> Thanks, i CAN compile from the ports collection (i never wanted to u= se > > >> packages). Its MANAGING this that i cant do. I can update my ports = tree > > >> fine, and i can go into ports directory and do a make install, sure. > > >>=20 > > >> But i cant do portsversion to see what needs updating, and i cant do > > >> pkg_info to find out what versions i have. So doing something like > >=20 > > >Why not (in both cases)?As i posted in the original message - the main= question i was > > asking - both of these are broken in some way. Reposting: > >=20 > > --- > >=20 > > For example if i try to run "portversion" i get: > >=20 > > undefined method `each' for nil:NilClass > > /usr/local/sbin/portversion:239: [BUG] Bus Error > >=20 > > from Ruby (ruby 1.8.5 is up to date on the system). >=20 > :> pkgdb -f >=20 > ~ $ 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] >=20 > Abort trap (core dumped) > ~ $ Check the manpage, probably I meant pkgdb -fu > > If i try to run "pkg_info" I quickly get: > >=20 > > pkg_info: read_plist: bad command '@conflicts apache+ipv6-1.*' >=20 > :> Deinstall the package that was built for a later version of=20 > :> FreeBSD. >=20 > 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. >=20 > ~ $ 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.*' > ~ >=20 > I rebuilt analog from ports but that doesnt seem to be it. grep -r @conflicts /var/db/pkg and remove all listed packages. Kris --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE/EHrWry0BWjoQKURApGhAJ93qYnUWNwt88dACuyJrX15jzqRYwCfanpJ 676IfbXHM0aB2OJBVeQ0Yrg= =VjuH -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--