I switched to using Remi repo for php8 as suggested at the last meeting. It's all great (pretty easy to change from IUS to Remi, too!) except now cron.hourly gives me this every hour:
/etc/cron.hourly/0yum-hourly.cron:
Not using downloaded remi-php80/repomd.xml because it is older than what we have: Current : Mon Nov 28 01:24:53 2022 Downloaded: Wed Nov 23 03:16:18 2022 Not using downloaded remi-safe/repomd.xml because it is older than what we have: Current : Mon Nov 28 01:20:57 2022 Downloaded: Wed Nov 23 03:18:00 2022
Never seen that before. Something wrong with Remi? Or something on my side? Net hasn't been much help.
This is a RHEL7 box.
I’m surprised that you haven’t seen that before, since it’s a fairly common occurrence on RHEL7 systems. I’m also surprised a net search also came up empty... Maybe EL7 is just getting too old to be relevant.
Anyway this is the command you need:
yum clean all
Might be good to do before the update runs in cron, if this comes up again.
Gilbert Sent from my iPad
On Nov 29, 2022, at 01:34, Trevor Cordes trevor@tecnopolis.ca wrote:
I switched to using Remi repo for php8 as suggested at the last meeting. It's all great (pretty easy to change from IUS to Remi, too!) except now cron.hourly gives me this every hour:
/etc/cron.hourly/0yum-hourly.cron:
Not using downloaded remi-php80/repomd.xml because it is older than what we have: Current : Mon Nov 28 01:24:53 2022 Downloaded: Wed Nov 23 03:16:18 2022 Not using downloaded remi-safe/repomd.xml because it is older than what we have: Current : Mon Nov 28 01:20:57 2022 Downloaded: Wed Nov 23 03:18:00 2022
Never seen that before. Something wrong with Remi? Or something on my side? Net hasn't been much help.
This is a RHEL7 box. _______________________________________________ Roundtable mailing list Roundtable@muug.ca https://muug.ca/mailman/listinfo/roundtable
On 2022-11-29 Gilbert Detillieux wrote:
I’m surprised that you haven’t seen that before, since it’s a fairly common occurrence on RHEL7 systems. I’m also surprised a net search also came up empty... Maybe EL7 is just getting too old to be relevant.
Anyway this is the command you need:
yum clean all
Might be good to do before the update runs in cron, if this comes up again.
Ya, but if you run that every hour then yum will need to d/l the full 100MB+ of metadata files every hour? I guess it's RS's problem, not mine, but still...
On 2022-11-29 Adam Thompson wrote:
That's a problem with a Remi mirror site. What hostname are you pointed at? -Adam
mirrorlist=http://cdn.remirepo.net/enterprise/7/safe/mirror
Looks like it'll do the auto-mirror-selection thing.
I was thinking maybe instead of a yum clean I could do a touch on the file it's complaining about to make it "older", then yum will just redownload *just* Remi.
Oh no, do not just touch(1) an RPM metadata file, that way lies the lair of dark Chtulu, the very sight of whom induces madness... (Source: tried that once, oh dear god what a mess it made until I nuked my entire rpm db from orbit.)
But I think you can clean one repo at a time. And/or *deleting* the repo metadata file should work, too.
-Adam
Get Outlook for Androidhttps://aka.ms/AAb9ysg ________________________________ From: Roundtable roundtable-bounces@muug.ca on behalf of Trevor Cordes trevor@tecnopolis.ca Sent: Tuesday, November 29, 2022 8:20:29 PM To: roundtable@muug.ca roundtable@muug.ca Subject: Re: [RndTbl] Remi repo bug?
On 2022-11-29 Gilbert Detillieux wrote:
I’m surprised that you haven’t seen that before, since it’s a fairly common occurrence on RHEL7 systems. I’m also surprised a net search also came up empty... Maybe EL7 is just getting too old to be relevant.
Anyway this is the command you need:
yum clean all
Might be good to do before the update runs in cron, if this comes up again.
Ya, but if you run that every hour then yum will need to d/l the full 100MB+ of metadata files every hour? I guess it's RS's problem, not mine, but still...
On 2022-11-29 Adam Thompson wrote:
That's a problem with a Remi mirror site. What hostname are you pointed at? -Adam
mirrorlist=http://cdn.remirepo.net/enterprise/7/safe/mirror
Looks like it'll do the auto-mirror-selection thing.
I was thinking maybe instead of a yum clean I could do a touch on the file it's complaining about to make it "older", then yum will just redownload *just* Remi.
_______________________________________________ Roundtable mailing list Roundtable@muug.ca https://muug.ca/mailman/listinfo/roundtable
On 2022-11-30 Adam Thompson wrote:
Oh no, do not just touch(1) an RPM metadata file, that way lies the lair of dark Chtulu, the very sight of whom induces madness... (Source: tried that once, oh dear god what a mess it made until I nuked my entire rpm db from orbit.)
But I think you can clean one repo at a time. And/or *deleting* the repo metadata file should work, too.
Ok, I took your word for it. I have enough problems with Chtulu already.
After toying around I found that this works to suppress the errors:
/etc/cron.daily/0yum-daily.cron
yum --disablerepo * --enablerepo remi-safe clean metadata >/dev/null 2>&1 yum --disablerepo * --enablerepo remi-php80 clean metadata >/dev/null 2>&1 exec /usr/sbin/yum-cron
(and a similar addition to 0yum-hourly.cron)
Thanks all
That's a problem with a Remi mirror site. What hostname are you pointed at? -Adam
-----Original Message----- From: Roundtable roundtable-bounces@muug.ca On Behalf Of Trevor Cordes Sent: Tuesday, November 29, 2022 1:34 AM To: MUUG RndTbl roundtable@muug.ca Subject: [RndTbl] Remi repo bug?
I switched to using Remi repo for php8 as suggested at the last meeting. It's all great (pretty easy to change from IUS to Remi, too!) except now cron.hourly gives me this every hour:
/etc/cron.hourly/0yum-hourly.cron:
Not using downloaded remi-php80/repomd.xml because it is older than what we have: Current : Mon Nov 28 01:24:53 2022 Downloaded: Wed Nov 23 03:16:18 2022 Not using downloaded remi-safe/repomd.xml because it is older than what we have: Current : Mon Nov 28 01:20:57 2022 Downloaded: Wed Nov 23 03:18:00 2022
Never seen that before. Something wrong with Remi? Or something on my side? Net hasn't been much help.
This is a RHEL7 box. _______________________________________________ Roundtable mailing list Roundtable@muug.ca https://muug.ca/mailman/listinfo/roundtable