Hi,
Danishka Navin wrote:
I noticed that createrepo failed on Fedora 28 under SELinux
permissive as
well.
createrepo /data/dist/localrepo/h28/norach/
Spawning worker 0 with 1 pkgs
Spawning worker 1 with 1 pkgs
Worker 0: Error: Could not open local rpm file:
/data/dist/localrepo/h28/norach//generic-logos-18.0.0-900.fc28.noarch.rpm:
RPM Error opening Package
Worker 1: Error: Could not open local rpm file:
/data/dist/localrepo/h28/norach//generic-logos-httpd-18.0.0-900.fc28.noarch.rpm:
RPM Error opening Package
Workers Finished
Failed to process 2 package(s).
[root@hanthana localrepo]# ls -l /data/dist/localrepo/h28/norach/
total 12
-rw-r--r--. 1 root root 131 Jun 22 21:09
generic-logos-18.0.0-900.fc28.noarch.rpm
-rw-r--r--. 1 root root 130 Jun 22 21:09
generic-logos-httpd-18.0.0-900.fc28.noarch.rpm
drwxr-xr-x. 2 root root 4096 Jun 22 21:14 repodata
Are those packages valid rpm's? The sizes look way too
small, particularly for logo packages. Check that rpm can
parse them, using rpm -K or another rpm query command.
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The trouble with being punctual is that nobody's there to appreciate
it.
-- Franklin P. Jones