On Sat, Nov 01, 2025 at 07:26:11AM +0100, Jochen Sprickerhof wrote: > * Julian Andres Klode <[email protected]> [2025-05-09 18:29]: > > On Thu, May 01, 2025 at 03:28:35PM +0200, Chris Hofstaedtler wrote: > > > Package: command-not-found > > > Version: 23.04.0-2 > > > Severity: normal > > > Tags: patch > > > User: [email protected] > > > Usertag: environment > > > > > > Hi, > > > > > > in a clean environment without /etc/apt/sources.list(.d/*), > > > command-not-found's build-time tests fail like this: > > > > I just want to note: > > > > I do not believe that a build environment lacking apt or the > > apt configuration or a working apt cache is a valid build > > environment. > > Please note that in this case the test already fails with a sources.list > containing: > > deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] > http://deb.debian.org/debian unstable main > > As is produced by debrebuild. Also I think an empty/missing sources.list is > a valid apt configuration. Could you please fix this issue?
There's an MR on salsa hanging around fixing this. It also had a commit to fix the other bug, so you'd have to cherry-pick the relevant one out of the MR. Chris

