
21 Dec
2014
21 Dec
'14
9:16 a.m.
Arjen Lentz said...
Hi Allan
On 21 December 2014 4:55:06 PM AEST, Allan Duncan <amd2345@fastmail.com.au> 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}
In Debian all packages have all files listed in /var/lib/dpkg/info/ file names is whatever_package.list. The command "grep file_name *.list" within the above directory will bring up the file and the name of the package. Lindsay
3845
Age (days ago)
3845
Last active (days ago)
0 comments
1 participants
participants (1)
-
zlinw@mcmedia.com.au