#1016143 dpkg: --audit could report more errors, especially those reported elsewhere already

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Thorsten Glaser
Date:
2026-10-19 22:51:03 UTC
Severity:
normal
Tags:
#1016143#5
Date:
2022-07-27 22:06:14 UTC
From:
To:
I had a filesystem corruption (had to run e2fsck -D for some reason, the
filesystem was otherwise intact, fresh install) that resulted in…

dpkg: unrecoverable fatal error, aborting:
 files list file for package 'libv4l-0:amd64' is missing final newline

… during an apt-get --purge dist-upgrade (which only updated firefox
and linux) or rather preventing it.

This was not spotted by dpkg --audit, which I had run after the fsck.
It probably can easily be added there?

#1016143#10
Date:
2026-10-19 10:09:59 UTC
From:
To:
Hi!

Bug #1016143 in package dpkg reported by you has been fixed in
the dpkg/dpkg.git Git repository. You can see the changelog below, and
you can check the diff of the fix at:

https://git.dpkg.org/cgit/dpkg/dpkg.git/diff/?id=d500c7e8b
---
dpkg: Add support for auditing the database contents

We should load all the databases so that we can trigger their parsing,
to be able to report errors.

Closes: #1016143

#1016143#17
Date:
2026-10-19 16:45:12 UTC
From:
To:
Hi,

thanks!

This looks small enough it could even make it into a stable update,
for reliability and checking before upgrading…

bye,
//mirabilos

#1016143#22
Date:
2026-10-19 22:20:57 UTC
From:
To:
Hi!

Looks can be deceiving! :) I don't think this would be backport material
by itself anyway, but as it stands this specific change depends on at
least commits:

  (3e4201221251cea7f0e800c08a054a90a61e84ff)
  8b3db7da26886d6cc44d2eaa7903663b5407e53a
  c9cadadb6192daf589bdba93b409f1f33bd4895f
  7f68f0e0f26ff451e0352e3c4bd71abde80e8c38

Thanks,
Guillem

#1016143#27
Date:
2026-10-19 22:49:50 UTC
From:
To:
Ah, that was not obvious from the eMail. Pity.

Thanks anyway,
//mirabilos