Re: Createrepeo faild with error on Fedora 28

2018-06-22 Thread Danishka Navin
On Fri, Jun 22, 2018 at 9:36 PM, Todd Zullinger  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 -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> 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/
>
>


-- 
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/PIL24KZ3R7PEYHVRFWOR2OWRISA5XYZR/


Re: Createrepeo faild with error on Fedora 28

2018-06-22 Thread 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



signature.asc
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/


Createrepeo faild with error on Fedora 28

2018-06-22 Thread 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.

-- 
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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/CJ7UODICPTUUZLM226ZQEOG444XKYBYD/