From owner-freebsd-questions@FreeBSD.ORG Thu Jan 30 21:49:26 2014 Return-Path: Delivered-To: freebsd-questions@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 0E0C7BEF for ; Thu, 30 Jan 2014 21:49:26 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A66B41959 for ; Thu, 30 Jan 2014 21:49:25 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s0ULnInV057921 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 30 Jan 2014 21:49:19 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s0ULnInV057921 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1391118559; bh=rmrG+1hWlam2Xr2Wb7frmVkdFD1yLbjmwNQRjKGieGM=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Thu,=2030=20Jan=202014=2021:49:10=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20Force=20install=20function=20in=2 0PKGNG|References:=20=20<52E9213D.7030707@kleppnett.no>=20|In-Reply-To:=20; b=KCLEIwLdd+f/q3mkiwBqY6Qw3BZxPykqXaTq4NK+1gMLaDK2aohttaQ9+EPlDncec 3NH2G/+aAZlEJj4N47yPsUCM0542gAyJ4Qag2uqcbg+88Bf4OnVsLwNUiKJNEk6ypL ltdcKVj+ssqPluhynrb0j7P1HSVVJwKZtfw19y10= Message-ID: <52EAC8D6.6020805@infracaninophile.co.uk> Date: Thu, 30 Jan 2014 21:49:10 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Force install function in PKGNG References: <52E9213D.7030707@kleppnett.no> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="utfFwSPGwLu8hMATruoqDgxwH5hjtLFbE" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DCC_CHECK,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 21:49:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --utfFwSPGwLu8hMATruoqDgxwH5hjtLFbE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 30/01/2014 11:17, James Griffin wrote: > On 2014-01-29, Kenneth Hatteland wrote= : >> My system always have had problems getting my HP cp1515n to work. But = >> installing HPLIP from ports, then installing HPIJS with pkg_add -rf wi= ll=20 >> get the correct PPDs to show up in CUPS. >> >> After swithcing to pkgng it does not seem to exist a force option so= =20 >> I have to do all my prints on another machine, which is slightly=20 >> annoying. I have read man pages and googled but can not seem to find a= =20 >> force funtion. Does anybody know about one or have a better way of=20 >> making the right PPDs install to get my printer going ? Having only=20 >> HPLIP, or HPIJS installed does not make this possible. >> >> Thanks in advance, Kenneth Hatteland >=20 > Have a look at the pkg-add(8) man page. Specifically, the -f option. > This provides the force function you need I believe. Or you might be > able to build it as a port to get it installed.=20 pkg-add is used when you have downloaded a pkg tarball manually. Virtually always you probably want to use pkg-install -- as this will handle automatically fetching the package and any dependencies from a repository. pkg-install understands '-f' to force installation. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --utfFwSPGwLu8hMATruoqDgxwH5hjtLFbE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJS6sjeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATBiAP/35NnPIMkKLa+phJKZ+W/Orf SMTIDKoycRfeai1QOoa8pzsVsnWEKtNWa1H4Zo0Pu8OGTvem441inBzKVidhJmyB cfYw4n20aIL9ZPQ+7VJLn40t5k9vlU3aivRi5TEMlxMl40tl5Ib8T/68iGeMMLm7 B2Y3ne5B8zy5MhBdWlmzP2xjfGhuQ+dmGOisYvYWeJzOlNxGrGn9srR24FJ2soxb s15d9up5uTOvImjuCDACQ6J+Sd7tpjTF8B1XOHAtrq3EHQybTWX8cksYkoNP6VVs 6/jEC3Qw/7ytf1F+D6uXmn37rII7RYVcTX9fAMrXlN8UeF8DzCGmN/pVj9Ros16y nlmtrFHvFoBt3uWnMv/yjZvW8O7EC/CZu9pNK7JBVjN2YUBgcOBBw5k/XjRkRiUf mbktiAtlfSE35MJB8Lgqen5ijBKmaSwvAfBSIzWZkX0frfVgb6EmAVq3lSWJ7Jrt UvdG4RK0vAEHRSLnnMrDpmdUQa4RioH0Xfxx1rfXKoR0yActb8SZVjNGU6sZD1l+ PiReqwUxURNrB7KKDRCAUiUtcnDwuhPMefjuEfrCj36jgjvRLg58ewYSFSqD0sWu 4FFzxsR6MGmCJcklj8Xrs+U0UiAquFnUxh3k9nq8CJ7Qf2JkFysLs1C3NzUOKxR5 EBMMTiUuZp44qCaNI1xk =lcsv -----END PGP SIGNATURE----- --utfFwSPGwLu8hMATruoqDgxwH5hjtLFbE--