Ask Your Question
1

I can't upgrade to Fedora 26! **HELP**

asked 2017-08-16 09:35:44 -0600

etonar gravatar image

updated 2017-08-16 19:00:17 -0600

florian gravatar image

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 --allowerasing

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

Failed to synchronize cache for repo 'jgillich-brackets', disabling.

Failed to synchronize cache for repo 'WineHQ', disabling.

Last metadata expiration check: 0:00:00 ago on Wed 16 Aug 2017 15:31:52 CET.

Error: 

 Problem: The operation would result in removing the following protected packages: dnf
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2017-08-16 13:19:20 -0600

florian gravatar image

updated 2017-08-16 13:27:48 -0600

no need to download everything all over again. Just perform the step (sudo dnf system-upgrade reboot) that you were missing.

(Two general tips:

  • it's a good idea to disable third-party repositories before upgrading
  • don't set --allowerasing if you have not tried it without )
edit flag offensive delete link more

Comments

No He says : system is not ready for upgrade

etonar gravatar imageetonar ( 2017-08-16 14:31:53 -0600 )edit

Try this:

  1. disable all third-party repositories (you find them in /etc/yum.repos.d/)

  2. sudo dnf --refresh upgrade

  3. sudo dnf system-upgrade download --releasever=26 (no allowerasing)

florian gravatar imageflorian ( 2017-08-16 18:57:00 -0600 )edit

He still tell me :

The operation would result in removing the following protected packages: dnf

etonar gravatar imageetonar ( 2017-08-17 06:34:15 -0600 )edit
1

I would also add --noautoremove to the dnf command.

sudo dnf --refresh --noautoremove distrosync

Sometimes dnf loses track of what packages was installed as a dependency, and thus eligible for being deleted by the dnf command.

villykruse gravatar imagevillykruse ( 2017-08-17 10:38:34 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-08-16 09:33:40 -0600

Seen: 651 times

Last updated: Aug 16 '17