Ask Your Question
0

Problems with upgrading from 20 to 22

asked 2016-05-26 06:47:57 -0500

unkmas gravatar image

Hey there!

I had RFRemix installation of Fedora 20 on my PC.

I removed all rfremix repos before update. Then i updated the system, following the guide.

When i run sudo dnf distro-sync i've got lots of "none of the providers can be installed" errors. If i run it with --allowerasing flag, i've got

Error: The operation would result in removing the booted kernel: kernel-core-4.4.10-200.fc22.x86_6

I checked my release, and it is still Fedora 20!

> cat /etc/*-release
Fedora release 20 (Heisenbug)
NAME=Fedora
VERSION="20 (Heisenbug)"
ID=rfremix
ID_LIKE=fedora
VERSION_ID=20
PRETTY_NAME="RFRemix 20 (Heisenbug)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:20"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=20
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=20
Fedora release 20 (Heisenbug)
Fedora release 20 (Heisenbug)

However, i have only fresh kernels installed:

> dnf list installed | grep kernel
abrt-addon-kerneloops.x86_64          2.6.1-10.fc22                @@commandline
erlang-kernel.x86_64                  17.4-7.fc22                  @@commandline
kernel.x86_64                         4.2.3-200.fc22               @updates     
kernel.x86_64                         4.4.10-200.fc22              @@commandline
kernel-core.x86_64                    4.2.3-200.fc22               @updates     
kernel-core.x86_64                    4.4.10-200.fc22              @@commandline
kernel-devel.x86_64                   4.2.3-200.fc22               @updates     
kernel-devel.x86_64                   4.4.10-200.fc22              @@commandline
kernel-headers.x86_64                 4.4.10-200.fc22              @@commandline
kernel-modules.x86_64                 4.2.3-200.fc22               @updates     
kernel-modules.x86_64                 4.4.10-200.fc22              @@commandline
kernel-modules-extra.x86_64           4.2.3-200.fc22               @updates     
kernel-modules-extra.x86_64           4.4.10-200.fc22              @@commandline
libreport-plugin-kerneloops.x86_64    2.6.4-1.fc22                 @@commandline

What I need to do, to complete my update?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2016-05-26 10:29:01 -0500

sergiomb gravatar image

updated 2016-05-26 10:34:12 -0500

DNF_system_upgrade only appears on F21 https://fedoraproject.org/wiki/DNF_sy... , so my advice is upgrade to F21 with Fedup , and after that follow wiki page and and to F23 , F22 is near EOL , and I recommend F23 over F22 , in one month we should have F24 ... DNF_system_upgrade works much better , than fedup (hopefully) so you may jump from F21 to F24 directly with DNF_system_upgrade plugin .

Also you may try upgrade with yum https://fedoraproject.org/wiki/Upgrad... , I recommend arrive to F21 and after use DNF_system_upgrade plugin.

edit flag offensive delete link more

Comments

Thanks! However, this is not the issue.

unkmas gravatar imageunkmas ( 2016-05-27 04:44:40 -0500 )edit
0

answered 2016-05-27 04:43:59 -0500

unkmas gravatar image

Ok, finaly i found the answer.

The problem was in fedora-release package. RFRemix uses rfremix-release instead of it.

So, to solve this problem, i performed three steps:

  1. Changed all $releasever vars in /etc/yum.repos.d/fedora.repo to 22
  2. Installed fedora-release with --allowerasing option
  3. Changed fedora.repo to its initial state
edit flag offensive delete link more
0

answered 2016-05-26 10:27:51 -0500

florian gravatar image

You want to upgrade the release to Fedora 22, right? Please read this page. It has all the instructions.

The sudo dnf distro-sync is for another purpose. Check all capabilities and options of dnf here

e.g. dnf distro-sync [<package-spec>...]: As necessary upgrades, downgrades or keeps selected installed packages to match the latest version available from any enabled repository. If no package is given, all installed packages are considered.

Latest package from the same release

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-05-26 06:47:57 -0500

Seen: 130 times

Last updated: May 26 '16