Is everything okay?
$ sudo dpkg --verify
[sudo] password for *******:
??5?????? c /etc/bash.bashrc
??5?????? c /etc/gdm3/custom.conf
??5?????? c /etc/sysctl.conf
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/btcoexist.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192de/rtl8192de.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/rtl8192ee.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192se/rtl8192se.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rtl8723ae.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723com/rtl8723-common.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
??5?????? /lib/modules/4.15.0-46-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
??5?????? c /etc/apparmor.d/usr.bin.webbrowser-app
??5?????? c /etc/X11/Xsession.d/99upstart
??5?????? c /etc/X11/Xsession.d/00upstart
??5?????? c /etc/xdg/autostart/print-applet.desktop
??5?????? /lib/firmware/rtlwifi/rtl8192eefw.bin
??5?????? /lib/firmware/rtlwifi/rtl8821aefw.bin
??5?????? /lib/firmware/rtlwifi/rtl8822befw.bin
??5?????? /usr/share/gnome-mahjongg/themes/postmodern.svg
From manpage of
dpkg
:Since you haven't provided any package name, it will check all files' md5sum against the values stored in file database. This might take a very long time. So, its better to run it with some specific package name at a time.
The output here is because of some errors.
?
indicated that file can't be checked because of permissionsc
denoted that this is a configuration file5
means verification failedsudo dkpg --verify
will check integrity of your installed files. When you run this command, you will see, which files were changed after install. These are typically configuration files. Take a look at the changed files and check if they are OK.I regularly use RPM's commands
rpm -Va
andrpm -qa
, which do similar checking on some servers that are connected to internet. In this way, I monitor if any files would be changed from outside, or if any new packets have been installed, which would mean security breach or uninvited guests on my servers. Of course, this checks are not enough, but are one step of protection, that can be done. The verify commnad might take a while, but in my experience it is not so long - a few minutes.