← Back to team overview

canonical-ubuntu-qa team mailing list archive

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

 

Public bug reported:

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

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected oracular

** Description changed:

  I used autopkgtest 5.34ubuntu2 on Oracular
  
-    sh -x /usr/bin/autopkgtest-build-lxd ubuntu-daily:noble/amd64
+    sh -x /usr/bin/autopkgtest-build-lxd ubuntu-daily:noble/amd64
  
- fails with
+ 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.

** Tags added: apport-collected oracular

** Description changed:

  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

-- 
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:
  New

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



Follow ups