Re: [uyuni-users] Repository confirmation question
Hi Steve, I guess so... Do you suspect a package is missing from Uyuni that is in the repos ? Best Regards, Strahil NikolovOn Sep 6, 2019 15:44, Steve Moring <smoring@dgsllc.biz> wrote:
Strahil,
On Thu, 2019-09-05 at 19:53 +0000, Strahil Nikolov wrote:
With rpm-based repos, you got repodata having the necessary data. As this is the update repo , you can do the following:
uyuni:/tmp # curl -s 'http://mirrors.xgroup.si/opensuse/update/leap/15.1/oss/repodata/17a 7ddeb6d5c2e697c1f4fb18d29ff91d9e290d61a65933f5955abaa9e9f15f7- updateinfo.xml.gz' | gunzip -d - | grep 'package name' | grep 'arch="x86_64"' | wc -l
Thank you.
In my case it shows 3337 packages of arch x86_64
I can understand some differences between repo's, your repo may not be as current as another (the download.opensuse.org shows 3338 according to uyuni).
What I'm baffled by is why there would be such a disparity between the repodata and the actual html listing the rpms. Guessing that this is due to package dependencies?
Maybe I'm using the wrong xml ... if so , do not hesitate to correct me.
Best Regards, Strahil Nikolov
N�����r��y隊[��x������칻�&ޢ��������'��-���w�zf��쮞+�z�>� ޮ�^�ˬz��
Strahil, On Sat, 2019-09-07 at 09:11 +0300, Strahil wrote:
I guess so... Do you suspect a package is missing from Uyuni that is in the repos ?
No, but I've been burned in the past just assuming that things match. If I change the repo's back to the download.opensuse.org versions, issue zypper up, count the updates - they match, so I feel better, however it would be really nice to know how far out of sync my uyuni server is or to have a way to check this. -Steve -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
On September 10, 2019 8:57:05 PM GMT+03:00, Steve Moring <smoring@dgsllc.biz> wrote:
Strahil,
On Sat, 2019-09-07 at 09:11 +0300, Strahil wrote:
I guess so... Do you suspect a package is missing from Uyuni that is in the repos ?
No, but I've been burned in the past just assuming that things match.
If I change the repo's back to the download.opensuse.org versions, issue zypper up, count the updates - they match, so I feel better, however it would be really nice to know how far out of sync my uyuni server is or to have a way to check this.
-Steve
If it fails to keep uyuni's repos in sync with official channels - that would be a bug and by design it should never happen. Keep in mind that Uyuni/SUMA is based on spacewalk, which is quite mature project. The only thing you should worry is sync of debian/ubuntu repos - as this is quite new. P.S.: In the same logic , how can you be sure that zypper/yum is reading the repos properly from the public channels ? Best Regards, Strahil Nikolov -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
participants (3)
-
Steve Moring
-
Strahil
-
Strahil Nikolov