[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg -S inadequacies



"Thomas J. Hamman" <hawk3@eagnet.com> writes:

> On Thu, Apr 26, 2001 at 12:11:10PM -0400, Alan Shutko wrote:
>  
> > The RPM thing is nice because you can find out what package matches an
> > exact file, and not get any extraneous results.
> 
> You mean like this?
> 
> hawk3:~$ dpkg -S /usr/X11R6/bin/mkfontdir
> xutils: /usr/X11R6/bin/mkfontdir

That will also match /tmp/whatever/usr/X11R6/bin/mkfontdir.  Ok,
that's a rare case, but possible.

> The real question here is why the heck are binaries that already exist
> somewhere else (usually /usr/X11R6/bin) copied into /usr/bin/X11.

They aren't.

[22:02:39] wesley:~ $ ls -l /usr/bin/X11
lrwxrwxrwx    1 root     root           12 Mar 30 17:19 /usr/bin/X11 -> ../X11R6/bin

Symlink for historical reasons.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
New systems generate new problems.



Reply to: