dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Committed
|
Undecided
|
Frode Nordahl |
Bug Description
I used autopkgtest 5.34ubuntu2 on Oracular
sh -x /usr/bin/
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
CasperMD5CheckR
CurrentDesktop: KDE
DistroRelease: Ubuntu 24.10
InstallationDate: Installed on 2021-07-01 (1078 days ago)
InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
NonfreeKernelMo
Package: autopkgtest 5.34ubuntu2
PackageArchitec
ProcVersionSign
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
apport information