<!DOCTYPE html><html><head><title></title></head><body><div style="font-family:Arial;">Haven't tried it, but apt dist-upgrade works in some of these cases.</div><div style="font-family:Arial;"><br></div><div>On Thu, Mar 12, 2026, at 19:50, chris hermansen via QGIS-Developer wrote:</div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Hello and apologies for cross-posting;</div><div><br></div><div>This morning (Pacific daylight time) my automated Ubuntu 25.10 apt upgrade to QGIS 4.0 failed with the following two issues:</div><div><br></div><div><div>Title</div><div> package python3-qgis 1:3.44.7+43questing [origin: QGIS project] failed to install/upgrade:</div><div>ErrorMessage</div><div> trying to overwrite '/usr/share/qgis/python/qsci_apis/PyQGIS.api' which is also in package python3-qgis-common (1:3.44.7+43questing)</div><div><br></div><div>and</div><div><br></div><div>Title</div><div> package qgis-providers 1:3.44.7+43questing [origin: QGIS project] failed to install/upgrade:</div><div>ErrorMessage</div><div> trying to overwrite '/usr/lib/qgis/plugins/libauthmethod_oauth2.so' which is also in package qgis (1:3.44.7+43questing)</div></div><div><br></div><div>I did not look deeply into the cause for this (as a wild guess, something about the apt configuration), but I did determine:</div><div><ol><li>a way to avoid it;</li><li>a way to work around it once not avoided.</li></ol><div>In terms of avoiding it:</div></div><div><ol><li>once computer is booted and running and BEFORE running daily / weekly software updates / upgrades</li><li>uninstall qgis 3.44</li><li>use apt autoclean && apt autoremove -f to remove all 3.44 dependencies</li><li>run daily / weekly software updates / upgrades</li><li>install qgis 4.0</li></ol><div>If, like me, you ran your daily / weekly updates / upgrades and the upgrade broke, here is what worked for me:</div></div><div><ol><li>uninstall qgis 3.44 and qgis 4.0</li><li>use apt autoclean && autoremove -f to remove all 3.44 dependencies</li><li>re-run daily / weekly software updates / upgrades</li><li>install qgis 4.0</li></ol><div><br></div></div><div><span class="qt-gmail_signature_prefix">--</span></div><div dir="ltr" class="qt-gmail_signature"><div dir="ltr"><div>Chris Hermansen · clhermansen "at" gmail "dot" com</div><div><br></div><div>C'est ma façon de parler.</div></div></div></div><div>_______________________________________________</div><div>QGIS-Developer mailing list</div><div><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a></div><div>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div><div>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div><div><br></div></blockquote><div style="font-family:Arial;"><br></div></body></html>