debmirror is missing xz-utils dependency

Bug #1614779 reported by Clément Février
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debmirror (Ubuntu)
Fix Released
Low
Colin Watson

Bug Description

On Ubuntu 16.04 Xenial, debmirror is missing xz-utils as dependency causing it to fail:

Ubuntu Release file: using Suite (xenial).
[ 2%] Getting: dists/xenial/main/binary-i386/Packages.xz... #** GET http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-i386/Packages.xz ==> 200 OK (1s)
ok
sh: 1: xz: not found
Failed: xz -d <.temp/dists/xenial/main/binary-i386/Packages.xz >.temp/dists/xenial/main/binary-i386/Packages
WARNING: releasing 1 pending lock...

The obvious workaround is
apt install xz-utils

Extra info:
# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

# apt-cache policy debmirror
debmirror:
  Installed: 1:2.25ubuntu2
  Candidate: 1:2.25ubuntu2
  Version table:
 *** 1:2.25ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

Colin Watson (cjwatson)
Changed in debmirror (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Carlos A. Lopez Mas (dragonslayer.krli) wrote :

Thank you, this information has been very useful, it has taken away the stress of several days, trying to find the error, thanks for the solution

Gracias, esta información ha sido muy útil, me ha quitado el estrés de varios dias tratando de dar con el error, gracias por la solución

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debmirror - 1:2.33ubuntu1

---------------
debmirror (1:2.33ubuntu1) hirsute; urgency=medium

  * Resynchronise with Debian. (LP: #1892110) Remaining changes:
    - debian/{control,rules}: Add quilt for patch management.
    - Debian bug 455082:
      + default-settings.patch: change rsync defaults.
      + silence-errors.patch: throw away find errors.
      + drop-redundant-rsync.patch: clean up logic in rsync batching.
      + check_file-return.patch: report why a file needs to sync.
    - Debian bug 576576:
      + skip-installer.patch: allow specific releases to be skipped.
    - ubuntu-settings.patch: Changed defaults to download Ubuntu, replaced
      most instances of Debian with Ubuntu in the documentation.

debmirror (1:2.33) unstable; urgency=medium

  * Use debhelper-compat instead of debian/compat.
  * Strip trailing spaces and tabs from the content of clearsigned files
    before verifying the signature, in accordance with RFC 4880 section 7.1
    (closes: #943970).

debmirror (1:2.32) unstable; urgency=medium

  [ Jamie Strandboge ]
  * Support downloading command-not-found metadata (LP: #1821251).

debmirror (1:2.31) unstable; urgency=medium

  [ Ondřej Nový ]
  * d/copyright: Use https protocol in Format field
  * d/changelog: Remove trailing whitespaces

  [ Colin Watson ]
  * Fetch Packages-all and Contents-all if they exist (closes: #904927).
  * Fix mirroring of suites that have InRelease but not Release.gpg.
  * Improve GPG verification: accept a signature file as long as there's at
    least one good signature from a trusted key, and borrow code from APT to
    explicitly verify the structure of InRelease files (closes: #918304).

debmirror (1:2.30) unstable; urgency=medium

  * Make the error message when mkdir fails more helpful.
  * Restart partial HTTP downloads (closes: #629922).
  * Use /usr/share/dpkg/pkg-info.mk rather than equivalent hand-written
    code.
  * Upgrade to debhelper v9.

debmirror (1:2.29) unstable; urgency=medium

  [ Stefan Kisdaroczi ]
  * Add version string and --version option.
  * Add additional trace info (closes: #863194).

  [ Colin Watson ]
  * Automatically update $version at binary package build time.

debmirror (1:2.28) unstable; urgency=medium

  * Change priority to optional, since "Priority: extra" is now deprecated.
  * Move VCS to salsa.debian.org.
  * Fix use of uninitialised value $buf in name_release.
  * Depend on xz-utils (LP: #1614779); xz is needed for all suites that
    publish .xz but not uncompressed index files, or .gz but not .xz without
    --slow-cpu, so I think that's common enough to rise above the level of a
    Recommends.
  * Always use "exists $file_lists{foo}{size}" rather than just "exists
    $file_lists{foo}". The latter can return false positives due to
    autovivification (closes: #868675).

 -- Valters Jansons <email address hidden> Sat, 22 Aug 2020 15:18:46 +0300

Changed in debmirror (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.