Not checking 'AND Dependencies' for virtual packages (Provides)

Bug #1490089 reported by Camicri Systems
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CubeGet
Fix Released
Critical
Camicri Systems

Bug Description

Discovered when finding dependencies of 'python-qt4'

In the package python-qt4, there is one dependency which is a virtual package (Not existing and provided by another package)
- sip-api-8.1

Package sip-api-8.1 is provided by python-sip package, which is existing in the available packages.

However, Cube didn't include python-sip to the list of packages to be downloaded. While in a normal 'apt-get install python-qt4', the package python-sip is included.

Checking the code, this is not a problem if the package sip-api-8.1 is an 'OR Dependency'. In 'OR Dependency', if a package is not existing in the available packages, it will check for packages that provides sip-api-8.1.

In 'AND Dependency', there is no checking for packages that provides sip-api-8.1, thus, failing to find the package python-sip.

Changed in cube-server:
status: Confirmed → In Progress
Revision history for this message
Camicri Systems (camicrisystems) wrote :

Fixed Committed

We have added Provides checking in the 'AND Dependency' also

See Revision 115
http://bazaar.launchpad.net/~camicrisystems/cube-server/trunk/revision/115

Changed in cube-server:
status: In Progress → Fix Committed
Changed in cube-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.