Fresh Rocky 10 installation - fails at modpagespeed

[root@apiscptest02 ~]# tail -f /root/apnscp-bootstrapper.log
2025-11-11 11:35:36,125 p=376901 u=root n=ansible | TASK [common/update-config : Prune requiretty from /etc/sudoers] ***************
2025-11-11 11:35:36,166 p=376901 u=root n=ansible | ok: [localhost]
2025-11-11 11:35:36,181 p=376901 u=root n=ansible | TASK [common/update-config : Install yum-utils] ********************************
2025-11-11 11:35:36,199 p=376901 u=root n=ansible | skipping: [localhost]
2025-11-11 11:35:36,214 p=376901 u=root n=ansible | TASK [common/update-config : Cleanup incomplete transactions] ******************
2025-11-11 11:35:36,231 p=376901 u=root n=ansible | skipping: [localhost]
2025-11-11 11:35:36,245 p=376901 u=root n=ansible | TASK [common/update-config : CentOS 8+ package management] *********************
2025-11-11 11:35:50,557 p=376901 u=root n=ansible | fatal: [localhost]: FAILED! => {“attempts”: 2, “changed”: true, “cmd”: [“dnf”, “remove”, “-y”, “–duplicates”, “–setopt=protected_packages=”], “delta”: “0:00:00.969261”, “end”: “2025-11-11 11:35:50.544429”, “failed_when_result”: true, “msg”: “non-zero return code”, “rc”: 1, “start”: “2025-11-11 11:35:49.575168”, “stderr”: “Errors during downloading metadata for repository ‘mod-pagespeed’:\n - Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 142.250.185.142)\nError: Failed to download metadata for repo ‘mod-pagespeed’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried”, “stderr_lines”: [“Errors during downloading metadata for repository ‘mod-pagespeed’:”, " - Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 142.250.185.142)", “Error: Failed to download metadata for repo ‘mod-pagespeed’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried”], “stdout”: "mod-pagespeed 3.1 kB/s | 1.4 kB 00:00 ", “stdout_lines”: ["mod-pagespeed 3.1 kB/s | 1.4 kB 00:00 "]}
2025-11-11 11:35:50,561 p=376901 u=root n=ansible | PLAY RECAP *********************************************************************
2025-11-11 11:35:50,561 p=376901 u=root n=ansible | localhost : ok=20 changed=0 unreachable=0 failed=1 skipped=23 rescued=0 ignored=0

Thanks for the bug report, fixed.

valkey-compat-redis moved to rocky-plus repo. Redis cannot initialize from backend resulting in an install loop. What’s reported is irrelevant; this gets cleaned up during install.

In these situations, grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log provides more relevant details than a trailing logfile.

Still fails?

2025-11-14 13:25:53,836 p=375537 u=root n=ansible | fatal: [localhost]: FAILED! => {“attempts”: 2, “changed”: true, “cmd”: [“dnf”, “remove”, “-y”, “–dup licates”, “–setopt=protected_packages=”], “delta”: “0:00:00.539400”, “end”: “2025-11-14 13:25:53.823484”, “failed_when_result”: true, “msg”: “non-zero r eturn code”, “rc”: 1, “start”: “2025-11-14 13:25:53.284084”, “stderr”: “Errors during downloading metadata for repository ‘mod-pagespeed’:\n - Curl erro r (7): Could not connect to server for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml [Failed to connect to dl.google.com port 80 after 0 ms: Could not connect to server]\n - Curl error (7): Could not connect to server for http://dl.google.com/linux/mod-pagespeed/rpm/stabl e/x86_64/repodata/repomd.xml [Failed to connect to dl.google.com port 80 after 6 ms: Could not connect to server]\nError: Failed to download metadata for repo ‘mod-pagespeed’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried”, “stderr_lines”: [“Errors during download ing metadata for repository ‘mod-pagespeed’:”, " - Curl error (7): Could not connect to server for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x 86_64/repodata/repomd.xml [Failed to connect to dl.google.com port 80 after 0 ms: Could not connect to server]“, " - Curl error (7): Could not connect t o server for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml [Failed to connect to dl.google.com port 80 after 6 ms: Could not connect to server]”, “Error: Failed to download metadata for repo ‘mod-pagespeed’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried”], “stdout”: "mod-pagespeed 0.0 B/s | 0 B 00:00 ", “stdout_lines”: ["mod-pagespeed 0.0 B/s | 0 B 00:00 "]}
2025-11-14 13:25:53,840 p=375537 u=root n=ansible | PLAY RECAP *********************************************************************
2025-11-14 13:25:53,840 p=375537 u=root n=ansible | localhost : ok=20 changed=0 unreachable=0 failed=1 skipped=23 rescued=0 ignored=0


[root@apiscptest02 ~]#  grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log
2025-11-14 13:25:06,801 p=976 u=root n=dnf.[fork.375013] | repo: using cache for: mariadb
2025-11-14 13:25:06,809 p=976 u=root n=dnf.[fork.375013] | mariadb: using metadata from Thu Nov  6 00:10:28 2025.
2025-11-14 13:25:06,815 p=976 u=root n=dnf.[fork.375013] | repo: downloading from remote: mod-pagespeed
2025-11-14 13:25:06,982 p=976 u=root n=librepo.[fork.375013] | Downloading: http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml
2025-11-14 13:25:07,055 p=976 u=root n=librepo.[fork.375013] | Error during transfer: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78)
2025-11-14 13:25:07,055 p=976 u=root n=dnf.[fork.375013] | error: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78) (http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml).
2025-11-14 13:25:07,056 p=976 u=root n=librepo.[fork.375013] | Downloading: http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml
2025-11-14 13:25:07,056 p=976 u=root n=librepo.[fork.375013] | Error during transfer: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78)
2025-11-14 13:25:07,056 p=976 u=root n=dnf.[fork.375013] | error: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78) (http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml).
2025-11-14 13:25:07,156 p=976 u=root n=librepo.[fork.375013] | Downloading: http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml
2025-11-14 13:25:07,207 p=976 u=root n=librepo.[fork.375013] | Error during transfer: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78)
2025-11-14 13:25:07,207 p=976 u=root n=dnf.[fork.375013] | error: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78) (http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml).
2025-11-14 13:25:07,207 p=976 u=root n=librepo.[fork.375013] | Downloading: http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml
2025-11-14 13:25:07,207 p=976 u=root n=librepo.[fork.375013] | Error during transfer: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78)
2025-11-14 13:25:07,208 p=976 u=root n=dnf.[fork.375013] | error: Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78) (http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml).
2025-11-14 13:25:07,208 p=976 u=root n=librepo.[fork.375013] | Error while downloading: Cannot download repodata/repomd.xml: All mirrors were tried
2025-11-14 13:25:07,209 p=976 u=root n=dnf.[fork.375013] | Errors during downloading metadata for repository 'mod-pagespeed':
  - Status code: 404 for http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64/repodata/repomd.xml (IP: 216.58.206.78)
2025-11-14 13:25:07,221 p=971 u=root n=ansible | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'mod-pagespeed': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}
2025-11-14 13:25:07,223 p=971 u=root n=ansible | PLAY RECAP *********************************************************************
2025-11-14 13:25:07,223 p=971 u=root n=ansible | localhost                  : ok=1162 changed=404  unreachable=0    failed=1    skipped=373  rescued=1    ignored=12
[root@apiscptest02 ~]#
dnf config-manager --set-disabled mod-pagespeed

This will take care of it for you.