No new yum updates on CentOS 7

General support questions
vianxw
Posts: 1
Joined: 2020/04/20 22:01:31

No new yum updates on CentOS 7

Post by vianxw » 2020/04/23 19:52:12

Any suggestions as to why our CentOS 7.7 systems are no longer pulling the latest yum updates?
We have numerous systems that have consistently pulled yum updates for several years and yet lately have stopped.
All systems are running Linux Kernel 3.10.0-1062.12.1.el7.x86_64 on CentOS Linux release 7.7.1908 (Core)
Nessus scans are detecting and we've confirmed on the CentOS site that the latest release of kernel 3.10.0-1127.el7 is available syncing to mirrors back on April 8th yet yum is still saying "No packages marked for update".
rsyslog, bash and other packages are also available but not pulling down.
Repos have not changed.
repo id                                 repo name
base/7/x86_64                    CentOS-7 - Base
epel/x86_64                        Extra Packages for Enterprise Linux 7 - x86_64
extras/7/x86_64                  CentOS-7 - Extras
updates/7/x86_64               CentOS-7 - Updates      

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No new yum updates on CentOS 7

Post by TrevorH » 2020/04/23 23:24:05

RHEL 7.8 was released on 2020/03/31 and CentOS has rebuilt that. While that's in progress no update are issued (since they'd need to be built against the as-yet-unbuilt new point release). You can yum --enablerepo=cr update now to get what will be CentOS 7.8 when it's released.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

afewgoodman
Posts: 98
Joined: 2019/12/11 03:51:58

Re: No new yum updates on CentOS 7

Post by afewgoodman » 2020/04/24 04:07:51

TrevorH wrote:
2020/04/23 23:24:05
RHEL 7.8 was released on 2020/03/31 and CentOS has rebuilt that. While that's in progress no update are issued (since they'd need to be built against the as-yet-unbuilt new point release). You can yum --enablerepo=cr update now to get what will be CentOS 7.8 when it's released.
Hi Trevor,

If CentOS 7.8 is released, can we update with "yum update" again or it's frozen like CentOS 7.6?

BR.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: No new yum updates on CentOS 7

Post by jlehtone » 2020/04/24 05:42:24

For the lifetime of 7.7 the mirrors have directory 7.7-1908 that contains repositories "base", "updates", "extras", "cr", etc.
Mirrors also have a symlink "7" that points to "7.7-1908". Yum looks the repositories from the "7".

When 7.8 gets out the mirrors will populate directory 7.8-2003 and update the symlink to point to 7.8-2003.
Yum will then see 7.8's packages and plain "yum update" does what it should.

As said, a copy of most 7.8's packages is already in 7.7-1908/cr.

afewgoodman
Posts: 98
Joined: 2019/12/11 03:51:58

Re: No new yum updates on CentOS 7

Post by afewgoodman » 2020/04/24 07:45:04

jlehtone wrote:
2020/04/24 05:42:24
For the lifetime of 7.7 the mirrors have directory 7.7-1908 that contains repositories "base", "updates", "extras", "cr", etc.
Mirrors also have a symlink "7" that points to "7.7-1908". Yum looks the repositories from the "7".

When 7.8 gets out the mirrors will populate directory 7.8-2003 and update the symlink to point to 7.8-2003.
Yum will then see 7.8's packages and plain "yum update" does what it should.

As said, a copy of most 7.8's packages is already in 7.7-1908/cr.
Do you mean I can update CentOS 7.7 with "yum update" again after release CentOS 7.8 ? How long can I continue updating for CentOS7.7 ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No new yum updates on CentOS 7

Post by TrevorH » 2020/04/24 09:33:12

If you run yum update you will always be updated to the latest version unless you've done something to point yum to a specific point release (don't).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: No new yum updates on CentOS 7

Post by jlehtone » 2020/04/24 13:39:52

afewgoodman wrote:
2020/04/24 07:45:04
How long can I continue updating for CentOS7.7 ?
0 days. I don't think that any new updates for 7.7 will be made.

Now that Red Hat has released RHEL 7.8, they no longer give any updates to 7.7 (to the public).
The only thing that CentOS developers can access is the content and updates of 7.8 that Red Hat publishes.
Therefore, the only thing that CentOS can publish, is 7.8-based content.

It has already been published to CR repo. yum --enablerepo=cr update will update your system now.
It will be published as official CentOS 7.8 release. yum update will update your system when that has happened.

afewgoodman
Posts: 98
Joined: 2019/12/11 03:51:58

Re: No new yum updates on CentOS 7

Post by afewgoodman » 2020/04/25 06:26:08

Hi,

Many thanks for kindly explanation.

Have a nice weekend, guys.

BR.

linuxxadmin
Posts: 1
Joined: 2020/04/28 10:20:13

Re: No new yum updates on CentOS 7

Post by linuxxadmin » 2020/04/28 10:29:41

I see a kernel update on centos7 base repo kernel-3.10.0-1127.el7.x86_64.rpm. When I check the last updated date of it in http://mirror.centos.org/centos/7/os/x86_64/Packages/ it say 3rd April 2020 but I see that update on systems on 28th April 2020. How is it possible?

As per the Release announcements from centos https://lists.centos.org/pipermail/cent ... hread.html there are some releases on April 27th. Does it mean Centos published the changes on 28th but the date modified is shown as 3rd ?

Also want to understand the difference between the updates released on Updates repo vs base repo. Is it something like minor version changes like 7.7 to 7.8 are released on base repo and further updates on 7.8 is released on updates repo ?

Thanks,
Linuxadmin

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No new yum updates on CentOS 7

Post by TrevorH » 2020/04/28 10:47:08

RHEL 7.8 was released on 31/03/2020.. CentOS starts the rebuild of all packages and they are built. Once all are built and verified they are pushed to the 7.7 CR repo so that existing users can get them ASAP rather than waiting for the entire process to complete. Once they are in CR, attention turns to building ISO images and verifying that everything installs from those and once those are complete, 7.8 goes GA and replaces 7.7.

When a new point release comes out, base is replaced with the current set of packages as at RHEL point release time. New updates that are built after that go into the updates repo.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply