Not checking 'AND Dependencies' for virtual packages (Provides)
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 |
Changed in cube-server: | |
status: | Fix Committed → Fix Released |
Fixed Committed
We have added Provides checking in the 'AND Dependency' also
See Revision 115 bazaar. launchpad. net/~camicrisys tems/cube- server/ trunk/revision/ 115
http://