Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2014 18:41:39 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Lars Engels <lars.engels@0x20.net>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <lars.engels@0x20.net> 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-name> ...
       pkg add [-IAfq] <protocol>://<path>/<pkg-name> ...

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--



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