Project

General

Profile

Actions

Bug #188

closed

Qt version numbers

Added by Guilhem Saurel about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-

Description

Hi,

While trying to install robotpkg-qt4-gepetto-viewer-corba with apt on 16.04, I got this error:

Les paquets suivants contiennent des dépendances non satisfaites :
robotpkg-qt4-gepetto-viewer-corba : Dépend: libqt4-dev (< 5) mais 4:4.8.7+dfsg-5ubuntu2 devra être installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

So I think that, on ubuntu at least, the version check of Qt should be something like "< 5:0" instead of "< 5":

dpkg --compare-versions "4:4.8.7+dfsg-5ubuntu2" lt 5 # KO
dpkg --compare-versions "4:4.8.7+dfsg-5ubuntu2" lt "5:0" # OK

Actions

Also available in: Atom PDF