I have a server running Fedora 24 which I am attempting to upgrade to Fedora 25. I've followed the instructions located at https://fedoraproject.org/wiki/DNF_system_upgrade however the upgrade process fails after the system is rebooted to run the initial upgrade. Here are the log entries from my dnf.log file which show some errors.
Jan 16 10:40:16 DEBUG --> Starting dependency resolution Jan 16 10:40:16 DEBUG --> Finished dependency resolution Jan 16 10:40:16 DDEBUG timer: depsolve: 166 ms Jan 16 10:40:16 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 120, in _main ret = resolving(cli, base) File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 139, in resolving base.resolve(cli.demands.allow_erasing) File "/usr/lib/python3.5/site-packages/dnf/base.py", line 541, in resolve raise exc dnf.exceptions.DepsolveError: nothing provides kmod-libs(x86-64) = 23-1.fc25 needed by kmod-23-1.fc25.x86_64. nothing provides iptables-libs(x86-64) = 1.6.0-2.fc25 needed by iptables-1.6.0-2.fc25.x86_64. nothing provides adwaita-gtk2-theme = 3.22.2-1.fc25 needed by gnome-themes-standard-3.22.2-1.fc25.x86_64. nothing provides fipscheck-lib(x86-64) = 1.4.1-11.fc25 needed by fipscheck-1.4.1-11.fc25.x86_64. nothing provides system-release(25) needed by fedora-repos-25-1.noarch. nothing provides python3-dnf-plugins-core = 0.1.21-4.fc25 needed by dnf-plugins-core-0.1.21-4.fc25.noarch. package cockpit-shell-120-1.fc25.noarch is not installable. nothing provides python2-future needed by python2-stomper-0.4.0-2.fc25.noarch. nothing provides python-click needed by python2-flask-1:0.11.1-3.fc25.noarch. package cronie-anacron-1.5.1-2.fc24.x86_64 requires cronie = 1.5.1-2.fc24, but none of the providers can be installed. package cryptsetup-1.7.2-1.fc24.x86_64 requires cryptsetup-libs = 1.7.2-1.fc24, but none of the providers can be installed. package dhcp-client-12:4.3.4-3.fc24.x86_64 requires dhcp-common = 12:4.3.4-3.fc24, but none of the providers can be installed. package file-5.25-6.fc24.x86_64 requires file-libs = 5.25-6.fc24, but none of the providers can be installed. package ipset-6.27-2.fc24.x86_64 requires ipset-libs(x86-64) = 6.27-2.fc24, but none of the providers can be installed. nothing provides iptables-libs(x86-64) = 1.6.0-2.fc25 needed by iptables-1.6.0-2.fc25.x86_64 Jan 16 10:40:16 CRITICAL Error: nothing provides kmod-libs(x86-64) = 23-1.fc25 needed by kmod-23-1.fc25.x86_64. nothing provides iptables-libs(x86-64) = 1.6.0-2.fc25 needed by iptables-1.6.0-2.fc25.x86_64. nothing provides adwaita-gtk2-theme = 3.22.2-1.fc25 needed by gnome-themes-standard-3.22.2-1.fc25.x86_64. nothing provides fipscheck-lib(x86-64) = 1.4.1-11.fc25 needed by fipscheck-1.4.1-11.fc25.x86_64. nothing provides system-release(25) needed by fedora-repos-25-1.noarch. nothing provides python3-dnf-plugins-core = 0.1.21-4.fc25 needed by dnf-plugins-core-0.1.21-4.fc25.noarch. package cockpit-shell-120-1.fc25.noarch is not installable. nothing provides python2-future needed by python2-stomper-0.4.0-2.fc25.noarch. nothing provides python-click needed by python2-flask-1:0.11.1-3.fc25.noarch. package cronie-anacron-1.5.1-2.fc24.x86_64 requires cronie = 1.5.1-2.fc24, but none of the providers can be installed. package cryptsetup-1.7.2-1.fc24.x86_64 requires cryptsetup-libs = 1.7.2-1.fc24, but none of the providers can be installed. package dhcp-client-12:4.3.4-3.fc24.x86_64 requires dhcp-common = 12:4.3.4-3.fc24, but none of the providers can be installed. package file-5.25-6.fc24.x86_64 requires file-libs = 5.25-6.fc24, but none of the providers can be installed. package ipset-6.27-2.fc24.x86_64 requires ipset-libs(x86-64) = 6.27-2.fc24, but none of the providers can be installed. nothing provides iptables-libs(x86-64) = 1.6.0-2.fc25 needed by iptables-1.6.0-2.fc25.x86_64 Jan 16 10:40:16 INFO (try to add '--allowerasing' to command line to replace conflicting packages) Jan 16 10:40:16 DDEBUG Cleaning up.
Is there a way to resolve this? I tried adding the --allowerasing option which resulted in dnf attempting to remove the dnf and systemd packages.
Jan 16 11:29:41 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 120, in _main ret = resolving(cli, base) File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 142, in resolving base._plugins.run_resolved() File "/usr/lib/python3.5/site-packages/dnf/plugin.py", line 82, in fn dnf.util.mapall(operator.methodcaller(method), self.plugins) File "/usr/lib/python3.5/site-packages/dnf/util.py", line 183, in mapall return list(map(fn, *seq)) File "/usr/lib/python3.5/site-packages/dnf-plugins/protected_packages.py", line 76, in resolved raise dnf.exceptions.Error(THREATENED_MSG % ', '.join(threatened)) dnf.exceptions.Error: The operation would result in removing the following protected packages: dnf, systemd. Jan 16 11:29:41 CRITICAL Error: The operation would result in removing the following protected packages: dnf, systemd.
On Mon, Jan 16, 2017 at 10:05:38PM -0500, Michael Watters wrote:
package cronie-anacron-1.5.1-2.fc24.x86_64 requires cronie = 1.5.1-2.fc24, but none of the providers can be installed. package cryptsetup-1.7.2-1.fc24.x86_64 requires cryptsetup-libs = 1.7.2-1.fc24, but none of the providers can be installed. package dhcp-client-12:4.3.4-3.fc24.x86_64 requires dhcp-common = 12:4.3.4-3.fc24, but none of the providers can be installed. package file-5.25-6.fc24.x86_64 requires file-libs = 5.25-6.fc24, but none of the providers can be installed. package ipset-6.27-2.fc24.x86_64 requires ipset-libs(x86-64) = 6.27-2.fc24, but none of the providers can be installed.
It looks like something is holding back the upgrade. Normally this should get detected in the 'dnf system-upgrade --download' phase, and not after reboot, but let's ignore that for now.
Do you have some very old packages that don't have an upgrade and are not obsoleted by anything? I'd guess that one of them is holding back either cryptsetup-libs or file-libs or ipset-libs... Try rpm -qa|grep -vE '.fc2[456]|gpg-pubkey|debuginfo'
Zbyszek
It looks like there's an old facter package installed which is a dependency pulled in by puppet. The interesting thing here is that the package references *f23* which has never been installed on this VM.
Here are the packages returned by the rpm command.
[root@git ~]# rpm -qa|grep -vE '.fc2[456]|gpg-pubkey|debuginfo' fedora-repos-24-3.noarch facter-2.4.3-1.fc23.x86_64 rpmfusion-free-release-24-3.noarch fedora-package-config-apt-16.00-8.noarch fedora-release-24-2.noarch fedora-release-server-24-2.noarch rpmfusion-nonfree-release-24-3.noarch
On 01/16/2017 10:56 PM, Zbigniew Jędrzejewski-Szmek wrote:
On Mon, Jan 16, 2017 at 10:05:38PM -0500, Michael Watters wrote:
package cronie-anacron-1.5.1-2.fc24.x86_64 requires cronie = 1.5.1-2.fc24, but none of the providers can be installed. package cryptsetup-1.7.2-1.fc24.x86_64 requires cryptsetup-libs = 1.7.2-1.fc24, but none of the providers can be installed. package dhcp-client-12:4.3.4-3.fc24.x86_64 requires dhcp-common = 12:4.3.4-3.fc24, but none of the providers can be installed. package file-5.25-6.fc24.x86_64 requires file-libs = 5.25-6.fc24, but none of the providers can be installed. package ipset-6.27-2.fc24.x86_64 requires ipset-libs(x86-64) = 6.27-2.fc24, but none of the providers can be installed.
It looks like something is holding back the upgrade. Normally this should get detected in the 'dnf system-upgrade --download' phase, and not after reboot, but let's ignore that for now.
Do you have some very old packages that don't have an upgrade and are not obsoleted by anything? I'd guess that one of them is holding back either cryptsetup-libs or file-libs or ipset-libs... Try rpm -qa|grep -vE '.fc2[456]|gpg-pubkey|debuginfo'
Zbyszek _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org
On Tuesday, 17 January 2017 at 15:03, Michael Watters wrote:
It looks like there's an old facter package installed which is a dependency pulled in by puppet. The interesting thing here is that the package references *f23* which has never been installed on this VM.
Not really interesting. It just wasn't successfully rebuilt since F23.
Regards, Dominik