is there something similar to rpm --verify with dpkg-query ?

Keith keith at caramail.com
Mon Nov 15 18:04:26 UTC 2021


On 11/15/21 9:30 AM, Lentes, Bernd wrote:
> Hi,
>
> i'm more used to Suse, so i need to ask there.
> With rpm --verify you have the possibility to check if attributes of the files (permissions, timestamps) have been changed after the installation.
> --verify compares the installed files with the metadata from the package an shows any difference.
>
> Is there something similar with dpkg-query ? I checked already the manpages but didn't find anything.
>
> Thanks.
>
> Bernd
>
>

$ dpkg --verify <packagename>

or for the entire package database

$ dpkg --verify

Package verification is pretty anemic since only md5 sums of individual
package files are checked, and that's only if the package includes a
file containing a list of filenames and their md5 values.

--
Keith




More information about the ubuntu-users mailing list