Re: System running SL 7 fails to update certain packages
On Tue, Jul 10, 2018 at 3:46 PM, Mark Stodola wrote: > On 07/10/2018 02:58 PM, Mark Stodola wrote: >> Do you have yum-conf-sl7x installed? I do. I did find that on the SL FAQ page earlier. ( https://urldefense.proofpoint.com/v2/url?u=https-3A__www.scientificlinux.org_documentation_faq_faq-2Dreleases_-23update-2Dlatest-2Drelease=DwIBaQ=gRgGjJ3BkIsb5y6s49QqsA=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A=AVyza5gjVLj4FbiNcJFK3BBrXQF80QXNAdnC7uIYRIY=IQWUhCyOWbIhHkBj1gMUG0rrxrPb9mkC8n_AXf_JWKk= ) >> What are the contents of: >> /etc/yum/vars/releasever 7 >> /etc/yum/vars/slreleasever 7.3 >> >> The newer kernels are generally available at each release version via the >> sl-security repo, so it is not a good measure. Ah, that's good to know. I had just assumed that the system always tried to upgrade in sync. > I forgot to provide a fix/solution for you... > > If you do not have yum-conf-sl7x install it. > If it is installed, do a 'yum reinstall yum-conf-sl7x'. This reinstall seems to have been the fix. I had to spread checking and updating/rebooting across two maintenance windows, but this is the only actual change I made that hadn't been done before. After this I did a 'yum clean all' and 'rm -rf /var/cache/yum' before another run of 'yum check-update'. That time it found a list of 269 packages to be updated and brought the system up to 7.5 when they were installed. > yum-conf-sl7x and sl-release. There is an rpm trigger to (hopefully) handle > this gracefully. See /var/libexec/sl-release/set-release.sh. I didn't find that script on the system, or even that path. Some poking with find and I came up with /usr/libexec/sl-release/set-slrelease.sh which looks to do what you describe. Thank you very much for the help! I now have a fully updated and patched server again.
Re: System running SL 7 fails to update certain packages
On 07/10/2018 02:58 PM, Mark Stodola wrote: On 07/10/2018 02:39 PM, Jon Pruente wrote: I've got a server running SL 7.3 and while it has installed many updates including recent ones under the 7.5 update, it is not installing all updates to a full SL 7.5 system. I've tried 'yum clean all' and 'rm -rf /var/cache/yum' and they didn't help. The only clue is that 'yum check' returned an error, but I don't know if it is enough to cause yum to just ignore updating seemingly unrelated packages while allowing others. I would assume that a conflict with a kmod would block a kernel update but it does not. What other steps can I do to try to troubleshoot or fix this? [root@Server log]# yum check Loaded plugins: fastestmirror kmod-redhat-mpt3sas-14.101.00.00-1.el7_3.x86_64 has installed conflicts mpt3sas-kmod: kmod-redhat-mpt3sas-14.101.00.00-1.el7_3.x86_64 Error: check all It appears to be stuck at SL 7.3 according to: [root@Server log]# yum info sl-release Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: mirrors.syringanetworks.net * repos: ftp.scientificlinux.org * sl: ftp.scientificlinux.org * sl-extras: ftp.scientificlinux.org * sl-fastbugs: ftp.scientificlinux.org * sl-security: ftp.scientificlinux.org Installed Packages Name : sl-release Arch : x86_64 Version : 7.3 Release : 4.sl7 Size : 69 k Repo : installed From repo : sl Summary : Scientific Linux release file License : GPLv2 Description : Scientific Linux release files However, it has updated to and is running the kernel for the 7.5 release: [root@Server log]# uname -a Linux Server.Company.com 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 12:13:22 CDT 2018 x86_64 x86_64 x86_64 GNU/Linux [root@Server log]# rpm -qa kernel kernel-3.10.0-862.6.3.el7.x86_64 kernel-3.10.0-514.21.1.el7.x86_64 kernel-3.10.0-693.11.6.el7.x86_64 Thanks. Do you have yum-conf-sl7x installed? What are the contents of: /etc/yum/vars/releasever /etc/yum/vars/slreleasever The newer kernels are generally available at each release version via the sl-security repo, so it is not a good measure. I forgot to provide a fix/solution for you... If you do not have yum-conf-sl7x install it. If it is installed, do a 'yum reinstall yum-conf-sl7x'. Alternately, change /etc/yum/vars/slreleasever to contain 7x The output of 'yum repolist all' should list the sl repositories as 7x instead of 7.3. This might happen because the slreleasever file is provided by both yum-conf-sl7x and sl-release. There is an rpm trigger to (hopefully) handle this gracefully. See /var/libexec/sl-release/set-release.sh.
Re: System running SL 7 fails to update certain packages
On 07/10/2018 02:39 PM, Jon Pruente wrote: I've got a server running SL 7.3 and while it has installed many updates including recent ones under the 7.5 update, it is not installing all updates to a full SL 7.5 system. I've tried 'yum clean all' and 'rm -rf /var/cache/yum' and they didn't help. The only clue is that 'yum check' returned an error, but I don't know if it is enough to cause yum to just ignore updating seemingly unrelated packages while allowing others. I would assume that a conflict with a kmod would block a kernel update but it does not. What other steps can I do to try to troubleshoot or fix this? [root@Server log]# yum check Loaded plugins: fastestmirror kmod-redhat-mpt3sas-14.101.00.00-1.el7_3.x86_64 has installed conflicts mpt3sas-kmod: kmod-redhat-mpt3sas-14.101.00.00-1.el7_3.x86_64 Error: check all It appears to be stuck at SL 7.3 according to: [root@Server log]# yum info sl-release Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: mirrors.syringanetworks.net * repos: ftp.scientificlinux.org * sl: ftp.scientificlinux.org * sl-extras: ftp.scientificlinux.org * sl-fastbugs: ftp.scientificlinux.org * sl-security: ftp.scientificlinux.org Installed Packages Name: sl-release Arch: x86_64 Version : 7.3 Release : 4.sl7 Size: 69 k Repo: installed From repo : sl Summary : Scientific Linux release file License : GPLv2 Description : Scientific Linux release files However, it has updated to and is running the kernel for the 7.5 release: [root@Server log]# uname -a Linux Server.Company.com 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 12:13:22 CDT 2018 x86_64 x86_64 x86_64 GNU/Linux [root@Server log]# rpm -qa kernel kernel-3.10.0-862.6.3.el7.x86_64 kernel-3.10.0-514.21.1.el7.x86_64 kernel-3.10.0-693.11.6.el7.x86_64 Thanks. Do you have yum-conf-sl7x installed? What are the contents of: /etc/yum/vars/releasever /etc/yum/vars/slreleasever The newer kernels are generally available at each release version via the sl-security repo, so it is not a good measure.
System running SL 7 fails to update certain packages
I've got a server running SL 7.3 and while it has installed many updates including recent ones under the 7.5 update, it is not installing all updates to a full SL 7.5 system. I've tried 'yum clean all' and 'rm -rf /var/cache/yum' and they didn't help. The only clue is that 'yum check' returned an error, but I don't know if it is enough to cause yum to just ignore updating seemingly unrelated packages while allowing others. I would assume that a conflict with a kmod would block a kernel update but it does not. What other steps can I do to try to troubleshoot or fix this? [root@Server log]# yum check Loaded plugins: fastestmirror kmod-redhat-mpt3sas-14.101.00.00-1.el7_3.x86_64 has installed conflicts mpt3sas-kmod: kmod-redhat-mpt3sas-14.101.00.00-1.el7_3.x86_64 Error: check all It appears to be stuck at SL 7.3 according to: [root@Server log]# yum info sl-release Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * epel: mirrors.syringanetworks.net * repos: ftp.scientificlinux.org * sl: ftp.scientificlinux.org * sl-extras: ftp.scientificlinux.org * sl-fastbugs: ftp.scientificlinux.org * sl-security: ftp.scientificlinux.org Installed Packages Name: sl-release Arch: x86_64 Version : 7.3 Release : 4.sl7 Size: 69 k Repo: installed >From repo : sl Summary : Scientific Linux release file License : GPLv2 Description : Scientific Linux release files However, it has updated to and is running the kernel for the 7.5 release: [root@Server log]# uname -a Linux Server.Company.com 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 12:13:22 CDT 2018 x86_64 x86_64 x86_64 GNU/Linux [root@Server log]# rpm -qa kernel kernel-3.10.0-862.6.3.el7.x86_64 kernel-3.10.0-514.21.1.el7.x86_64 kernel-3.10.0-693.11.6.el7.x86_64 Thanks.