Common uses for dpkg.
List which package owns a file:
dpkg --search /path/to/file
List the files that are in a package
dpkg --listfiles packagename