Createrepeo faild with error on Fedora 28

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Createrepeo faild with error on Fedora 28

Danishka Navin
Hi,

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

Appreciate if someone can support.

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@.../message/CJ7UODICPTUUZLM226ZQEOG444XKYBYD/
Reply | Threaded
Open this post in threaded view
|

Re: Createrepeo faild with error on Fedora 28

Todd Zullinger
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


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@.../message/3Z7RHP3DVZ3LFY2QDWPXMVV7JEIKDNHU/

signature.asc (555 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Createrepeo faild with error on Fedora 28

Danishka Navin


On Fri, Jun 22, 2018 at 9:36 PM, Todd Zullinger <[hidden email]> wrote:
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.


Thanks Todd!
Seems issue is with rpms.

[root@hanthana localrepo]# rpm -K /data/dist/localrepo/h28/norach//generic-logos-18.0.0-900.fc28.noarch.rpm
/data/dist/localrepo/h28/norach//generic-logos-18.0.0-900.fc28.noarch.rpm: NOT OK
[root@hanthana localrepo]# rpm -K  /data/dist/localrepo/h28/norach//generic-logos-httpd-18.0.0-900.fc28.noarch.rpm
/data/dist/localrepo/h28/norach//generic-logos-httpd-18.0.0-900.fc28.noarch.rpm: NOT OK
[root@hanthana localrepo]#


--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The trouble with being punctual is that nobody's there to appreciate
it.
    -- Franklin P. Jones


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/3Z7RHP3DVZ3LFY2QDWPXMVV7JEIKDNHU/




--

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@.../message/PIL24KZ3R7PEYHVRFWOR2OWRISA5XYZR/