Bug#817176: qgis install fails trying to overwrite /usr/bin/qbrowser.bin

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue Mar 8 23:32:33 UTC 2016


severity 817176 serious
severity 817178 serious
tags 817176 confirmed
tags 817178 confirmed
merge 817176 817178
thanks

Hi Ben & Stefano,

Sorry for breaking the upgrade. Unfortunately my piuparts tests didn't
catch this issue.

On 08-03-16 19:56, Ben Caradoc-Davies wrote:
> Workaround is to manually remove the diversions:
> 
> dpkg-divert --remove /usr/bin/qgis
> dpkg-divert --remove /usr/bin/qbrowser
> 
> Note that this was an upgrade from the previous qgis on unstable.

The qgis.preinst maintainer script should remove the old diversions. It
was used pre-2.8 to support multiple GRASS versions. The new GRASS
support in post 2.8 doesn't need the diversions any more.

I'm currently trying to figure out why the removal of the diversions is
not working as expected, I hope to have a fix ready soon.

On Tue, 8 Mar 2016 19:48:35 +0100 (CET) Stefano Costa wrote:
> after the failed installation I'm left with this binary:
>
> steko at spheniscus:~$ ls -l /usr/bin/qgis.bin.dpkg-new
> -rwxr-xr-x 1 root root 250 mar 8 08:10 /usr/bin/qgis.bin.dpkg-new

The .dpkg-new files should go away after the upgrade succeeds, but you
need to either remove the diversion manually (with the above dpkg-divert
commands) and continue the upgrade, or wait for the fixed version.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list