Verify installed packages (*.rpm | *.deb)


Is there a way to verify all installed virtualmin packages without upsetting a typical installation?

For example, in rpm-based systems you could do:
rpm -Va
to verify all installed packages. On debian-based systems, you can use
sudo debsums -c
sudo debsums_init
to check for changed files or re-install and verify all packages.

The question is, because virtualmin, webmin etc installs custom versions of typical server packages, is it a risk to run an automated re-install like this?



Virtualmin primarily uses packages provided by your distro, though in a handful of cases, will provide packages from the repo.

However, that’s a normal repository, and is setup for use by yum/apt.

It should be no problem to verify the packages as you normally would.