hi,


On 6/28/20 8:55 PM, Pavel Raiskup wrote:

> On Sunday, June 28, 2020 10:28:34 PM CEST PGNet Dev wrote:

>>      tree /usr/local/LOCAL_REPO/nginx-mainline

>>              /usr/local/LOCAL_REPO/nginx-mainline

>>              ├── compat-luarocks-v3.3.1-1.fc32.x86_64.rpm

>>              └── repodata

>>                  ├── 
>> 1cb61ea996355add02b1426ed4c1780ea75ce0c04c5d1107c025c3fbd7d8bcae-primary.xml.gz

>>                  ├── 
>> 21324a08c18bd53275b5fcd1dd7bc626ed8047f3ac4d26fd0b0d3676a051ce50-primary.sqlite.bz2

>>                  ├── 
>> 87adbcf16161d5539b35e41ab2265b01ad190018e7b02b12455c0b881971e9e5-filelists.sqlite.bz2

>>                  ├── 
>> 95a4415d859d7120efb6b3cf964c07bebbff9a5275ca673e6e74a97bcbfb2a5f-filelists.xml.gz

>>                  ├── 
>> d16e93ab5919df03a0e6dcbc6f544c2cbced38a6f596dbf4187d5d86834eee83-other.sqlite.bz2

>>                  ├── 
>> ef3e20691954c3d1318ec3071a982da339f4ed76967ded668b795c9e070aaab6-other.xml.gz

>>                  └── repomd.xml

> 

> Try to check that createrepo found the RPM (it could be a permission

> problem, e.g.).  Just open the primary.xml.xz file and check the presence.

appears to be there,



mkdir -p /usr/local/LOCAL_REPO/nginx-mainline/



/usr/bin/cp -af \

 /root/rpmbuild/RPMS/x86_64/compat-luarocks-v3.3.1-1.fc32.x86_64.rpm \

 /usr/local/LOCAL_REPO/nginx-mainline/



createrepo --database /usr/local/LOCAL_REPO/nginx-mainline



dnf repolist nginx-mainline-local

        repo id                                                    repo name    
                                              status

        nginx-mainline-local                                       
nginx-mainline-local                                       enabled



dnf info compat-luarocks

        Last metadata expiration check: 0:10:06 ago on Sun 28 Jun 2020 09:06:55 
PM PDT.

        Error: No matching Packages to list



tree /usr/local/LOCAL_REPO/nginx-mainline

        /usr/local/LOCAL_REPO/nginx-mainline

        ├── compat-luarocks-v3.3.1-1.fc32.x86_64.rpm

        └── repodata

            ├── 
2d9495195a9e89684c25996424f9f8344130a7b19d7334437b4a86ea37145d5e-other.sqlite.bz2

            ├── 
3db5633977ea615a4efa66835aa98ca0edd3bff104808309bcf78c22937240fe-primary.xml.gz

            ├── 
4051146de23ed2466396575bd96a5e4adcd8eed4bb6f8fc0ca4f22bc7cb064ed-primary.sqlite.bz2

            ├── 
429e9be876548654d204796857960ff9a4b0758f5570470195c15fbe6619e25c-filelists.sqlite.bz2

            ├── 
7bef78d2322365e4964ef1c2f342bd247fa0ddb5792f0f99131c5ff11b6595a5-filelists.xml.gz

            ├── 
e564a70e23a5042d2aae171b37a3837d5737aec5b62d461d2e85e26fe01ff9a2-other.xml.gz

            └── repomd.xml



        1 directory, 8 files





mkdir ~/tmp

cp -af \

 /usr/local/LOCAL_REPO/nginx-mainline/repodata/*primary.xml.gz \

 ~/tmp/

cd ~/tmp

gunzip *primary.xml.gz

cat  *primary.xml

        <?xml version="1.0" encoding="UTF-8"?>

        <metadata xmlns="http://linux.duke.edu/metadata/common"; 
xmlns:rpm="http://linux.duke.edu/metadata/rpm"; packages="1">

        <package type="rpm">

          <name>compat-luarocks</name>

          <arch>x86_64</arch>

          <version epoch="0" ver="v3.3.1" rel="1.fc32"/>

          <checksum type="sha256" 
pkgid="YES">4da3cffbd467a3feda6b1e13bb369f037efeb4a17fa3b2eb3010fdba4d6acb27</checksum>

          <summary>Lua Module Deployment &amp; Management</summary>

          <description>Lua Module Deployment &amp; Management</description>

          <packager></packager>

          <url>https://github.com/luarocks/luarocks</url>

          <time file="1593403541" build="1593403539"/>

          <size package="155680" installed="704438" archive="723376"/>

          <location href="compat-luarocks-v3.3.1-1.fc32.x86_64.rpm"/>

          <format>

            <rpm:license>MIT</rpm:license>

            <rpm:vendor></rpm:vendor>

            <rpm:group>Unspecified</rpm:group>

            <rpm:buildhost>mx1-dev.presence-group.net</rpm:buildhost>

            <rpm:sourcerpm>compat-luarocks-v3.3.1-1.fc32.src.rpm</rpm:sourcerpm>

            <rpm:header-range start="4504" end="23132"/>

            <rpm:provides>

              <rpm:entry name="compat-luarocks" flags="EQ" epoch="0" 
ver="v3.3.1" rel="1.fc32"/>

              <rpm:entry name="compat-luarocks(x86-64)" flags="EQ" epoch="0" 
ver="v3.3.1" rel="1.fc32"/>

              <rpm:entry name="config(compat-luarocks)" flags="EQ" epoch="0" 
ver="v3.3.1" rel="1.fc32"/>

            </rpm:provides>

            <rpm:requires>

              <rpm:entry name="/bin/sh"/>

              <rpm:entry name="/bin/sh" pre="1"/>

              <rpm:entry name="/bin/sh"/>

              <rpm:entry name="/usr/bin/lua-5.1"/>

              <rpm:entry name="compat-lua" flags="GE" epoch="0" ver="5.1"/>

              <rpm:entry name="compat-lua" flags="LT" epoch="0" ver="5.2"/>

              <rpm:entry name="compat-lua-devel" flags="GE" epoch="0" 
ver="5.1"/>

              <rpm:entry name="compat-lua-devel" flags="LT" epoch="0" 
ver="5.2"/>

              <rpm:entry name="lua-socket-compat"/>

              <rpm:entry name="luajit"/>

              <rpm:entry name="openssl"/>

              <rpm:entry name="unzip"/>

              <rpm:entry name="zip"/>

            </rpm:requires>

            <file>/usr/bin/luarocks</file>

            <file>/usr/bin/luarocks-admin</file>

          </format>

        </package>

        </metadata>




_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/buildsys@lists.fedoraproject.org

Reply via email to