Ask Your Question
0

dnf update - @koji-override-0 - remove kernel

asked 2016-07-20 09:33:55 -0600

noammo gravatar image

I did sudo dnf update, and i get this

[noam@localhost-localdomain ~]$ sudo dnf update
[sudo] password for noam: 
Last metadata expiration check: 2:28:31 ago on Wed Jul 20 14:33:34 2016.
Dependencies resolved.
================================================================================
 Package          Arch     Version                     Repository          Size
================================================================================
Installing:
 kernel           x86_64   4.6.4-201.fc23              updates             62 k
 kernel-core      x86_64   4.6.4-201.fc23              updates             19 M
 kernel-modules   x86_64   4.6.4-201.fc23              updates             21 M
Upgrading:
 edk2-ovmf        noarch   20160418gita8c39ba-2.fc23   updates            2.8 M
 filezilla        x86_64   3.14.1-3.fc23               updates            4.1 M
 kde-settings     noarch   23-13.fc23                  updates             52 k
 kernel-headers   x86_64   4.6.4-201.fc23              updates            1.0 M
 qt-settings      noarch   23-13.fc23                  updates             25 k
Removing:
 kernel           x86_64   4.2.3-300.fc23              @koji-override-0     0  
 kernel-core      x86_64   4.2.3-300.fc23              @koji-override-0    51 M
 kernel-modules   x86_64   4.2.3-300.fc23              @koji-override-0    17 M

Transaction Summary
================================================================================
Install  3 Packages
Upgrade  5 Packages
Remove   3 Packages

Total download size: 48 M
Is this ok [y/N]: n
Operation aborted.
[noam@localhost-localdomain ~]$
  • the removing part is very strange..

first, idk this repo - @koji-override-0 I read a bit about that repo here

http://forums.fedoraforum.org/showthr...

but i'm still not sure if that's a good repo - accept the update, or a bad repo - abort the update (and may remove the repo?)

So should I update? Or abort the update and remove this repo?

Because I think, because the names of the packages that will be removed, that if I do accept this update, so it's may remove my kernel? It's sounds weird - why the system will remove his kernel, but that's the name of the packages, so I really don't know..

So what do I need to do? - I'm using fedora 23

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2016-07-20 11:10:38 -0600

florian gravatar image

The removing part is not too strange. Default settings in Fedora are to keep the 3 most recent kernels. As you add kernels to your system by updating it, dnf starts removing the oldest kernel(s). If you don't want to remove the old kernel(s)/keep a larger amount of kernels on your system, just modify the settings in /etc/dnf/dnf.conf (sudo nano /etc/dnf/dnf.conf or sudo gedit /etc/dnf/dnf.conf). There is a line that says

installonly_limit=3

Change it to whatever number of kernels you want to keep (>2) but be aware that each kernels consumes space on /boot, so don't fill this partition fully up.

edit flag offensive delete link more

Comments

ok, thanks a lot!

noammo gravatar imagenoammo ( 2016-07-21 05:57:56 -0600 )edit
1

answered 2016-07-20 11:09:06 -0600

aeperezt gravatar image

You can run the update with no problem.

What you see there in the removing part is the kernel that will be removed. Seems like it was installed from koji build system which is part of Fedora http://koji.fedoraproject.org in any case upgrade will work as what you doing is removin a old kernel.

Review your repos to check that nothing points to koji.

Good Luck.

edit flag offensive delete link more

Comments

ok, thanks you!

noammo gravatar imagenoammo ( 2016-07-21 05:56:55 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-20 09:33:55 -0600

Seen: 844 times

Last updated: Jul 20 '16