[Qgis-developer] problem with debian/ubuntu daily builds

Bas Couwenberg sebastic at xs4all.nl
Tue Feb 9 01:33:44 PST 2016


On 2016-02-09 10:14, Martin Landa wrote:
> I am unable to install latest QGIS daily on my Ubuntu machine:
> 
> Unpacking qgis (1:2.13.0+git20160208+b712f3c+23wily) ...
> dpkg: error processing archive
> /var/cache/apt/archives/qgis_1%3a2.13.0+git20160208+b712f3c+23wily_amd64.deb
> (--unpack):
>  trying to overwrite '/usr/bin/qgis.bin', which is the diverted
> version of '/usr/bin/qgis' (package: qgis-plugin-grass)
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Processing triggers for mime-support (3.58ubuntu1) ...
> Errors were encountered while processing:
>  
> /var/cache/apt/archives/qgis_1%3a2.13.0+git20160208+b712f3c+23wily_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Any idea what could be wrong? Ma

Looks like missing Breaks/Replaces: qgis-plugin-grass (<< VERSION) on 
the qgis package.

When moving files between packages the new package needs Breaks/Replaces 
control fields to inform dpkg about files moved from old packages in new 
packages.

The version to use is the package revision the move was made in, all 
preceding versions will still have the files in the old package.

This is documented in Debian Policy chapter 7:

https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

Kind Regards,

Bas


More information about the Qgis-developer mailing list