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

Manolo Terranova manoloterranova at gmail.com
Thu Mar 12 10:41:54 PDT 2026


Dear Chris,
i had a similar issue.

I followed the instructions of QGIS.org, but my computer got stuck with
3.44.7.

The day after, rebooting my machine and lauching from terminal
"upgrade+update" and "fix install" i solved the problem and now QGIS 4.0 is
working perfectly.

Cheers,
Manolo

On Thu, Mar 12, 2026 at 6:50 PM chris hermansen via QGIS-User <
qgis-user at lists.osgeo.org> 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-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20260312/1c3b15f8/attachment.htm>


More information about the QGIS-User mailing list