dpkg -V好像和dpkg --verify是一样的,检查配置命令。
debsums检查的比较多。
root@srv17: ~ # dpkg -l | awk {'print $2'} | xargs | sudo debsums | grep -v 'OK'
/lib/x86_64-linux-gnu/libgcc_s.so.1 REPLACED
^G^[[5~/lib/modules/6.8.4-3-pve/modules.alias FAILED
/lib/modules/6.8.4-3-pve/modules.alias.bin FAILED
/lib/modules/6.8.4-3-pve/modules.dep FAILED
/lib/modules/6.8.4-3-pve/modules.dep.bin FAILED
/lib/modules/6.8.4-3-pve/modules.symbols FAILED
/lib/modules/6.8.4-3-pve/modules.symbols.bin FAILED
root@srv17: ~ # dpkg --verify
??5?????? c /etc/bash.bashrc
??5?????? /lib/modules/6.8.4-3-pve/modules.alias
??5?????? /lib/modules/6.8.4-3-pve/modules.alias.bin
??5?????? /lib/modules/6.8.4-3-pve/modules.dep
??5?????? /lib/modules/6.8.4-3-pve/modules.dep.bin
??5?????? /lib/modules/6.8.4-3-pve/modules.symbols
??5?????? /lib/modules/6.8.4-3-pve/modules.symbols.bin
??5?????? c /etc/ssh/ssh_config
??5?????? c /etc/lvm/lvm.conf
??5?????? c /etc/default/ntpdate
missing c /etc/initramfs/post-update.d/proxmox-boot-sync
??5?????? c /etc/grub.d/10_linux
??5?????? c /etc/grub.d/40_custom
??5?????? c /etc/apt/mirror.list
??5?????? c /etc/sudoers
??5?????? c /etc/bind/named.conf.options
??5?????? c /etc/sysctl.conf
??5?????? c /etc/issue
??5?????? c /etc/initramfs-tools/initramfs.conf
??5?????? c /etc/cryptsetup-initramfs/conf-hook
root@srv17: ~ # dpkg -V
??5?????? c /etc/bash.bashrc
??5?????? /lib/modules/6.8.4-3-pve/modules.alias
??5?????? /lib/modules/6.8.4-3-pve/modules.alias.bin
??5?????? /lib/modules/6.8.4-3-pve/modules.dep
??5?????? /lib/modules/6.8.4-3-pve/modules.dep.bin
??5?????? /lib/modules/6.8.4-3-pve/modules.symbols
??5?????? /lib/modules/6.8.4-3-pve/modules.symbols.bin
??5?????? c /etc/ssh/ssh_config
??5?????? c /etc/lvm/lvm.conf
??5?????? c /etc/default/ntpdate
missing c /etc/initramfs/post-update.d/proxmox-boot-sync
??5?????? c /etc/grub.d/10_linux
??5?????? c /etc/grub.d/40_custom
??5?????? c /etc/apt/mirror.list
??5?????? c /etc/sudoers
??5?????? c /etc/bind/named.conf.options
??5?????? c /etc/sysctl.conf
??5?????? c /etc/issue
??5?????? c /etc/initramfs-tools/initramfs.conf
??5?????? c /etc/cryptsetup-initramfs/conf-hook
【 在 oicu 的大作中提到: 】
: 将就一下?
: dpkg -V
: dpkg --verify
: ...................
--
FROM 223.73.3.*