Package Management Confusion

yum --whatprovides /path/to/file

on Debian based distro

dpkg -S /path/to/file

Reinstall config files on Debian

cd /tmp
mkdir deb
cd deb
apt-get update
apt-get download package
dpkg -i --force-confmiss *.deb

This should be possible with apt, but out of the 3-4 examples I tried from Google, none actually reinstalled the config file.

Author: btk

Waste of Code

Comments on “Package Management Confusion”