Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 14:43:59 -0800
From:      Chip Camden <sterling@camdensoftware.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: can't find pkgng command
Message-ID:  <20130117224359.GI19645@libertas.local.camdensoftware.com>
In-Reply-To: <CA%2B7WWSesLEVcy8yDNCRyqyF3=2_uk2r1T58Z2-=gex8bJsQPmA@mail.gmail.com>
References:  <20728.1478.423219.871557@jerusalem.litteratus.org> <50F8061E.9030306@marino.st> <20130117190924.GC19645@libertas.local.camdensoftware.com> <CA%2B7WWSesLEVcy8yDNCRyqyF3=2_uk2r1T58Z2-=gex8bJsQPmA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--j+MD90OnwjQyWNYt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoth Kimmo Paasiala on Friday, 18 January 2013:
> On Thu, Jan 17, 2013 at 9:09 PM, Chip Camden
> <sterling@camdensoftware.com> wrote:
> > Quoth John Marino on Thursday, 17 January 2013:
> >> pkg which <filename>
> >>
> >> On 1/17/2013 15:08, Robert Huff wrote:
> >> >
> >> >     Under the old package system "pkg_info -W<filename>' would
> >> > tell me what port a file belonged to.
> >> >     Perhaps due to not enough sleep, I have read the man page twice
> >> > but am unable to construct an equivalent.  Will someone please help
> >> > me not have to re-invent the wheel?
> >> >
> >> >     Respectfully,
> >> >
> >> >
> >> >             Robert Huff
> >> >
> >> > _______________________________________________
> >> > freebsd-ports@freebsd.org mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> >> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.=
org"
> >> _______________________________________________
> >> freebsd-ports@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.or=
g"
> >
> > And if you (a) don't want to type in the full path or (b) want to make
> > sure that the file you execute actually does come from the port, you can
> > use a double-which.  E.g.,
> >
> > $ pkg which `which ruby`
> > /usr/local/bin/ruby was installed by package ruby-1.8.7.371,1
> >
> > while OTOH...
> >
> > $ pkg which `which clang`
> > /usr/bin/clang was not found in the database
> >
> >
> >
>=20
> That is expected, the base system (/bin /usr/bin etc.) is not included
> in the pkg database.
>=20
> -Kimmo

Yes, I know.  I was demonstrating how you could use the command to see
whether an executable came from a port, as well as which port.

--=20
=2EO. | Sterling (Chip) Camden      | http://camdensoftware.com
=2E.O | sterling@camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91              | http://chipstips.com

--j+MD90OnwjQyWNYt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iQEcBAEBAgAGBQJQ+H6vAAoJEIpckszW26+R3YsH/jSDLL0aHXoBDp0uTrE4AZ1Y
3t3WKi1xPjJaq4b6C+NwFwLWscdANfINJOJHJbsmo2bqSg8+59T1FCpHHnzupaXf
+T8v7IJ/0YGhLPJ9Uypg/6ZC76OtNpUrVLxe/s4ebZS9DSIJ6yoveY4f3oPInt2T
/rWjMZn83bNaHrH0AcyYAqs/haNr597UDfoB9ayPB3ghdJwr0hoxjxHYtJ2g/O/t
8fF8s5PX0oAi8RVa86nM8tQXKEk2S0unTLNILA87X3ucyRvI4utiYEd4MVOiQi0z
lJ0p1cwc73usUpT9dxuBrUkzTXn1AeZ0iD/j1/OGina6RfCchCjf4N/FEzKydzM=
=Xe5i
-----END PGP SIGNATURE-----

--j+MD90OnwjQyWNYt--



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