From owner-freebsd-ports@FreeBSD.ORG Sun Jul 10 17:08:02 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3EF616A41C; Sun, 10 Jul 2005 17:08:02 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B6743D45; Sun, 10 Jul 2005 17:07:59 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 654F511481; Sun, 10 Jul 2005 19:08:55 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63034-05; Sun, 10 Jul 2005 19:08:47 +0200 (CEST) Received: from [192.168.42.7] (amnesia.xbsd.org [192.168.42.7]) by smtp.xbsd.org (Postfix) with ESMTP id F2B6E11680; Sun, 10 Jul 2005 19:08:46 +0200 (CEST) Message-ID: <42D155DF.6070804@xbsd.org> Date: Sun, 10 Jul 2005 19:07:43 +0200 From: Florent Thoumie User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock References: <20050710075639.M7640@net.pku.edu.cn> <200507101355.44617.lofi@freebsd.org> In-Reply-To: <200507101355.44617.lofi@freebsd.org> X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7845E8AEF1F35CEFAF97AE06" X-Virus-Scanned: amavisd-new at xbsd.org Cc: zhoumin , freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: libgnugetopt-1.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 17:08:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7845E8AEF1F35CEFAF97AE06 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Michael Nottebrock wrote: > On Sunday, 10. July 2005 10:00, zhoumin wrote: > >> Hi,my name is zhoumin.when I installed libgnugetopt-1.2 on FreeBSD 4.7 I >>am getting one error : >> pkg_add: read_plist: bad command '@conflicts freelibiberty-*' >> Then I intalled the sysutils/pkg_install port according to your >>suggestion mentioned in a letter.But the error still exist.Do you know what >>I can do ? > > > You need to make sure you're actually using the pkg_add from the pkg_install > port - i.e., you have to run /usr/local/sbin/pkg_add - just typing pkg_add > will still run /usr/sbin/pkg_add, which is the outdated version that ships > with FreeBSD 4.7. > > Alternatively, you can > delete /usr/sbin/pkg_add, /usr/sbin/pkg_create, /usr/sbin/pkg_delete, /usr/sbin/pkg_info > and /usr/sbin/pkg_version - this will leave only the new versions of those > utilities in your path and you can run pkg_* again without any path > prepended. I'd add a suffix (e.g. .old) instead of removing them. This could cause problems when trying to upgrade sysutils/pkg_install I think. Btw, FreeBSD 4.7 is unsupported and upgrading could be a good idea (at least to a recent version of 4.x). -- Florent Thoumie flz@xbsd.org --------------enig7845E8AEF1F35CEFAF97AE06 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC0VXlMxEkbVFH3PQRApyWAJ474fbPRaAF1GzN0XEL7EZ0RrTwMQCfV825 B2Hy2hKYyt4fpHWXACYN69o= =gLeO -----END PGP SIGNATURE----- --------------enig7845E8AEF1F35CEFAF97AE06--