I’ve cobbled together the PHP 8.3.6 RPMs I need for my kickstart installation from Remi using dnf --downloadonly, but as I’m learning, these are modular RPMs and using my createrepo command:
createrepo -u “http://172.31.255.5/ks” -g /var/www/html/ks/build/rocky9-PHP8.3.xml /var/www/html/ks
is apparently not including the metadata for the modular PHP 8.3 Remi rpms I’ve added. I’d really like the build to include all the packages required and not have to pull them from remi each time.
Here is the anaconda log error:
anaconda 34.25.3.8 exception report
Traceback (most recent call first):
File “/usr/lib64/python3.9/site-packages/pyanaconda/payload/dnf/payload.py”, line 910, in install
raise PayloadError(msg)
File “/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py”, line 458, in run_task
self._task(*self._task_args, **self._task_kwargs)
File “/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py”, line 496, in start
self.run_task()
File “/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py”, line 311, in start
item.start()
File “/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py”, line 311, in start
item.start()
File “/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py”, line 311, in start
item.start()
File “/usr/lib64/python3.9/site-packages/pyanaconda/installation.py”, line 399, in run_installation
queue.start()
File “/usr/lib64/python3.9/threading.py”, line 917, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib64/python3.9/site-packages/pyanaconda/threading.py”, line 275, in run
threading.Thread.run(self)
pyanaconda.payload.errors.PayloadError: Payload error - DNF installation has ended up abruptly: No available modular metadata for modular packageTraceback (most recent call last):
File “/usr/lib64/python3.9/site-packages/pyanaconda/payload/dnf/utils.py”, line 105, in do_transaction
base.do_transaction(display=display)
File “/usr/lib/python3.9/site-packages/dnf/base.py”, line 977, in do_transaction
self.transaction._populate_rpm_ts(self._ts)
File “/usr/lib/python3.9/site-packages/dnf/db/group.py”, line 361, in populate_rpm_ts
raise dnf.exceptions.Error((“No available modular metadata for modular package”))
dnf.exceptions.Error: No available modular metadata for modular package
packaging.log:
packaging.log:20:31:57,527 CRT dnf: No available modular metadata for modular package ‘php-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,528 CRT dnf: No available modular metadata for modular package ‘php-cli-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,528 CRT dnf: No available modular metadata for modular package ‘php-common-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,528 CRT dnf: No available modular metadata for modular package ‘php-fpm-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,529 CRT dnf: No available modular metadata for modular package ‘php-intl-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,529 CRT dnf: No available modular metadata for modular package ‘php-ldap-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,529 CRT dnf: No available modular metadata for modular package ‘php-mbstring-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,529 CRT dnf: No available modular metadata for modular package ‘php-mysqlnd-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,530 CRT dnf: No available modular metadata for modular package ‘php-opcache-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,530 CRT dnf: No available modular metadata for modular package ‘php-pdo-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,530 CRT dnf: No available modular metadata for modular package ‘php-pecl-yaml-2.2.3-3.el9.remi.8.3.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,530 CRT dnf: No available modular metadata for modular package ‘php-process-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,530 CRT dnf: No available modular metadata for modular package ‘php-sodium-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
packaging.log:20:31:57,531 CRT dnf: No available modular metadata for modular package ‘php-xml-8.3.6-1.el9.remi.x86_64’, it cannot be installed on the system
Thanks in advance!