Force install function in PKGNG
m.seaman at infracaninophile.co.uk
Thu Jan 30 21:49:26 UTC 2014
On 30/01/2014 11:17, James Griffin wrote:
> On 2014-01-29, Kenneth Hatteland <kenneth.hatteland at kleppnett.no> 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 will
>> get the correct PPDs to show up in CUPS.
>> After swithcing to pkgng it does not seem to exist a force option so
>> I have to do all my prints on another machine, which is slightly
>> annoying. I have read man pages and googled but can not seem to find a
>> force funtion. Does anybody know about one or have a better way of
>> making the right PPDs install to get my printer going ? Having only
>> HPLIP, or HPIJS installed does not make this possible.
>> Thanks in advance, Kenneth Hatteland
> 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.
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.
Dr Matthew J Seaman MA, D.Phil.
JID: matthew at infracaninophile.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1036 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions