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

Bug#1023494: apt: package cache file is corrupted after upgrade from 2.5.2 to 2.5.4



Hi,

On Sat, Nov 5, 2022 at 8:49 PM Julian Andres Klode <jak@debian.org> 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: zhsj@debian.org
> >
> > 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 to: