← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2069274] Re: dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

 

This bug was fixed in the package autopkgtest - 5.37ubuntu2

---------------
autopkgtest (5.37ubuntu2) oracular; urgency=medium

  * New delta, all upstream cherry-picks:
    - t/autopkgtest-build-docker: use ports.ubuntu.com on non-amd64 Ubuntu
    - t/autopkgtest: test_git_source_build: skip if remote repo is unreachable
    - d/t/lxd: restrict architectures via Architecture and enable arm64
    - d/rules: don't run pre-commit at package build time

 -- Paride Legovini <paride@xxxxxxxxxx>  Wed, 26 Jun 2024 13:16:53 +0200

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

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/2069274

Title:
  dpkg: error: --compare-versions takes three arguments: <version>
  <relation> <version>

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  I used autopkgtest 5.34ubuntu2 on Oracular

     sh -x /usr/bin/autopkgtest-build-lxd ubuntu-daily:noble/amd64

  It fails with

  + REUSE=
  + [ lxc = incus ]
  + lxc version
  + sed -ne s/Client version: // p
  + dpkg --compare-versions 5.21.1 LTS ge 5.14
  dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

  We need to remove the LTS postfix.
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu4
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 24.10
  InstallationDate: Installed on 2021-07-01 (1078 days ago)
  InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  NonfreeKernelModules: zfs
  Package: autopkgtest 5.34ubuntu2
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Tags: oracular
  Uname: Linux 6.8.0-31-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip libvirt lpadmin lxd plugdev sambashare sbuild sispmctl sudo
  _MarkForUpload: True

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



References