Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You have not yet provided the exact commands that were used, nor the relevant output. So it's not possible to answer this question.

But generally, you would log in as root, either run your command or check for package conflicts and then try to fix them one by one.

A regular system update would usually fail if there are package conflicts and if it does, it will tell you which packages are causing trouble.

# dnf update --best --allowerasing

Check if you actually need these packages or not. If not, uninstall them (you could reinstall important packages after a successful update):

# dnf erase PACKAGE

Replace PACKAGE with the package name shown in the error message. If dnf wants to remove additional packages, check if you need those too. Be careful with system packages. If dnf wants to remove things like gdm or gnome-shell, you might want to type "no" and double-check - or reinstall @gnome-desktop later. Unless, of course, if you actually want to get rid of said packages.

Check for package conflicts - this may take a long time:

# rpm -Va --nodigest

Unless you want to check for file conflicts, use the following command (which should only take a few minutes):

# rpm -Va --nodigest --nofiles

Ideally, this command would not show any output (meaning no conflicts found). Then you can try to repeat the update command.

When upgrading from Fedora 24 to 25, it is advised to disable third-party repositories - except Fedora/Updates, RPM Fusion and Copr. Check which repositories you are using:

# dnf repolist

If there are additional repositories, you can disable them using:

# dnf config-manager --set-disabled REPOSITORY

Then, use gnome-software (graphical interface) to start the upgrade process, or use the system-upgrade plugin for dnf.

Make sure the system-upgrade plugin is up to date:

# dnf install --best dnf-plugin-system-upgrade

Prepare the upgrade by downloading all files:

# dnf system-upgrade download --releasever=25

In some cases (if some packages are not updated even though a newer version is available, as shown in the output of that command), you may want to add --best --allowerasing:

# dnf system-upgrade download --releasever=25 --best --allowerasing

When the download is complete (no more conflicts, no error messages), it will tell you so and it will also give you the command to initiate the upgrade process:

# dnf system-upgrade reboot

You have not yet provided the exact commands that were used, nor the relevant output. So it's not possible to answer this question.

But generally, you would log in as root, either run your command or check for package conflicts and then try to fix them one by one.

A regular system update would usually fail if there are package conflicts and if it does, it will tell you which packages are causing trouble.

# dnf update --best --allowerasing

Check if you actually need these packages or not. If not, uninstall them (you could reinstall important packages after a successful update):

# dnf erase PACKAGE

Replace PACKAGE with the package name shown in the error message. If dnf wants to remove additional packages, check if you need those too. Be careful with system packages. If dnf wants to remove things like gdm or gnome-shell, you might want to type "no" and double-check - or reinstall @gnome-desktop later. Unless, of course, if you actually want to get rid of said packages.

Check for package conflicts - this may take a long time:

# rpm -Va --nodigest

Unless you want to check for file conflicts, use the following command (which should only take a few minutes):

# rpm -Va --nodigest --nofiles

Ideally, this command would not show any output (meaning no conflicts found). Then you can try to repeat the update command.

When upgrading from Fedora 24 to 25, it is advised to disable third-party repositories - except Fedora/Updates, RPM Fusion and Copr. Check which repositories you are using:

# dnf repolist

If there are additional repositories, you can disable them using:

# dnf config-manager --set-disabled REPOSITORY

Then, use gnome-software (graphical interface) to start the upgrade process, or use the system-upgrade plugin for dnf.

Make sure the system-upgrade plugin is up to date:

# dnf install --best dnf-plugin-system-upgrade

Prepare the upgrade by downloading all files:files. Be very careful not to forget the system-upgrade argument.

# dnf system-upgrade download --releasever=25

In some cases (if some packages are not updated even though a newer version is available, as shown in the output of that command), you may want to add --best --allowerasing:

# dnf system-upgrade download --releasever=25 --best --allowerasing

When the download is complete (no more conflicts, no error messages), it will tell you so and it will also give you the command to initiate the upgrade process:

# dnf system-upgrade reboot

After a successful upgrade, you will be greeted with "Fedora 25". You can also check the release files:

# cat /etc/fedora-release 
Fedora release 25 (Twenty Five)

You have not yet provided the exact commands that were used, nor the relevant output. So it's not possible difficult to answer this question.

But generally, you would log in as root, either run your command or check for package conflicts and then try to fix them one by one.

A regular system update would usually fail if there are package conflicts and if it does, it will tell you which packages are causing trouble.

# dnf update --best --allowerasing

Check if you actually need these packages or not. If not, uninstall them (you could reinstall important packages after a successful update):

# dnf erase PACKAGE

Replace PACKAGE with the package name shown in the error message. If dnf wants to remove additional packages, check if you need those too. Be careful with system packages. If dnf wants to remove things like gdm or gnome-shell, you might want to type "no" and double-check - or reinstall @gnome-desktop later. Unless, of course, if you actually want to get rid of said packages.

Check for package conflicts - this may take a long time:

# rpm -Va --nodigest

Unless you want to check for file conflicts, use the following command (which should only take a few minutes):

# rpm -Va --nodigest --nofiles

Ideally, this command would not show any output (meaning no conflicts found). Then you can try to repeat the update command.

When upgrading from Fedora 24 to 25, it is advised to disable third-party repositories - except Fedora/Updates, RPM Fusion and Copr. Check which repositories you are using:

# dnf repolist

If there are additional repositories, you can disable them using:

# dnf config-manager --set-disabled REPOSITORY

Then, use gnome-software (graphical interface) to start the upgrade process, or use the system-upgrade plugin for dnf.

Make sure the system-upgrade plugin is up to date:

# dnf install --best dnf-plugin-system-upgrade

Prepare the upgrade by downloading all files. Be very careful not to forget the system-upgrade argument.

# dnf system-upgrade download --releasever=25

In some cases (if some packages are not updated even though a newer version is available, as shown in the output of that command), you may want to add --best --allowerasing:

# dnf system-upgrade download --releasever=25 --best --allowerasing

When the download is complete (no more conflicts, no error messages), it will tell you so and it will also give you the command to initiate the upgrade process:

# dnf system-upgrade reboot

After a successful upgrade, you will be greeted with "Fedora 25". You can also check the release files:

# cat /etc/fedora-release 
Fedora release 25 (Twenty Five)