Hi,

On Sat, Nov 5, 2022 at 8:49 PM Julian Andres Klode <[email protected]> wrote:
>
> On Sat, Nov 05, 2022 at 08:08:41PM +0800, Shengjing Zhu wrote:
> > Package: apt
> > Version: 2.5.4
> > Severity: important
> > X-Debbugs-Cc: [email protected]
> >
> > Dear Maintainer,
> >
> > After upgrade to 2.5.4, `apt-cache --no-generate pkgnames ''` gives me:
> >
> > E: The package cache file is corrupted, it has the wrong hash
>
> Yes, this is of course expected. The version is hashed into the
> cache hash, and you told it to not generate a new cache, so it
> can't make any progress here.

Could you elaborate "you told it to not generate a new cache"?
I don't see any special configuration there.

PS, the reproducible steps in docker have a `rm
/etc/apt/apt.conf.d/docker-clean` line.

-- 
Shengjing Zhu

Reply via email to