<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>Title<br>   package python3-qgis 1:3.44.7+43questing [origin: QGIS project] failed to install/upgrade:<br>ErrorMessage<br>   trying to overwrite '/usr/share/qgis/python/qsci_apis/PyQGIS.api' which is also in package python3-qgis-common (1:3.44.7+43questing)<br><br>and<br><br>Title<br>   package qgis-providers 1:3.44.7+43questing [origin: QGIS project] failed to install/upgrade:<br>ErrorMessage<br>   trying to overwrite '/usr/lib/qgis/plugins/libauthmethod_oauth2.so' which is also in package qgis (1:3.44.7+43questing)<br></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><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>