Skip to content

Hashicorp Buster APT package - Problem with MergeList /var/lib/apt/lists/apt.releases.hashicorp.com_dists_buster_main_binary-amd64_Packages.lz4 #12181

@fitzy101

Description

@fitzy101

Overview of the Issue

The consul package is broken on Debian Buster which is causing any apt commands to fail. This is the exact same issue as seen here #11162..

Reproduction Steps

Follow the instructions from the Ubuntu/Debian installation guide.

$ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
$ sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
$ sudo apt-get update && sudo apt-get install consul

At this point you'll see output like

root@61dada14fcac:/# apt-get update && apt-get install consul
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 https://apt.releases.hashicorp.com buster InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/apt.releases.hashicorp.com_dists_buster_main_binary-amd64_Packages.lz4
E: The package lists or status file could not be parsed or opened.

Operating system and Environment details

Debian Buster (the example above was in a docker container).


The issue is because of additional metadata that can be seen in the file located at https://apt.releases.hashicorp.com/dists/buster/main/binary-amd64/Packages - specifically the block

Filename: pool/amd64/main/consul_1.10.6-2_amd64.deb
SHA1: cb816a6eba8e327693b5b2e2be24baa3cb7d213f
SHA256: be9b4c3fa598a7c494912a8274ec2cebde406966aea763047f43bba94e1f39e5
Size: 38184670

Metadata

Metadata

Assignees

Labels

theme/packagingPackaging and distributing Consultype/bugFeature does not function as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions