![](https://seccdn.libravatar.org/avatar/d1202478b2dd190560eab808bafaa944.jpg?s=120&d=mm&r=g)
Most of our CentOS 7 servers are reporting that grub2 package needs to be upgraded, but they all fail to upgrade, giving this error message: comment: |- The following packages failed to install/update: grub2-common=1:2.02-0.87.el7.centos.7, grub2=1:2.02-0.87.el7.centos.7, grub2-pc-modules=1:2.02-0.87.el7.centos.7, grub2-tools-minimal=1:2.02-0.87.el7.centos.7, grub2-pc=1:2.02-0.87.el7.centos.7, grub2-tools=1:2.02-0.87.el7.centos.7, grub2-tools-extra=1:2.02-0.87.el7.centos.7 (code 2) When I manually run yum update on these servers, I get "No packages marked for update". So why is Uyuni reporting that grub2 needs to be updated? [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/ Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D86073.1C59C3A0]
![](https://seccdn.libravatar.org/avatar/48fbf895b3ec71cc5d479a3894598c38.jpg?s=120&d=mm&r=g)
Looks like something is wrong with the calculation while there is an epoch in the package. Try to check with any of these packages: 1. What is the installed package's EVR (Epoch, Version, Release) 2. What are EVRs of the same package available with the channels assigned to this client 3. What EVRs are shown on the page with suggested updates. Victor ________________________________ From: McGranahan, Jamen (VU) via Uyuni Users <users@lists.uyuni-project.org> Sent: Thursday, May 5, 2022 7:32:24 PM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu> Subject: grub2 Most of our CentOS 7 servers are reporting that grub2 package needs to be upgraded, but they all fail to upgrade, giving this error message: comment: |- The following packages failed to install/update: grub2-common=1:2.02-0.87.el7.centos.7, grub2=1:2.02-0.87.el7.centos.7, grub2-pc-modules=1:2.02-0.87.el7.centos.7, grub2-tools-minimal=1:2.02-0.87.el7.centos.7, grub2-pc=1:2.02-0.87.el7.centos.7, grub2-tools=1:2.02-0.87.el7.centos.7, grub2-tools-extra=1:2.02-0.87.el7.centos.7 (code 2) When I manually run yum update on these servers, I get “No packages marked for update”. So why is Uyuni reporting that grub2 needs to be updated? [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/ Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D86073.1C59C3A0]
![](https://seccdn.libravatar.org/avatar/d1202478b2dd190560eab808bafaa944.jpg?s=120&d=mm&r=g)
OK, our systems are running version 2.02, release 0.81.el7; the CentOS channel in Uyuni shows that there is a version 2.02 release 0.87.el7. Yet when I do a yum list command from one of our servers, all I see is the local installed package - it's not picking up the one on the Uyuni system: [root@libvm21 yum.repos.d]# yum list grub2-2.02* Loaded plugins: fastestmirror, susemanagerplugin, tmprepo, venv-yumnotify Loading mirror speeds from cached hostfile Installed Packages grub2.x86_64 1:2.02-0.81.el7.centos @base [root@libvm21 yum.repos.d]# [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/ Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D8607D.674AE650] From: Victor Zhestkov <Victor.Zhestkov@suse.com> Sent: Thursday, May 5, 2022 11:40 AM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu> Subject: Re: grub2 Looks like something is wrong with the calculation while there is an epoch in the package. Try to check with any of these packages: 1. What is the installed package's EVR (Epoch, Version, Release) 2. What are EVRs of the same package available with the channels assigned to this client 3. What EVRs are shown on the page with suggested updates. Victor ________________________________ From: McGranahan, Jamen (VU) via Uyuni Users <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Sent: Thursday, May 5, 2022 7:32:24 PM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu>> Subject: grub2 Most of our CentOS 7 servers are reporting that grub2 package needs to be upgraded, but they all fail to upgrade, giving this error message: comment: |- The following packages failed to install/update: grub2-common=1:2.02-0.87.el7.centos.7, grub2=1:2.02-0.87.el7.centos.7, grub2-pc-modules=1:2.02-0.87.el7.centos.7, grub2-tools-minimal=1:2.02-0.87.el7.centos.7, grub2-pc=1:2.02-0.87.el7.centos.7, grub2-tools=1:2.02-0.87.el7.centos.7, grub2-tools-extra=1:2.02-0.87.el7.centos.7 (code 2) When I manually run yum update on these servers, I get "No packages marked for update". So why is Uyuni reporting that grub2 needs to be updated? [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.library.vanderbilt.edu%2F&data=05%7C01%7Cjamen.mcgranahan%40vanderbilt.edu%7C0d584f47009f412f928508da2eb5e097%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637873655948277733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kGnnbF4Y%2B%2BRlrNQXKXLwI6hWQ3W9H%2FYDSCF%2BKs%2FbcrM%3D&reserved=0> Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D8607D.674AE650]
![](https://seccdn.libravatar.org/avatar/48fbf895b3ec71cc5d479a3894598c38.jpg?s=120&d=mm&r=g)
Do you see any epoch specified in the channel on Uyuni side? Maybe in the details of the package. For me it sounds like an issue of resolving the updates on server side. If you haven't open an issue on the github about this problem, it's better to do it to make developers aware of it. Victor ________________________________ From: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu> Sent: Thursday, May 5, 2022 8:41:14 PM To: Victor Zhestkov <Victor.Zhestkov@suse.com>; General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org> Subject: RE: grub2 OK, our systems are running version 2.02, release 0.81.el7; the CentOS channel in Uyuni shows that there is a version 2.02 release 0.87.el7. Yet when I do a yum list command from one of our servers, all I see is the local installed package – it’s not picking up the one on the Uyuni system: [root@libvm21 yum.repos.d]# yum list grub2-2.02* Loaded plugins: fastestmirror, susemanagerplugin, tmprepo, venv-yumnotify Loading mirror speeds from cached hostfile Installed Packages grub2.x86_64 1:2.02-0.81.el7.centos @base [root@libvm21 yum.repos.d]# [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/ Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D8607D.674AE650] From: Victor Zhestkov <Victor.Zhestkov@suse.com> Sent: Thursday, May 5, 2022 11:40 AM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu> Subject: Re: grub2 Looks like something is wrong with the calculation while there is an epoch in the package. Try to check with any of these packages: 1. What is the installed package's EVR (Epoch, Version, Release) 2. What are EVRs of the same package available with the channels assigned to this client 3. What EVRs are shown on the page with suggested updates. Victor ________________________________ From: McGranahan, Jamen (VU) via Uyuni Users <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Sent: Thursday, May 5, 2022 7:32:24 PM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu>> Subject: grub2 Most of our CentOS 7 servers are reporting that grub2 package needs to be upgraded, but they all fail to upgrade, giving this error message: comment: |- The following packages failed to install/update: grub2-common=1:2.02-0.87.el7.centos.7, grub2=1:2.02-0.87.el7.centos.7, grub2-pc-modules=1:2.02-0.87.el7.centos.7, grub2-tools-minimal=1:2.02-0.87.el7.centos.7, grub2-pc=1:2.02-0.87.el7.centos.7, grub2-tools=1:2.02-0.87.el7.centos.7, grub2-tools-extra=1:2.02-0.87.el7.centos.7 (code 2) When I manually run yum update on these servers, I get “No packages marked for update”. So why is Uyuni reporting that grub2 needs to be updated? [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.library.vanderbilt.edu%2F&data=05%7C01%7Cjamen.mcgranahan%40vanderbilt.edu%7C0d584f47009f412f928508da2eb5e097%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637873655948277733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kGnnbF4Y%2B%2BRlrNQXKXLwI6hWQ3W9H%2FYDSCF%2BKs%2FbcrM%3D&reserved=0> Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D8607D.674AE650]
![](https://seccdn.libravatar.org/avatar/d1202478b2dd190560eab808bafaa944.jpg?s=120&d=mm&r=g)
Issue reported: https://github.com/uyuni-project/uyuni/issues/5371 [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/ Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D86085.B75C5C70] From: Victor Zhestkov <Victor.Zhestkov@suse.com> Sent: Thursday, May 5, 2022 12:46 PM To: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu>; General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org> Subject: Re: grub2 Do you see any epoch specified in the channel on Uyuni side? Maybe in the details of the package. For me it sounds like an issue of resolving the updates on server side. If you haven't open an issue on the github about this problem, it's better to do it to make developers aware of it. Victor ________________________________ From: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu>> Sent: Thursday, May 5, 2022 8:41:14 PM To: Victor Zhestkov <Victor.Zhestkov@suse.com<mailto:Victor.Zhestkov@suse.com>>; General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Subject: RE: grub2 OK, our systems are running version 2.02, release 0.81.el7; the CentOS channel in Uyuni shows that there is a version 2.02 release 0.87.el7. Yet when I do a yum list command from one of our servers, all I see is the local installed package - it's not picking up the one on the Uyuni system: [root@libvm21 yum.repos.d]# yum list grub2-2.02* Loaded plugins: fastestmirror, susemanagerplugin, tmprepo, venv-yumnotify Loading mirror speeds from cached hostfile Installed Packages grub2.x86_64 1:2.02-0.81.el7.centos @base [root@libvm21 yum.repos.d]# [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.library.vanderbilt.edu%2F&data=05%7C01%7Cjamen.mcgranahan%40vanderbilt.edu%7Cd5d43ae67afa4c751ef008da2ebf23a4%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637873695718449443%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j%2Fxkz6aajepsf%2BxxPu75dIWZeyihjJnhQo2M40%2Bzrlo%3D&reserved=0> Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D86085.B75C5C70] From: Victor Zhestkov <Victor.Zhestkov@suse.com<mailto:Victor.Zhestkov@suse.com>> Sent: Thursday, May 5, 2022 11:40 AM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu>> Subject: Re: grub2 Looks like something is wrong with the calculation while there is an epoch in the package. Try to check with any of these packages: 1. What is the installed package's EVR (Epoch, Version, Release) 2. What are EVRs of the same package available with the channels assigned to this client 3. What EVRs are shown on the page with suggested updates. Victor ________________________________ From: McGranahan, Jamen (VU) via Uyuni Users <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Sent: Thursday, May 5, 2022 7:32:24 PM To: General discussion related to the openSUSE Uyuni project <users@lists.uyuni-project.org<mailto:users@lists.uyuni-project.org>> Cc: McGranahan, Jamen (VU) <jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu>> Subject: grub2 Most of our CentOS 7 servers are reporting that grub2 package needs to be upgraded, but they all fail to upgrade, giving this error message: comment: |- The following packages failed to install/update: grub2-common=1:2.02-0.87.el7.centos.7, grub2=1:2.02-0.87.el7.centos.7, grub2-pc-modules=1:2.02-0.87.el7.centos.7, grub2-tools-minimal=1:2.02-0.87.el7.centos.7, grub2-pc=1:2.02-0.87.el7.centos.7, grub2-tools=1:2.02-0.87.el7.centos.7, grub2-tools-extra=1:2.02-0.87.el7.centos.7 (code 2) When I manually run yum update on these servers, I get "No packages marked for update". So why is Uyuni reporting that grub2 needs to be updated? [Vanderbilt] Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edu<mailto:jamen.mcgranahan@vanderbilt.edu> | https://www.library.vanderbilt.edu/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.library.vanderbilt.edu%2F&data=05%7C01%7Cjamen.mcgranahan%40vanderbilt.edu%7Cd5d43ae67afa4c751ef008da2ebf23a4%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637873695718605682%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=n6C68348tepFw%2BLG1Efykg64I4WUpMhU%2F9ZUigh%2B4uc%3D&reserved=0> Central Library, 419 21st Avenue South Nashville, TN 37203 Pronouns: he/him/his [cid:image002.png@01D86085.B75C5C70]
participants (2)
-
McGranahan, Jamen (VU)
-
Victor Zhestkov