Re: Createrepeo faild with error on Fedora 28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Jun 22, 2018 at 9:36 PM, Todd Zullinger <tmz@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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/




--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/PIL24KZ3R7PEYHVRFWOR2OWRISA5XYZR/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux