[Qgis-user] Ubuntu 25.10 apt upgrade to QGIS 4.0 fail

chris hermansen clhermansen at gmail.com
Thu Mar 12 10:50:05 PDT 2026


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20260312/0fce943d/attachment.htm>


More information about the QGIS-User mailing list