Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 11:10:35 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Dr. Jennifer Nussbaum" <bg271828@yahoo.com>
Cc:        Gerard Seibert <gerard@seibercom.net>, FreeBSD-Questions <freebsd-questions@freebsd.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Various package/ports problems
Message-ID:  <20060904151035.GA36738@xor.obsecurity.org>
In-Reply-To: <20060904115208.78117.qmail@web53415.mail.yahoo.com>
References:  <20060904051701.GA11980@xor.obsecurity.org> <20060904115208.78117.qmail@web53415.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <kris@obsecurity.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060904151035.GA36738>