Skip to content

Aply cannot handle deb packages using control.tar.xz #655

@hosiet

Description

@hosiet

Detailed Description

Ever since the release of dpkg 1.19.0, dpkg-deb enables --uniform-compression by default. This means control.tar* file will be compressed using xz by default (to be more precise, using the same compression method as data.tar* file). This claims control.tar.xz file inside .deb file instead of control.tar.gz.

Currently aptly does not seem to support handling control.tar.xz inside .deb file.

Context

Using .deb packages built using dpkg (>= 1.19.0) will encounter this problem.

Currently it affects users of Debian Testing and Debian Unstable but we can expect more users affected by this bug due to downstream adaption of new dpkg.

Possible Implementation

Do not assume hardcoded control.tar.gz inside .deb files. Instead, we should do an intelligent analysis about the compression method used for control.tar.* and data.tar.*.

Your Environment

Debian Unstable, using dpkg 1.19.0.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions