i've locally built an rpm on F32 with `rpmbuild`.
it installs fine via `rpm -Uvh`.
i've created/enabled a local repo, cp'd the rpm to the local store, and rebuilt the metadata cache.
'dns' sees the enabled repo, but fails to find my package in local repo, or act on it, e.g., to install.
this is what I see so far:
mkdir -p /usr/local/LOCAL_REPO/nginx-mainline
cp -af \ /root/rpmbuild/RPMS/compat-luarocks-v3.3.1-1.fc32.x86_64.rpm \ /usr/local/LOCAL_REPO/nginx-mainline/
cat /etc/yum.repos.d/nginx-mainline-local.repo [nginx-mainline-local] enabled=1 name=nginx-mainline-local baseurl=file:///usr/local/LOCAL_REPO/nginx-mainline type=rpm gpgcheck=0 repo_gpgcheck=0
createrepo /usr/local/LOCAL_REPO/nginx-mainline
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
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" clean metadata Cache was expired 0 files removed
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" makecache -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync DNF version: 4.2.23 cachedir: /var/cache/dnf Making cache files for all metadata files. nginx-mainline-local: has expired and will be refreshed. repo: downloading from remote: nginx-mainline-local nginx-mainline-local 251 kB/s | 257 B 00:00 nginx-mainline-local: using metadata from Sun 28 Jun 2020 10:42:29 AM PDT. User-Agent: constructed: 'libdnf (Fedora 32; generic; Linux.x86_64)' Completion plugin: Generating completion cache... Metadata cache created.
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:00:27 ago on Sun 28 Jun 2020 12:09:37 PM PDT. Error: No matching Packages to list
can't see it, can't install it :-/
what have I missed in the process?
On Sun, Jun 28, 2020, at 4:28 PM, PGNet Dev wrote:
i've locally built an rpm on F32 with `rpmbuild`.
it installs fine via `rpm -Uvh`.
i've created/enabled a local repo, cp'd the rpm to the local store, and rebuilt the metadata cache.
'dns' sees the enabled repo, but fails to find my package in local repo, or act on it, e.g., to install.
this is what I see so far:
mkdir -p /usr/local/LOCAL_REPO/nginx-mainline
cp -af \ /root/rpmbuild/RPMS/compat-luarocks-v3.3.1-1.fc32.x86_64.rpm \ /usr/local/LOCAL_REPO/nginx-mainline/
cat /etc/yum.repos.d/nginx-mainline-local.repo [nginx-mainline-local] enabled=1 name=nginx-mainline-local baseurl=file:///usr/local/LOCAL_REPO/nginx-mainline type=rpm gpgcheck=0 repo_gpgcheck=0
createrepo /usr/local/LOCAL_REPO/nginx-mainline
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
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" clean metadata Cache was expired 0 files removed
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" makecache -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync DNF version: 4.2.23 cachedir: /var/cache/dnf Making cache files for all metadata files. nginx-mainline-local: has expired and will be refreshed. repo: downloading from remote: nginx-mainline-local nginx-mainline-local 251 kB/s | 257 B 00:00 nginx-mainline-local: using metadata from Sun 28 Jun 2020 10:42:29 AM PDT. User-Agent: constructed: 'libdnf (Fedora 32; generic; Linux.x86_64)' Completion plugin: Generating completion cache... Metadata cache created.
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:00:27 ago on Sun 28 Jun 2020 12:09:37 PM PDT. Error: No matching Packages to list
can't see it, can't install it :-/
what have I missed in the process?
2 guesses, same underlying root cause.
yum module disable nginx then try again
or
pass to yum --setopt=*.module_hotfixes=yes
V/r, James Cassell
hi,
On 6/28/20 2:21 PM, James Cassell wrote:
what have I missed in the process?
2 guesses, same underlying root cause.
yum module disable nginx then try again
or
pass to yum --setopt=*.module_hotfixes=yes
Assuming 'dnf' rather than 'yum'
dnf module disable nginx Last metadata expiration check: 1:24:55 ago on Sun 28 Jun 2020 01:03:21 PM PDT. Dependencies resolved. Nothing to do. Complete!
i'm not clear why disabling 'nginx' modules would have anything to do with my local install of a 'compat-rocks' install ...
dnf clean all dnf info compat-luarocks Last metadata expiration check: 1:25:22 ago on Sun 28 Jun 2020 01:03:21 PM PDT. Error: No matching Packages to list
alas, nope. and, similarly,
dnf --setopt=updates.module_hotfixes=true info compat-luarocks Last metadata expiration check: 0:01:46 ago on Sun 28 Jun 2020 02:30:10 PM PDT. Error: No matching Packages to list
entirely possible that it's pebkac; so far, though, not finding the cause :-/
Dne 28. 06. 20 v 23:35 PGNet Dev napsal(a):
hi,
On 6/28/20 2:21 PM, James Cassell wrote:
what have I missed in the process?
2 guesses, same underlying root cause.
yum module disable nginx then try again
or
pass to yum --setopt=*.module_hotfixes=yes
Assuming 'dnf' rather than 'yum'
dnf module disable nginx Last metadata expiration check: 1:24:55 ago on Sun 28 Jun 2020 01:03:21 PM PDT. Dependencies resolved. Nothing to do. Complete!
i'm not clear why disabling 'nginx' modules would have anything to do with my local install of a 'compat-rocks' install ...
dnf clean all dnf info compat-luarocks Last metadata expiration check: 1:25:22 ago on Sun 28 Jun 2020 01:03:21 PM PDT. Error: No matching Packages to list
alas, nope. and, similarly,
dnf --setopt=updates.module_hotfixes=true info compat-luarocks Last metadata expiration check: 0:01:46 ago on Sun 28 Jun 2020 02:30:10 PM PDT. Error: No matching Packages to list
entirely possible that it's pebkac; so far, though, not finding the cause :-/
I think it's related to modularity as suggested by James. If a module stream is active (enabled or default), it hides all non-module packages with the same name or Provides. See: https://dnf.readthedocs.io/en/latest/modularity.html#package-filtering
Following config change should make your packages visible again: [nginx-mainline-local] ... module_hotfixes=1
On 6/29/20 12:14 AM, Daniel Mach wrote:
I think it's related to modularity as suggested by James. If a module stream is active (enabled or default), it hides all non-module packages with the same name or Provides. See: https://dnf.readthedocs.io/en/latest/modularity.html#package-filtering
Following config change should make your packages visible again: [nginx-mainline-local] ... module_hotfixes=1
i
-- destroyed/recreated the repo -- rebuilt rpm db -- added the
[nginx-mainline-local]
module_hotfixes=1
and
-- increased the priority of my local repo from default/99 -> 90
some combination of the above did the trick.
i can now see/install-from my packages.
i don't know yet specifically what 'modularity' conflict might have been causing a problem.
i did see that if i do _not_ raise the local repo priority, even though 'my' nginx pkg is versioned "1.19.0", the system finds, and displays only the system available "1.18.0". i _thought_ that higher-version would automatically get selected, even in the case of same (=default) repo priorities.
i'll poke around some more, to figure out the specific gotchas.
in any case, it WORKSFORNOW.
thx, all!
now, to wait for needed COPR fixes and push this all there ...
On 6/29/20 9:23 AM, Pavel Raiskup wrote:
On Monday, June 29, 2020 6:05:39 PM CEST PGNet Dev wrote:
now, to wait for needed COPR fixes and push this all there ...
What fixes do you have in mind?
the issue I'd raised in an earlier thread ...
atm copr builds fail as follows, for specs/srpms that build/install OK locally with both rpmbuild & mock,
Warning: Permanently added '34.203.196.140' (ECDSA) to the list of known hosts. Running: /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --build-id 1514384 --detached Version: 0.39 Task: {'build_id': 1514384, 'chroot': None, 'project_dirname': 'nginx-mainline', 'project_name': 'nginx-mainline', 'project_owner': 'pgfed', 'sandbox': 'pgfed/nginx-mainline--pgfed', 'source_json': {'pkg': 'compat-luarocks.spec', 'tmp': 'tmpofy1vp1n', 'url': 'https://copr.fedorainfracloud.org/tmp/tmpofy1vp1n/compat-luarocks.spec%27%7D, 'source_type': 2, 'submitter': 'pgfed', 'task_id': '1514384'}
Running: rpkg srpm --outdir /tmp/copr-rpmbuild-bnx9w8i_ --spec /tmp/copr-rpmbuild-bnx9w8i_/obtain-sources/compat-luarocks.spec
cmd: ['rpkg', 'srpm', '--outdir', '/tmp/copr-rpmbuild-bnx9w8i_', '--spec', '/tmp/copr-rpmbuild-bnx9w8i_/obtain-sources/compat-luarocks.spec'] cwd: /tmp/copr-rpmbuild-bnx9w8i_/obtain-sources rc: 0 stdout: Wrote: /tmp/copr-rpmbuild-bnx9w8i_/compat-luarocks.spec Packaging variables read or set by %forgemeta forgeurl: https://github.com/luarocks/luarocks forgesource: https://github.com/luarocks/luarocks/archive/v3.3.1/luarocks-3.3.1.tar.gz forgesetupargs: -n luarocks-3.3.1 archivename: luarocks-3.3.1 archiveext: tar.gz archiveurl: https://github.com/luarocks/luarocks/archive/v3.3.1/luarocks-3.3.1.tar.gz topdir: luarocks-3.3.1 extractdir: luarocks-3.3.1 repo: luarocks scm: git tag: v3.3.1 version: v3.3.1 dist: .fc31 (snapshot date is either manually supplied or computed once %{_sourcedir}/%{archivename}.%{archiveext} is available) stderr: error: No compatible architectures found for build can't parse specfile
Output: ['compat-luarocks.spec']
NOTE both
dist: .fc31
and
stderr: error: No compatible architectures found for build
despite explicitly setting
BuildArch: x86_64 ^^^^^^
in the spec, and
copr-cli create --chroot fedora-32-x86_64 ... ^^
at project creation
On Monday, June 29, 2020 11:23:21 PM CEST PGNet Dev wrote:
On 6/29/20 9:23 AM, Pavel Raiskup wrote:
On Monday, June 29, 2020 6:05:39 PM CEST PGNet Dev wrote:
now, to wait for needed COPR fixes and push this all there ...
What fixes do you have in mind?
the issue I'd raised in an earlier thread ...
Hmm, I don't see BuildArch problems mentioned anywhere :-( but I may be missing something. Please report _copr_ issues in [1] or on copr-devel list [2].
atm copr builds fail as follows, for specs/srpms that build/install OK locally with both rpmbuild & mock, ... stderr: error: No compatible architectures found for build can't parse specfile
You may get either x86_64 or aarch64 builders at this moment for your source build (and we are waiting for ppc64le to be re-assembled so we can use them, too). ...
despite explicitly setting
BuildArch: x86_64
... But by this statement you _declare_ a build failure on any non-x86_64 architecture. This is something you probably never want (I checked Fedora packages, and none of ~22k packages uses this).
[1] https://pagure.io/copr/copr/issues [2] https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted....
Pavel
On 6/29/20 11:25 PM, Pavel Raiskup wrote:
Hmm, I don't see BuildArch problems mentioned anywhere :-( but I may be missing something. Please report _copr_ issues in [1] or on copr-devel list [2].
i was referring to this already posted thread _@_ copr-devel list
https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted....
where i'd mentioned
> dist: .gitrelease.1.19.0.fc31 > > -- note the "fc31", even though the repo settings at > > https://copr.fedorainfracloud.org/coprs/pgfed/nginx-mainline/edit/ > > explicitly set/select the fc32
to that^ thread, .you had responded
"First, this is wrong. We shouldn't use 'rpkg' on host for this task, perhaps we should just use 'mock --buildsrpm --enable-network' here."
You may get either x86_64 or aarch64 builders at this moment for your source build (and we are waiting for ppc64le to be re-assembled so we can use them, too). ...
noted, thx
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.
Pavel
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" clean metadata Cache was expired 0 files removed
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" makecache -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync DNF version: 4.2.23 cachedir: /var/cache/dnf Making cache files for all metadata files. nginx-mainline-local: has expired and will be refreshed. repo: downloading from remote: nginx-mainline-local nginx-mainline-local 251 kB/s | 257 B 00:00 nginx-mainline-local: using metadata from Sun 28 Jun 2020 10:42:29 AM PDT. User-Agent: constructed: 'libdnf (Fedora 32; generic; Linux.x86_64)' Completion plugin: Generating completion cache... Metadata cache created.
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:00:27 ago on Sun 28 Jun 2020 12:09:37 PM PDT. Error: No matching Packages to list
can't see it, can't install it :-/
what have I missed in the process? _______________________________________________ buildsys mailing list -- buildsys@lists.fedoraproject.org To unsubscribe send an email to buildsys-leave@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.o...
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 & Management</summary>
<description>Lua Module Deployment & 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:licenseMIT</rpm:license>
rpm:vendor</rpm:vendor>
rpm:groupUnspecified</rpm:group>
rpm:buildhostmx1-dev.presence-group.net</rpm:buildhost>
rpm:sourcerpmcompat-luarocks-v3.3.1-1.fc32.src.rpm</rpm:sourcerpm>
<rpm:header-range start="4504" end="23132"/>
<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: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>
On Sun, 2020-06-28 at 13:28 -0700, PGNet Dev wrote:
i've locally built an rpm on F32 with `rpmbuild`.
it installs fine via `rpm -Uvh`.
i've created/enabled a local repo, cp'd the rpm to the local store, and rebuilt the metadata cache.
'dns' sees the enabled repo, but fails to find my package in local repo, or act on it, e.g., to install.
this is what I see so far:
mkdir -p /usr/local/LOCAL_REPO/nginx-mainline
cp -af \ /root/rpmbuild/RPMS/compat-luarocks-v3.3.1-1.fc32.x86_64.rpm \ /usr/local/LOCAL_REPO/nginx-mainline/
cat /etc/yum.repos.d/nginx-mainline-local.repo [nginx-mainline-local] enabled=1 name=nginx-mainline-local baseurl=file:///usr/local/LOCAL_REPO/nginx-mainline type=rpm gpgcheck=0 repo_gpgcheck=0
createrepo /usr/local/LOCAL_REPO/nginx-mainline
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
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" clean metadata Cache was expired 0 files removed
dnf --disablerepo="*" --enablerepo="nginx-mainline-local" makecache -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync DNF version: 4.2.23 cachedir: /var/cache/dnf Making cache files for all metadata files. nginx-mainline-local: has expired and will be refreshed. repo: downloading from remote: nginx-mainline-local nginx-mainline-local 251 kB/s | 257 B 00:00 nginx-mainline-local: using metadata from Sun 28 Jun 2020 10:42:29 AM PDT. User-Agent: constructed: 'libdnf (Fedora 32; generic; Linux.x86_64)' Completion plugin: Generating completion cache... Metadata cache created.
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:00:27 ago on Sun 28 Jun 2020 12:09:37 PM PDT. Error: No matching Packages to list
can't see it, can't install it :-/
what have I missed in the process?
dnf --disablerepo='*' --enablerepo=abc -- repofrompath=abc,/var/lib/mock/fedora-31-x86_64/result --refresh -- nogpg update
works for me
buildsys mailing list -- buildsys@lists.fedoraproject.org To unsubscribe send an email to buildsys-leave@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.o...
buildsys@lists.fedoraproject.org