From owner-freebsd-ports@FreeBSD.ORG Sat Apr 12 16:41:42 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30B37BF9 for ; Sat, 12 Apr 2014 16:41:42 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B90A81831 for ; Sat, 12 Apr 2014 16:41:41 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1WZ0zr-002U79-QC>; Sat, 12 Apr 2014 18:41:39 +0200 Received: from g225191068.adsl.alicedsl.de ([92.225.191.68] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1WZ0zr-003y49-LC>; Sat, 12 Apr 2014 18:41:39 +0200 Date: Sat, 12 Apr 2014 18:41:39 +0200 From: "O. Hartmann" To: Lars Engels Subject: Re: pkg add: howto force the installation of a binary package? Message-ID: <20140412184139.61636e4e.ohartman@zedat.fu-berlin.de> In-Reply-To: <20140412160144.GC37706@e-new.0x20.net> References: <20140412172412.593431d8.ohartman@zedat.fu-berlin.de> <20140412160144.GC37706@e-new.0x20.net> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/CukU+Rp5=4uK5tRnXi++jGt"; protocol="application/pgp-signature" X-Originating-IP: 92.225.191.68 X-ZEDAT-Hint: A Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2014 16:41:42 -0000 --Sig_/CukU+Rp5=4uK5tRnXi++jGt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 12 Apr 2014 18:01:44 +0200 Lars Engels wrote: > On Sat, Apr 12, 2014 at 05:24:12PM +0200, O. Hartmann wrote: > >=20 > > Since this ever-fragile FreeBSD port editors/libreoffice fails on 11-CU= RRENT and > > 9.2-STABLE to compile (it fails on fours systems running the named flav= ours of OS), I > > try to install the binary package via pkg add. But, very funny, I recei= ve always the > > error: > >=20 > > pkg: Missing dependency matching Origin: 'net/openldap24-client' Versio= n: '2.4.39' > >=20 > > The port in question is already installed, but I have=20 > >=20 > > pkg info -ox openldap > > openldap-sasl-client-2.4.39 net/openldap24-sasl-client > >=20 > > This is fun. I tried to find the magical "force" knob in pkg-add to ove= rride such > > (insane) restrictions, but I didn't find any. > >=20 > > Is there a regular way to install the port by force without checking fo= r the > > dependency? It seems that pkgng allows only installations of ports that= do not dare > > to have different options than the standard defined in the binary packa= ge > > expectations? > >=20 > > Thanks in advance for your suggestions, > >=20 > > Oliver > >=20 > > P.S. Please CC me. >=20 > From pkg-add(8) >=20 > -M Force the installation of the package with missing dependencies. >=20 root@thor: [All] pkg add -M libreoffice-4.1.5_1.txz pkg: illegal option -- M Usage: pkg add [-IAfq] ... pkg add [-IAfq] :/// ... For more information see 'pkg help add'. root@thor: [All] pkg info pkg pkg-1.2.7_2 Name : pkg Version : 1.2.7_2 Installed on : Sat Apr 12 18:40:02 CEST 2014 Origin : ports-mgmt/pkg Architecture : freebsd:11:x86:64 Prefix : /usr/local Categories : ports-mgmt Licenses : BSD2CLAUSE Maintainer : portmgr@FreeBSD.org WWW : http://wiki.freebsd.org/pkgng Comment : Package manager Shared Libs required: libpkg.so.1 Shared Libs provided: libpkg.so.1 Flat size : 9.55MiB Description : Package management tool WWW: http://wiki.freebsd.org/pkgng --Sig_/CukU+Rp5=4uK5tRnXi++jGt Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTSWzDAAoJEOgBcD7A/5N8H9cH/0kl44zPqj6aGe49XeF6RyV2 el5yC6vY/gINRNpQ3y+UxEbO4tUDqjW4gbp5VtHuD3n4Pp7uXMFRR9ypGmBXH5+Z gWCLpF//Z7G2gnwpgkeTJO0TauP7aPX8ogOK2mwnFuoOTEJ4Co+sYQsINs0S8pDV b22N/0yxKz7XQazpgCTIcV4QafFpTw1i6WK3wjC6AB2E277kD4V9dPoY9lqtzGAm 7sKT2wt3WcLV4oMmHxe7NWWW/kDxfMG4q/WY425Ws5ayv3V5qrEEL5dHMOOIfqYQ DIg8erR3E0gsAy3IzhDnZ1c5ZXYNEZjxmJ6ZIzTKfqf3h7U8cCio7BQ45DlA670= =5M7P -----END PGP SIGNATURE----- --Sig_/CukU+Rp5=4uK5tRnXi++jGt--