Ask Your Question
0

Two of my three Fedora 21 systems have updated to new kernel, but one doesn't find it?

asked 2015-02-17 08:46:25 -0600

updated 2015-02-17 12:42:48 -0600

mether gravatar image

I have 3 Fedora 21 systems, 2 have got the latest kernel:

kernel.x86_64                                             3.18.7-200.fc21

but one system can't find this update:

root ~ # yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * fedora: ftp.icm.edu.pl
 * rpmfusion-free: ftp.icm.edu.pl
 * rpmfusion-free-updates: ftp.icm.edu.pl
 * rpmfusion-nonfree: ftp.icm.edu.pl
 * rpmfusion-nonfree-updates: ftp.icm.edu.pl
 * updates: ftp.icm.edu.pl
No packages marked for update

Installed Packages
kernel.x86_64                                             3.18.3-201.fc21                                             @updates
kernel.x86_64                                             3.18.5-201.fc21                                             @updates
kernel.x86_64                                             3.18.6-200.fc21                                             @updates

Why is that?

What can I do so this doesn't happen?

EDIT #1

Here is my repo file for one system that has the update:

/etc/yum.repos.d/fedora-updates.repo

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

Here is the repo file for the system that does not have the update:

/etc/yum.repos.d/fedora-updates.repo

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
metadata_expire=6h
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
edit retag flag offensive close merge delete

Comments

@everyone I just checked and the update is become available for the last system, but if someone could elaborate why it was so much later on on system and many hours sooner on the two. Then I also can accept an answer for this question.

somethingSomething gravatar imagesomethingSomething ( 2015-02-17 11:55:20 -0600 )edit

different mirror can cause different update time...Or are you sure that all three systems are using the same server?

florian gravatar imageflorian ( 2015-02-18 20:00:11 -0600 )edit

@Florian I'm sure they have the same baseurl in the repo file, don't know about the mirrors chosen on the update tries, but I was just wondering, if and why there are so much difference between systems, it was many hours later that the update became available for the last system. But maybe it's not a big deal. I just feel it would be good practice to have some kind of file list/ check to find the updates and if it was not available in one mirror then yum searches on another mirror. This seems odd to me.

somethingSomething gravatar imagesomethingSomething ( 2015-02-19 08:00:41 -0600 )edit

Mirrors are not under fedora control. Their admins may choose arbitrary synchronization rate. If you disable metalink and use just baserurl, then still this may happen if you do not force metadata to be updated (yum clean all, yum check-update), but most of the time you should get the updates at the same time.

covex gravatar imagecovex ( 2015-08-19 15:15:28 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-02-18 12:43:32 -0600

covex gravatar image

This simply happens as every computer may choose a different repository mirror from the mirror list. This mirror may be out of sync, or may sync in longer time frame.

edit flag offensive delete link more

Comments

@covex It happens frequently and never on the other systems so this is unlikely the cause.

somethingSomething gravatar imagesomethingSomething ( 2015-03-21 14:09:52 -0600 )edit
0

answered 2015-02-17 11:15:28 -0600

linuxarpan gravatar image

do they both have same repolist

edit flag offensive delete link more

Comments

@linuxarpan I'll check that and edit my quesion, good point.

somethingSomething gravatar imagesomethingSomething ( 2015-02-17 11:41:44 -0600 )edit

You can replace your working computer repo file with the computar not updating

linuxarpan gravatar imagelinuxarpan ( 2015-03-21 13:02:56 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-02-17 08:46:25 -0600

Seen: 606 times

Last updated: Feb 18 '15