Ask Your Question

How to remove old versions of fedora 26

asked 2018-07-28 06:52:58 -0500

azizahmed02 gravatar image

I am using windows 7 as well as fedora26, today i update fedora 26, from update software menu, it install fedora 27, while i boot my laptop it shows fedora 26 and fedora 27 both, so what it means, whether both fedora 26 and fedora 27 are there. if yes then how to remove fedora 26.

edit retag flag offensive close merge delete


Ignore it. All you have left over are the kernels of F26. They will go away once you receive 2-3 new F27 kernels. Nothing to worry about.

florian gravatar imageflorian ( 2018-07-28 07:20:22 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-07-28 07:27:03 -0500

hhlp gravatar image

updated 2018-07-28 09:41:38 -0500

Well your upgrade process was fine and the solution is easy.

when you upgrade from one version to another, the old kernel from fedora 26 still there under fedora 27 kernel and begin disapeer while new version of fedora 26 kernel come to the fedora main repo.

you don't have two fedora version, you only have the main fedora 27 kernel and older fedora 26 kernel

all S.O have got to part :

NOTE : for configuration fedora keep tree version + rescue in grub if you would like to change this configuration you must change the setting, simply open up /etc/dnf/dnf.conf in your favorite text editor. Look for this line:


To keep five kernels, simply replace the 3 with a 5. If you’d like to keep every old kernel on the system forever, just change the 3 to a 0. A zero means you never want “installonly” packages (like kernels) to ever be removed from your system.


edit flag offensive delete link more

Question Tools


Asked: 2018-07-28 06:52:58 -0500

Seen: 335 times

Last updated: Jul 28 '18