Ask Your Question
0

After fedora upgrade repositories stayed the same as they were for previous version.

asked 2016-12-21 07:28:12 -0600

Hello! The story is that I was upgrading fedora from 17 to 25 by one or two releases for a step using yum (yum --releasever=**). I know that it was a very silly and a very bad idea but still this has already been done!

The problem is that after upgrading from 19 to 21 I found that yum still tried to get packages from fedora 19 repos. I decided to make one more upgrade from 21 to 22 with yum, all packages changed with 22nd version, but repos stayed on version 19 and fedora info (Settings -> Details) said that I still have Fedora 19.

I made one more upgrade - now with dnf (dnf system-upgrade), and the problem didn't go away: all repos are 19th version, fedora info is still 19, /etc/issue is 19th, etc.

I thought that the problem is with grub loading an old kernel so I tried to change default kernel with 23rd (the latest one I have now) and update grub, but this didn't help me.

I'm out of ideas, are there any solutions except for clean install of 25th fedora?

edit retag flag offensive close merge delete

Comments

Have you tried purging all temp files, including those in yum/dnf?

upgrade

seems is deprecated in later versions

thingummybob gravatar imagethingummybob ( 2016-12-21 14:58:01 -0600 )edit

I forgot to do that when I was upgrading from 19 to 21, but I wiped out all .rpmnew and .rpmsave and cleaned yum cache when I was upgrading 21 -> 22.

Phil2342 gravatar imagePhil2342 ( 2016-12-22 02:36:19 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-12-22 12:32:09 -0600

ed209 gravatar image

yum was deprecated at least since F23. No wonder things didn't work as expected without using the dnf procedure as described, for instance, in https://fedoramagazine.org/upgrading-...

edit flag offensive delete link more
0

answered 2016-12-22 08:50:00 -0600

The problem was solved with installing fedora-release package for fedora-23 with argument --releasever 23:

yum install [link to that package] --allowerasing --releasever 23

As I understand, fedora finds its version from this very package, but it was somehow forgotten to upgrade.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-12-21 07:28:12 -0600

Seen: 70 times

Last updated: Dec 22 '16