[Qgis-developer] Upgrading qgis

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Feb 28 15:21:23 PST 2015


On 02/23/2015 09:01 AM, Alex Mandel wrote:
> On 02/22/2015 11:42 PM, Paolo Cavallini wrote:
>> Hi all,
>> when upgrading qgis from 2.7 to 2.8 on Debian sid, python-qgis is not
>> upgraded automatically, so python support is disabled.
>> All the best.
>>
> This seems to be a perpetually unresolved bug. Had this same issue
> upgrading to 2.6 on ubuntu systems. I'm not sure what needs to change in
> the Debian control file to do this right.

The only dependency pulling in the python-qgis package is the Recommends
by the qgis package. Because there is no version requirement the package
is not forced to update when a new version is available in the archive,
although this is usually what happens. Recommends is not as strict a
dependency as Depends is, it allows to keep a package at the version as
installed if it allows the upgrade of other packages explicitly depended
upon.

It probably makes sense to move the python-qgis Recommends to Depends
and add a strict version requirement on the same binary version as is
done for qgis-providers too. See the attached patch for example.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-python-qgis-to-depends.patch
Type: inode/symlink
Size: 985 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150301/122373da/attachment.bin>


More information about the Qgis-developer mailing list