SDB:Update Issues
Tested on openSUSE
Recommended articles
Related articles
Situation
You attempt to update your system, but the process fails due to dependency resolution errors such as
the installed tuned-2.25.1.0+git.889387b-4.1.noarch conflicts with 'tlp' provided by the to be installed tlp-1.8.0-1.1.noarch
or
nothing provides 'libqwt.so.6()(64bit)' needed by the to be installed qgis-3.18.3-bp156.4.13.x86_64
Cause
Given the packages installed in the system and the repository configuration, zypper is unable to install updated versions of packages while fulfilling dependencies. Manual intervention might be required.
Procedure
First, make sure the issue is reproducible using zypper directly. Open a terminal and run zypper dup with root privileges. Sometimes this is enough to resolve the issue. If not, some common causes are:
Repositories have auto-refresh disabled
It is important that all repositories1 have autorefresh enabled, otherwise package metadata will not be refreshed when needed.
Solution: Verify with zypper repos and adjust with zypper modifyrepo -f <repo alias or number> if necessary.
1 Exception: The main non-update repos on Leap have static content after release. However, there is usually no noticable performance impact to have autorefresh enabled for those.
Temporary issues with additional repositories
After a new Tumbleweed snapshot got published, other repositories might not have matching packages published straight away. In that case, the issue most likely disappears after some hours. This is especially frequent with repositories from Packman.
Solution: Wait some hours, in some cases a day or two.
Temporary issues with packages
Sometimes even packages in Tumbleweed itself can become uninstallable due to dependency issues. In most cases, the maintainers are able to resolve this in the next snapshot or two.
Solution: Wait until the next snapshot.
Packaging issue
Search https://bugzilla.opensuse.org for the full error message or keywords (e.g. mentioned package names) to find known issues.