file came from which package

Ulf Rompe ulf.buntu at rompe.org
Wed May 20 14:37:24 UTC 2009


Am Mittwoch, den 20.05.2009, 16:58 +0530 schrieb Kaushal Shriyan:
> is there a way to know which package the file /etc/samba/smb.conf file
> came from? for example
> I used apt-file as well as dpkg -S. not able to find it .

This file is created and maintained by the package hook scripts. To find
out about these things, you might try something like this:

fgrep -rl /etc/samba/smb.conf /var/lib/dpkg/info

[x] ulf
-- 
"Portability is for people who cannot write new programs."
  -- Linus Torvalds





More information about the ubuntu-users mailing list