You know that the Ubuntu version does not have the new API yet. But I
guess we can at least change the new API one without breaking much
compatibility; because most programs have not been updated yet (and
there are not much using this part of the API anyway).

The problem lies in the fact that some things use CompType which returns
the standard comparison operators '<' and '>'; whereas others use
CompTypeDeb which returns Debian operators '<<' and '>>' defined in the
Policy.

I could
  (a) change apt_pkg.check_dep to convert '>'/'<' to '>>' / '<<'; while adding 
a parameter 'debianized' which accepts  
       '<'   and '>' in their Debian meaning (le; ge).
  (b) change all other places to return '<<' / '>>'.

For GDebi in Ubuntu, you should fix the program instead.
Dependency.CompType has always returned '<' and '>>', and never the
CompTypeDeb one.

-- 
Does not correctly interpretes "<"
https://bugs.launchpad.net/bugs/535667
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to