Hi!

On Sun, 2022-05-29 at 09:07:25 +0300, Martin-Éric Racine wrote:
> Package: dpkg
> Version: 1.21.8
> Severity: normal

> On a host running Testing, I got the message below this morning:
> 
> Unpacking dpkg (1.21.8) over (1.21.7) ...
> Setting up dpkg (1.21.8) ...
> dpkg: warning: unknown dpkg database file /var/lib/dpkg/format is not a 
> misplaced alternative state... leaving as is
> dpkg-db-backup.service is a disabled or a static unit not running, not 
> starting it.

> No amount of googling told me what the line about /var/lib/dpkg/format
> means or whether this is something to worry about. This probably needs
> to be documented, especially if it's expected to appear during an
> upgrade from Bullseye to Bookworm.

This file is really not supposed to be there, and was not the target
of that check, which was added to fix a very short-lived mess up with
dpkg 1.21.0, so it should not affect bullseye users, but might catch
this kind of unrelated breakage, so I'm considering keeping the check
part (not the u-a fixing part) and integrating it properly into
«dpkg --audit» or similar.

The only format file expected to be present in the dpkg db is
/var/lib/dpkg/info/format, but certainly not on the db root. What are
the contents for that file?

Thanks,
Guillem

Reply via email to