PDA

View Full Version : I can't upgrade to Fedora 26!



etonar
21st August 2017, 10:57 PM
I started upgrading to fedora 26 and when I arrived to reboot ,someone has restarted the computer. And when I try to upgrade in second time I got this error:

sudo dnf system-upgrade download --refresh --releasever=26
[sudo] password for Ahmed:
Sorry, try again.
[sudo] password for Ahmed:
Can not read configuration: /etc/dnf/dnf.conf , ignoring
Can not read configuration: /etc/dnf/dnf.conf , ignoring
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
Fedora 26 - x86_64 - Updates 21 kB/s | 10 MB 08:37
Last metadata expiration check: 0:00:00 ago on Mon 21 Aug 2017 22:51:51 CET.
Error:
Problem: The operation would result in removing the following protected packages: dnf
Segmentation fault

srakitnican
22nd August 2017, 07:08 PM
Probably loads of dupes, huge hassle. It might be far easier for you to just do a backup and reinstall.

Here are some tips if you decide to repair: https://forums.fedoraforum.org/showthread.php?t=314589

If your dnf is not working properly, you could try to reinstall it from koji using rpm command.