[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: odd result for sudo dpkg -V



Hi,

El Sun, Nov 07, 2021 at 03:54:50PM -0500, Gene Heskett escribio:
> On Sunday 07 November 2021 03:19:09 deloptes wrote:
> 
> > > Note that I as the OP was using dpkg -V, not --verify. Might their
> > > be a difference?
> > >
> > > Cheers, Gene Heskett.
> >
> > Gene always check the -h vs --help or man page
> >
> > dpkg --help
> >   -V|--verify [<package>...]       Verify the integrity of package(s).
> >
> > package is optional and if not provided would check all packages
> > installed but it seems this is broken
> >
> > BR
> 
> well, I'm getting an almost sensible listing from the wintel boxes, 
> although the attributes reported are garbage in all cases of an error. 
> an ls -l shows the attributes correctly.

Please, read the manual.

The reported codes are not the file attributes, those are the status of the
performed checks. DPKG only has support for verifying the MD5, so the result
is always "??.??????" for a passed check and "??5??????" for a failed check.

And the reported failed checks on Armbian are because the "armbian-config"
package modifies configuration files of other packages.

Here, in a minimal Armbian install, I got:

??5?????? c /etc/skel/.bashrc
??5?????? c /etc/logrotate.d/apt
??5?????? c /etc/systemd/journald.conf
??5?????? c /etc/NetworkManager/NetworkManager.conf
??5?????? c /etc/default/rng-tools-debian
??5?????? c /etc/logrotate.d/alternatives
??5?????? c /etc/logrotate.d/dpkg
??5?????? c /etc/logrotate.d/aptitude
??5?????? c /etc/sysctl.conf
??5?????? c /etc/logcheck/violations.ignore.d/rng-tools
??5?????? c /etc/logcheck/ignore.d.server/rng-tools
??5?????? c /etc/default/rng-tools
??5??????   /etc/armbian-release
??5??????   /etc/default/armbian-ramlog.dpkg-dist
??5??????   /etc/default/armbian-zram-config.dpkg-dist
??5?????? c /etc/issue
??5?????? c /etc/issue.net
??5?????? c /etc/update-motd.d/10-uname
??5?????? c /etc/initramfs-tools/initramfs.conf
??5?????? c /etc/lightdm/lightdm-gtk-greeter.conf

As you see, all are configuration files modified by Armbian.

In the same hardware, a SID install reports all checks OK.

Have Fun!


Reply to: