Author Topic: yum/rpm updates not getting updated  (Read 1092 times)

0 Members and 1 Guest are viewing this topic.

Online
***
yum/rpm updates not getting updated
« on: September 08, 2025, 05:42:05 AM »
Quote
Last metadata expiration check: 0:00:37 ago on Mon Sep  8 14:32:40 2025.
Dependencies resolved.
============================================================================================
 Package                            Arch    Version                         Repo        Size
============================================================================================
Installing:
 kernel                             x86_64  4.18.0-553.72.1.el8_10          baseos      11 M
 kernel-core                        x86_64  4.18.0-553.72.1.el8_10          baseos      44 M
 kernel-modules                     x86_64  4.18.0-553.72.1.el8_10          baseos      36 M
Upgrading:
 NetworkManager                     x86_64  1:1.40.16-20.el8_10             baseos     2.3 M
 NetworkManager-libnm               x86_64  1:1.40.16-20.el8_10             baseos     1.9 M
 NetworkManager-team                x86_64  1:1.40.16-20.el8_10             baseos     160 k
 NetworkManager-tui                 x86_64  1:1.40.16-20.el8_10             baseos     355 k
 bash                               x86_64  4.4.20-6.el8_10                 baseos     1.5 M
 clamav                             x86_64  1.4.3-2.el8                     epel       4.9 M
 clamav-data                        noarch  1.4.3-2.el8                     epel       225 M
 clamav-filesystem                  noarch  1.4.3-2.el8                     epel        51 k
 clamav-freshclam                   x86_64  1.4.3-2.el8                     epel       2.4 M
 clamav-lib                         x86_64  1.4.3-2.el8                     epel       3.0 M
 clamd                              x86_64  1.4.3-2.el8                     epel       130 k
 cpp                                x86_64  8.5.0-28.el8_10.alma.1          baseos      10 M
 cwp-httpd                          x86_64  2.4.65-1                        cwp        5.7 M
 dbus                               x86_64  1:1.12.8-27.el8_10              baseos      41 k
 dbus-common                        noarch  1:1.12.8-27.el8_10              baseos      46 k
 dbus-daemon                        x86_64  1:1.12.8-27.el8_10              baseos     241 k
 dbus-libs                          x86_64  1:1.12.8-27.el8_10              baseos     184 k
 dbus-tools                         x86_64  1:1.12.8-27.el8_10              baseos      86 k
 elfutils-debuginfod-client         x86_64  0.190-2.el8.alma.1              baseos      76 k
 elfutils-debuginfod-client-devel   x86_64  0.190-2.el8.alma.1              baseos      59 k
 elfutils-default-yama-scope        noarch  0.190-2.el8.alma.1              baseos      52 k
 elfutils-devel                     x86_64  0.190-2.el8.alma.1              baseos      89 k
 elfutils-libelf                    x86_64  0.190-2.el8.alma.1              baseos     232 k
 elfutils-libelf-devel              x86_64  0.190-2.el8.alma.1              baseos      61 k
 elfutils-libs                      x86_64  0.190-2.el8.alma.1              baseos     304 k
 gcc                                x86_64  8.5.0-28.el8_10.alma.1          baseos      23 M
 gcc-c++                            x86_64  8.5.0-28.el8_10.alma.1          appstream   12 M
 gcc-plugin-annobin                 x86_64  8.5.0-28.el8_10.alma.1          baseos      36 k
 kernel-headers                     x86_64  4.18.0-553.72.1.el8_10          baseos      12 M
 kernel-tools                       x86_64  4.18.0-553.72.1.el8_10          baseos      11 M
 kernel-tools-libs                  x86_64  4.18.0-553.72.1.el8_10          baseos      11 M
 libarchive                         x86_64  3.3.3-6.el8_10                  baseos     359 k
 libgcc                             x86_64  8.5.0-28.el8_10.alma.1          baseos      81 k
 libgomp                            x86_64  8.5.0-28.el8_10.alma.1          baseos     208 k
 libstdc++                          x86_64  8.5.0-28.el8_10.alma.1          baseos     473 k
 libstdc++-devel                    x86_64  8.5.0-28.el8_10.alma.1          appstream  2.1 M
 libudisks2                         x86_64  2.9.0-16.el8_10.1               appstream  184 k
 libxslt                            x86_64  1.1.32-6.3.el8_10               baseos     249 k
 libxslt-devel                      x86_64  1.1.32-6.3.el8_10               appstream  322 k
 linux-firmware                     noarch  20250805-132.git37b63dc3.el8_10 baseos     558 M
 pam                                x86_64  1.3.1-38.el8_10                 baseos     749 k
 pam-devel                          x86_64  1.3.1-38.el8_10                 baseos     211 k
 platform-python                    x86_64  3.6.8-71.el8_10.alma.1          baseos      88 k
 python3-cryptography               x86_64  3.2.1-8.el8_10                  baseos     558 k
 python3-libs                       x86_64  3.6.8-71.el8_10.alma.1          baseos     7.8 M
 python3-perf                       x86_64  4.18.0-553.72.1.el8_10          baseos      11 M
 sudo                               x86_64  1.9.5p2-1.el8_10.2              baseos     1.0 M
 tar                                x86_64  2:1.30-11.el8_10                baseos     838 k
 udisks2                            x86_64  2.9.0-16.el8_10.1               appstream  474 k
 which                              x86_64  2.21-21.el8_10                  baseos      49 k
Removing:
 kernel                             x86_64  4.18.0-553.64.1.el8_10          @baseos      0 
 kernel-core                        x86_64  4.18.0-553.64.1.el8_10          @baseos     71 M
 kernel-modules                     x86_64  4.18.0-553.64.1.el8_10          @baseos     25 M

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

Total size: 1.0 G
Downloading Packages:
[SKIPPED] kernel-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded         
[SKIPPED] kernel-core-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded   
[SKIPPED] kernel-modules-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded
[SKIPPED] cwp-httpd-2.4.65-1.x86_64.rpm: Already downloaded                   
[SKIPPED] NetworkManager-1.40.16-20.el8_10.x86_64.rpm: Already downloaded     
[SKIPPED] NetworkManager-libnm-1.40.16-20.el8_10.x86_64.rpm: Already downloaded
[SKIPPED] NetworkManager-team-1.40.16-20.el8_10.x86_64.rpm: Already downloaded
[SKIPPED] NetworkManager-tui-1.40.16-20.el8_10.x86_64.rpm: Already downloaded 
[SKIPPED] bash-4.4.20-6.el8_10.x86_64.rpm: Already downloaded                 
[SKIPPED] cpp-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded           
[SKIPPED] dbus-1.12.8-27.el8_10.x86_64.rpm: Already downloaded                 
[SKIPPED] dbus-common-1.12.8-27.el8_10.noarch.rpm: Already downloaded         
[SKIPPED] dbus-daemon-1.12.8-27.el8_10.x86_64.rpm: Already downloaded         
[SKIPPED] dbus-libs-1.12.8-27.el8_10.x86_64.rpm: Already downloaded           
[SKIPPED] dbus-tools-1.12.8-27.el8_10.x86_64.rpm: Already downloaded           
[SKIPPED] elfutils-debuginfod-client-0.190-2.el8.alma.1.x86_64.rpm: Already downloaded
[SKIPPED] elfutils-debuginfod-client-devel-0.190-2.el8.alma.1.x86_64.rpm: Already downloaded
[SKIPPED] elfutils-default-yama-scope-0.190-2.el8.alma.1.noarch.rpm: Already downloaded
[SKIPPED] elfutils-devel-0.190-2.el8.alma.1.x86_64.rpm: Already downloaded     
[SKIPPED] elfutils-libelf-0.190-2.el8.alma.1.x86_64.rpm: Already downloaded   
[SKIPPED] elfutils-libelf-devel-0.190-2.el8.alma.1.x86_64.rpm: Already downloaded
[SKIPPED] elfutils-libs-0.190-2.el8.alma.1.x86_64.rpm: Already downloaded     
[SKIPPED] gcc-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded           
[SKIPPED] gcc-plugin-annobin-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded
[SKIPPED] kernel-headers-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded
[SKIPPED] kernel-tools-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded   
[SKIPPED] kernel-tools-libs-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded
[SKIPPED] libarchive-3.3.3-6.el8_10.x86_64.rpm: Already downloaded             
[SKIPPED] libgcc-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded         
[SKIPPED] libgomp-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded       
[SKIPPED] libstdc++-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded     
[SKIPPED] libxslt-1.1.32-6.3.el8_10.x86_64.rpm: Already downloaded             
[SKIPPED] linux-firmware-20250805-132.git37b63dc3.el8_10.noarch.rpm: Already downloaded
[SKIPPED] pam-1.3.1-38.el8_10.x86_64.rpm: Already downloaded                   
[SKIPPED] pam-devel-1.3.1-38.el8_10.x86_64.rpm: Already downloaded             
[SKIPPED] platform-python-3.6.8-71.el8_10.alma.1.x86_64.rpm: Already downloaded
[SKIPPED] python3-cryptography-3.2.1-8.el8_10.x86_64.rpm: Already downloaded   
[SKIPPED] python3-libs-3.6.8-71.el8_10.alma.1.x86_64.rpm: Already downloaded   
[SKIPPED] python3-perf-4.18.0-553.72.1.el8_10.x86_64.rpm: Already downloaded   
[SKIPPED] sudo-1.9.5p2-1.el8_10.2.x86_64.rpm: Already downloaded               
[SKIPPED] tar-1.30-11.el8_10.x86_64.rpm: Already downloaded                   
[SKIPPED] which-2.21-21.el8_10.x86_64.rpm: Already downloaded                 
[SKIPPED] gcc-c++-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded       
[SKIPPED] libstdc++-devel-8.5.0-28.el8_10.alma.1.x86_64.rpm: Already downloaded
[SKIPPED] libudisks2-2.9.0-16.el8_10.1.x86_64.rpm: Already downloaded         
[SKIPPED] libxslt-devel-1.1.32-6.3.el8_10.x86_64.rpm: Already downloaded       
[SKIPPED] udisks2-2.9.0-16.el8_10.1.x86_64.rpm: Already downloaded             
[SKIPPED] clamav-1.4.3-2.el8.x86_64.rpm: Already downloaded                   
[SKIPPED] clamav-data-1.4.3-2.el8.noarch.rpm: Already downloaded               
[SKIPPED] clamav-filesystem-1.4.3-2.el8.noarch.rpm: Already downloaded         
[SKIPPED] clamav-freshclam-1.4.3-2.el8.x86_64.rpm: Already downloaded         
[SKIPPED] clamav-lib-1.4.3-2.el8.x86_64.rpm: Already downloaded               
[SKIPPED] clamd-1.4.3-2.el8.x86_64.rpm: Already downloaded                     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.


Tried yum clean packages

It results in same issue (Packages gets downloaded again)

What can be done?

Offline
*****
Re: yum/rpm updates not getting updated
« Reply #1 on: September 08, 2025, 09:53:59 AM »
EL8 is in it's Security Only update phase.

When running update under EL8 and after should be:
Code: [Select]
dnf --refresh update
In other words, if there is no security fix to a package, then you won't see any updates.

EL8 covers RHEL 8, AlmaLinux 8, Rocky 8, any EL8 clone.

One reason why we've only brought EL9 servers online for awhile, even with the small amount of CWP bugs.

Unfortunately one of them is resource control. They changed how it worked from under EL7/EL8.
But for out clients, that's not a big deal.
Neither is anything under PHP 7.4

Online
***
Re: yum/rpm updates not getting updated
« Reply #2 on: September 08, 2025, 10:31:20 AM »
Quote
dnf --refresh update

Results in

Quote
install 3 packages
Update 50 packages
Remove 3 packages

Total size 1.0 G

is this ok (y/N): operation aborted

Online
***
Re: yum/rpm updates not getting updated
« Reply #3 on: September 08, 2025, 10:48:18 AM »
Looks like I have hit another issue

My /boot is 96% full

Getting error

Quote
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  installing package kernel-core-4.18.0-553.72.1.el8_10.x86_64 needs 28MB on the /boot filesystem

Error Summary
-------------
Disk Requirements:
   At least 28MB more space needed on the /boot filesystem.

Offline
*****
Re: yum/rpm updates not getting updated
« Reply #4 on: September 08, 2025, 12:38:22 PM »
Yes, 20% free disk space is a good operating rule of thumb. I would clear large files, particularly ballooning log files:
https://www.tomshardware.com/software/linux/how-to-find-large-files-on-any-linux-machine

Offline
*****
Re: yum/rpm updates not getting updated
« Reply #5 on: September 08, 2025, 07:01:34 PM »
The /boot is usually filled with too many Kernel versions.

Simple way to clean that partition up is with:
Code: [Select]
dnf remove --oldinstallonly --setopt installonly_limit=5 kernel
The above example will limit it to the current and 4 past kernels.

Offline
*****
Re: yum/rpm updates not getting updated
« Reply #6 on: September 08, 2025, 09:01:13 PM »
On a production server, I usually only keep 2-3 kernels (usually 2 -- I am stingy).

Offline
*****
Re: yum/rpm updates not getting updated
« Reply #7 on: September 09, 2025, 08:55:38 PM »
On a production server, I usually only keep 2-3 kernels (usually 2 -- I am stingy).

I use to keep 3, but depending on the size of /boot, 3-4 seems to be the sweet spot.

(At least that's what she said)...

Online
***
Re: yum/rpm updates not getting updated
« Reply #8 on: September 10, 2025, 11:17:14 AM »
I have tried

dnf remove --oldinstallonly --setopt installonly_limit=2 kernel

Earlier it was 3

Problem not yet resolved

Allocated space for /boot is 200M

How to increase it? is cfdisk safe? There seems to be no unallocated space left

I need to first reduce size of / which has 598G (497G free)




Offline
*****
Re: yum/rpm updates not getting updated
« Reply #9 on: September 10, 2025, 12:45:09 PM »
Wow, that's small. I have 1GB for /boot on my server:
Code: [Select]
Filesystem                       Size  Used Avail Use% Mounted on
/dev/sda1                       1014M  283M  732M  28% /boot
Do a full backup before proceeding. Tread lightly!

You would probably need to use GParted (or another similar tool) to resize the partition, as long as the partition is not mounted (so ideally using a GParted Live boot media). The main concern in this case would be another partition located immediately after the /boot partition, which would have to be shrunk in size. This could take a long time if the starting point of the partition needs to be shifted. (Repeat: always make a backup before modifying partitions that contain important data...)

Offline
*****
Re: yum/rpm updates not getting updated
« Reply #10 on: September 10, 2025, 06:44:31 PM »
Agreed, be careful, because you are going to have to reduce the size of another partition to make free space to expand /boot.

/boot should be about 1024MB
So should /boot/efi, if your server has that enabled.

If you used Automatic partitioning, you should have been OK.
Most images I've seen have had enough space as well.