[QGIS-Developer] Ubuntu 25.10 apt upgrade to QGIS 4.0 fail

Laurențiu Nicola lnicola at dend.ro
Thu Mar 12 10:51:43 PDT 2026


Haven't tried it, but apt dist-upgrade works in some of these cases.

On Thu, Mar 12, 2026, at 19:50, chris hermansen via QGIS-Developer wrote:
> Hello and apologies for cross-posting;
> 
> This morning (Pacific daylight time) my automated Ubuntu 25.10 apt upgrade to QGIS 4.0 failed with the following two issues:
> 
> Title
>    package python3-qgis 1:3.44.7+43questing [origin: QGIS project] failed to install/upgrade:
> ErrorMessage
>    trying to overwrite '/usr/share/qgis/python/qsci_apis/PyQGIS.api' which is also in package python3-qgis-common (1:3.44.7+43questing)
> 
> and
> 
> Title
>    package qgis-providers 1:3.44.7+43questing [origin: QGIS project] failed to install/upgrade:
> ErrorMessage
>    trying to overwrite '/usr/lib/qgis/plugins/libauthmethod_oauth2.so' which is also in package qgis (1:3.44.7+43questing)
> 
> I did not look deeply into the cause for this (as a wild guess, something about the apt configuration), but I did determine:
>  1. a way to avoid it;
>  2. a way to work around it once not avoided.
> In terms of avoiding it:
>  1. once computer is booted and running and BEFORE running daily / weekly software updates / upgrades
>  2. uninstall qgis 3.44
>  3. use apt autoclean && apt autoremove -f to remove all 3.44 dependencies
>  4. run daily / weekly software updates / upgrades
>  5. install qgis 4.0
> If, like me, you ran your daily / weekly updates / upgrades and the upgrade broke, here is what worked for me:
>  1. uninstall qgis 3.44 and qgis 4.0
>  2. use apt autoclean && autoremove -f to remove all 3.44 dependencies
>  3. re-run daily / weekly software updates / upgrades
>  4. install qgis 4.0
> 
> --
> Chris Hermansen · clhermansen "at" gmail "dot" com
> 
> C'est ma façon de parler.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20260312/e95cd797/attachment-0001.htm>


More information about the QGIS-Developer mailing list