← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1578160] Re: /etc/cron.daily/sysstat: xargs: xz: No such file or directory

 

This bug was fixed in the package sysstat - 11.2.0-1ubuntu0.1

---------------
sysstat (11.2.0-1ubuntu0.1) xenial; urgency=medium

  * Add missing depend, bzip2 is replaced by xz-utils. (LP: #1578160)

 -- Johan Carlquist <jocar@xxxxx>  Wed, 04 May 2016 12:40:47 +0200

** Changed in: sysstat (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1578160

Title:
  /etc/cron.daily/sysstat: xargs: xz: No such file or directory

Status in sysstat package in Ubuntu:
  Fix Released
Status in sysstat source package in Xenial:
  Fix Released
Status in sysstat package in Debian:
  Fix Released

Bug description:
  Sysstat has changed the default compression from bzip2 to xz but the packages is lack of depend of the xz-utils.
  This causes the daily cronjob to fail with:

  /etc/cron.daily/sysstat:
  xargs: xz: No such file or directory

  This has been fixed in the Debian package by depending on the correct compression package.
  https://anonscm.debian.org/cgit/users/robert/sysstat.git/commit/?id=a3cb350b63d3fd819d86e1f865589e5b2b73d393

  Attaching a patch which will do the same for Ubuntu.

  # lsb_release -rd
  Description:    Ubuntu 16.04 LTS
  Release:        16.04

  # apt-cache policy sysstat
  sysstat:
    Installed: 11.2.0-1
    Candidate: 11.2.0-1
    Version table:
   *** 11.2.0-1 500
          500 http://linux-sua.it.su.se/xenial/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  [Test Case]
  * Install the sysstat package
  * Enable that sadc collect system activity informations.
  * Wait until /etc/cron.daily/sysstat has run.
  * Expect mail to you root account with "xargs: xz: No such file or directory"

  [Regression Potential]
  I don't think there is any risks with this fix. 
  Since bzip2 is more widely used then xz I think bzip2 still will installed on the machine. So if someone have changed the default compression from xz to bzip2 the daily job still should succeed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysstat/+bug/1578160/+subscriptions