yum update not see packages
yum update not see packages
Hi,
My server has centos_updates repo added, but when I run yum update, it doesn't see the new kernel nor the new packages.
I've looked online and it appears that the packages are available in: centos-release-7-9.2009.1.el7.centos.x86_64.rpm
Do I need to do something to make this rpm available in updates? Why does it not appear in the centos_updates, or is this just a timing issue?
Thanks for any help
My server has centos_updates repo added, but when I run yum update, it doesn't see the new kernel nor the new packages.
I've looked online and it appears that the packages are available in: centos-release-7-9.2009.1.el7.centos.x86_64.rpm
Do I need to do something to make this rpm available in updates? Why does it not appear in the centos_updates, or is this just a timing issue?
Thanks for any help
Re: yum update not see packages
First of all, what CentOS release are you running currently?
And what version of centos-release is installed?
Further, is the updates repo really enabled?
Code: Select all
cat /etc/centos-release
Code: Select all
rpm -q centos-release
Code: Select all
yum -q repolist
Last edited by sml on 2021/01/13 14:19:16, edited 1 time in total.
Re: yum update not see packages
If your updates repo is called centos_updates then it sounds like it's not using a CentOS mirror. You should check what it is using and if it is up to date.
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
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
Re: yum update not see packages
Hi,
Thanks for the updates. Here's the output:
cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
rpm -q centos-release
centos-release-7-9.2009.1.el7.centos.x86_64
yum -q repolist
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,072
elrepo ELRepo.org Community Enterprise Linux Repository - el7 105
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,492
extras/7/x86_64 CentOS-7 - Extras 448
nginx/x86_64 nginx repo 761
nodesource/x86_64 Node.js Packages for Enterprise Linux 7 - x86_64 119
openlogic/7/x86_64 CentOS-7 - openlogic packages for x86_64 22
packages-microsoft-com-prod packages-microsoft-com-prod 754
updates/7/x86_64 CentOS-7 - Updates 778
Thanks for the updates. Here's the output:
cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
rpm -q centos-release
centos-release-7-9.2009.1.el7.centos.x86_64
yum -q repolist
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,072
elrepo ELRepo.org Community Enterprise Linux Repository - el7 105
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,492
extras/7/x86_64 CentOS-7 - Extras 448
nginx/x86_64 nginx repo 761
nodesource/x86_64 Node.js Packages for Enterprise Linux 7 - x86_64 119
openlogic/7/x86_64 CentOS-7 - openlogic packages for x86_64 22
packages-microsoft-com-prod packages-microsoft-com-prod 754
updates/7/x86_64 CentOS-7 - Updates 778
Re: yum update not see packages
Why do you think there are uninstalled updates?
Re: yum update not see packages
There was a new kernel (3.10.0-1160.11.1) released
around 22 Dec, and a handful others rpms on 18 Dec.
You can list newest installed packages with this:
rpm -qa --last | more
around 22 Dec, and a handful others rpms on 18 Dec.
You can list newest installed packages with this:
rpm -qa --last | more
Re: yum update not see packages
I've checked using rpm -qa --last | more and the most recent patches applied were on Dec 16th, so the most recent kernel and patches aren't listed at all.
Is there someway that I need to refresh the repository to see the changes?
Is there someway that I need to refresh the repository to see the changes?
Re: yum update not see packages
What CentOS mirror are you using?
Code: Select all
yum -q repoinfo updates
Re: yum update not see packages
Here's the mirror I'm using:
yum -q repoinfo updates
Repo-id : updates/7/x86_64
Repo-name : CentOS-7 - Updates
Repo-status : enabled
Repo-revision: 1607408543
Repo-updated : Tue Dec 8 06:22:43 2020
Repo-pkgs : 778
Repo-size : 3.7 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7 ... nfra=stock
Repo-baseurl : http://mirror.jaleco.com/centos/7.9.200 ... es/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Thu Jan 14 06:13:05 2021)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
yum -q repoinfo updates
Repo-id : updates/7/x86_64
Repo-name : CentOS-7 - Updates
Repo-status : enabled
Repo-revision: 1607408543
Repo-updated : Tue Dec 8 06:22:43 2020
Repo-pkgs : 778
Repo-size : 3.7 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7 ... nfra=stock
Repo-baseurl : http://mirror.jaleco.com/centos/7.9.200 ... es/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Thu Jan 14 06:13:05 2021)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo
Re: yum update not see packages
This is strange. Can you access mirrorlist.centos.org?
Code: Select all
curl 'http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock'
Code: Select all
sudo yum clean all
sudo yum -v makecache