Re: finding a package name given a filename
Nuno Carvalho <nemanuel@student.dei.uc.pt> writes:
> > Is it possible, given a filename -- say: 'as86' -- to find the package
> > from which it has been extracted ?
>
> dpkg --search as86
Thanks for your answer but your suggestion doesn't match my question :
=-=-=-=
[titine]:~/$ dpkg --search as86
bin86: /usr/doc/bin86/examples/as86_encap
bin86: /usr/man/man1/as86.1.gz
bin86: /usr/bin/as86
=-=-=-=
What i want to get is something like :
=-=-=-=
[titine]:~/$ dpkg --fromwhich '/usr/bin/xemacs'
would give :
/usr/bin/xemacs: xemacs20-bin
=-=-=-=
So, given a file, obtain the _package_ (the opposite of --contents, in
fact...)
--
-----------------------------------------------------------------------
Éric Jacoboni « J'ai épuisé le tout-venant, je vais me risquer dans
le bizarre » (M. Audiard)
-----------------------------------------------------------------------
Reply to: