Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2003 10:13:14 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Thomas Hancock <tom@saguaromail.com>
Cc:        portmgr@freebsd.org
Subject:   Re: port installs fail: pkg_info -- O
Message-ID:  <20031208181314.GA49494@xor.obsecurity.org>
In-Reply-To: <002801c3bcfa$3be47660$d921b83f@home>
References:  <002801c3bcfa$3be47660$d921b83f@home>

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

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 07, 2003 at 12:42:20PM -0700, Thomas Hancock wrote:
> Wanted to ask a quick FreeBSD question.  All my port installs fail like t=
his:
>=20
> [root@vs146 /usr/ports/category_name/port_name]# make install
> <Finds the dependencies and runs most of the install with no problem>
> =3D=3D=3D>  Checking if category_name/port_name already installed
> pkg_info: illegal option -- O
> usage: pkg_info [-cdDfGiIkLmopqrRsvVx] [-e package] [-l prefix]
>                 [-t template] [-W filename] [pkg-name ...]
>        pkg_info -a [flags]
> *** Error code 1
> Stop in /usr/ports/category_name/port_name.
>=20
> This article seems to address the subject and suggests running FreeBSD 4.=
7 or later (I'm running 4.8-release though)
> http://news.gw.com/freebsd.questions/148464


>=20
> It looks as though the "-- O" option after pkg_info simply doesn't exist,=
 but was entered in the script anyway.
> The system can't interpret "-- O", so it treats it as an error and quits
> Any recommendations would be much appreciated.

4.7 indeed has pkg_info -O.  Check your path, and verify that you have actu=
ally upgraded your system completely.

kris

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/1L85Wry0BWjoQKURAiWnAKCAXQyWQ+O9yAyP4xTUElcJZ1TuOwCfbvxp
sWc05uhm2EVFvRhm9H7qdbY=
=PmZZ
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--



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