On 02/28/11 08:11 AM, Gary Pennington wrote:
>  Hi,
> 
> I would expect pkg search to tell me which package delivered the perl binary, 
> but:
> 
> file exists:
> 
> bash-4.1$ ls -l /usr/perl5/bin/perl
> -r-xr-xr-x   2 root     bin        18756 Feb 28  2011 /usr/perl5/bin/perl

That's not the real path to it though:

lrwxrwxrwx   1 root     root          11 Feb 18  2010 /usr/perl5/bin -> 
./5.8.4/bin/

% readlink -f /usr/perl5/bin/perl
/usr/perl5/5.8.4/bin/perl

% pkg search -l '</usr/perl5/5.8.4/bin/perl>'
PACKAGE                           PUBLISHER
pkg:/runtime/[email protected]

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to