On 21/12/14 18:03, Arjen Lentz wrote:


Hi Allan

On 21 December 2014 4:55:06 PM AEST, Allan Duncan <[email protected]> 
wrote:
I have a corrupt file and wish to find which package it belongs to.

In rpm I would do:
     rpm -qf <file name with full path>

What is the equivalent in dpkg etc?

dpkg -S {/path/to/file}


Regards,
Arjen.



I tried that but got no match.
The man page talks about not showing files created by maintainer scripts, which may be the case. The file I am chasing is:
/var/lib/dpkg/info/hicolor-icon-theme.postinst


_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to