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-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 -- Sérgio M. B. _______________________________________________ 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