[Bug 1730627] Re: xz compressed control.tar files not supported
Adonis Tarcio Moreira
1730627 at bugs.launchpad.net
Fri Feb 8 12:11:18 UTC 2019
I'm having the same issue with the package check-mk-
agent_1.5.0b9-1_all.deb from Nagios (Check_MK).
# lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
# apt-cache policy dpkg
dpkg:
Installed: 1.19.0.5ubuntu2.1
Candidate: 1.19.0.5ubuntu2.1
Version table:
*** 1.19.0.5ubuntu2.1 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.19.0.5ubuntu2 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
# dpkg -i check-mk-agent_1.5.0b9-1_all.deb
(Reading database ... 239815 files and directories currently installed.)
Preparing to unpack check-mk-agent_1.5.0b9-1_all.deb ...
Unpacking check-mk-agent (1.5.0b9-1) ...
dpkg-deb: error: archive 'check-mk-agent_1.5.0b9-1_all.deb' contains two control members, giving up
dpkg: error processing archive check-mk-agent_1.5.0b9-1_all.deb (--install):
dpkg-deb --fsys-tarfile subprocess returned error exit status 2
Reloading xinetd...
Errors were encountered while processing:
check-mk-agent_1.5.0b9-1_all.deb
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1730627
Title:
xz compressed control.tar files not supported
Status in dpkg package in Ubuntu:
Fix Released
Status in dpkg source package in Precise:
Won't Fix
Status in dpkg source package in Trusty:
Fix Released
Bug description:
[impact]
trusty dpkg fails when trying to extract a dpkg source package
compressed using xz. This breaks running autopkgtest from bionic with
any and all trusty packages.
[test case]
on a bionic system, get any trusty source dpkg and run autopkgtest
with it. See comment 11 for an example.
[regression potential]
any changes to dpkg has the potential to break all package changes on
the system, which obviously is a serious regression. However, this
specific change has been upstream for a very long time. Any breakage
would happen when dpkg is either building or extracting a deb.
[other info]
this affects debootstrap as well, as described in the original bug
description:
---
trusty's dpkg (1.17.5ubuntu5.7) cannot handle .deb files that contain
control.tar files that are compressed using the xz compressor.
Here's an example of such a case when trying to show the contents of a
.deb file from bionic's repositories:
dpkg-deb: error: archive './var/cache/apt/archives/ubuntu-
minimal_1.406_amd64.deb' has premature member 'control.tar.xz' before
'control.tar.gz', giving up
This issue makes it currently impossible to create a bionic
environment using debootstrap (currently from trusty-proposed).
I have observed the issue on trusty, precisely on
$ lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
using
$ apt-cache policy dpkg
dpkg:
Installed: 1.17.5ubuntu5.7
Candidate: 1.17.5ubuntu5.7
Version table:
*** 1.17.5ubuntu5.7 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.17.5ubuntu5.6 0
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
1.17.5ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ trusty/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627/+subscriptions
More information about the foundations-bugs
mailing list