file came from which package
sktsee
sktsee at tulsaconnect.com
Wed May 20 14:02:01 UTC 2009
On Wed, 2009-05-20 at 18:49 +0530, Kaushal Shriyan wrote:
[snip]
>
>
> Hi,
>
> when i do sudo dpkg -S /etc/samba/smb.conf, i get
> dpkg: /etc/samba/smb.conf not found. also when i do sudo apt-file
> search /etc/samba/smb.conf, it returns nothing
>
It belongs to the samba-common package. Some packages create their
configuration files as part of their post-installation process. Grep
around in /var/lib/dpkg/info for clues about which packages handles a
particular conf file.
For instance, grep -l smb.conf /var/lib/dpkg/info/* reveals the
following files that have something to do with smb.conf on my system:
/var/lib/dpkg/info/nautilus-share.list
/var/lib/dpkg/info/nautilus-share.md5sums
/var/lib/dpkg/info/samba-common.config
/var/lib/dpkg/info/samba-common.list
/var/lib/dpkg/info/samba-common.md5sums
/var/lib/dpkg/info/samba-common.postinst
/var/lib/dpkg/info/samba-common.postrm
/var/lib/dpkg/info/samba-common.templates
--
sktsee
More information about the ubuntu-users
mailing list